Feature/other data star renderer (#770)

* Adding ability to render other data values from Star speck files
 * Add new method to OptionProperty to take vector of options
 * Make it possible to change the speck file at runtime
 * Include viridis color lut
 * Add Apogee and Galah datasets
 * Make it possible to filter stars by other data values
 * Add ability to statically filter data values
This commit is contained in:
Alexander Bock
2018-11-20 11:53:20 -05:00
committed by GitHub
parent bff4646d9f
commit 3d90ea194a
9 changed files with 596 additions and 234 deletions

View File

@@ -102,13 +102,21 @@ public:
void addOption(int value, std::string desc);
/**
* Adds multiple options to the OptionProperty. Each value in the vector consists of
* an integer value and a string description.
*
* \param options Pairs of <option, description> that are added to the OptionProperty
*/
* Adds multiple options to the OptionProperty. Each value in the vector consists of
* an integer value and a string description.
*
* \param options Pairs of <option, description> that are added to the OptionProperty
*/
void addOptions(std::vector<std::pair<int, std::string>> options);
/**
* Adds multiple options to the OptionProperty. Each value in the vector is assigned
* to its location.
*
* \param options A list of options that should be added to the OptionProperty
*/
void addOptions(std::vector<std::string> options);
/**
* Returns the list of available options.
*