mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user