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
+6
View File
@@ -80,6 +80,12 @@ void OptionProperty::addOptions(std::vector<std::pair<int, std::string>> options
}
}
void OptionProperty::addOptions(std::vector<std::string> options) {
for (int i = 0; i < static_cast<int>(options.size()); ++i) {
addOption(i, std::move(options[i]));
}
}
void OptionProperty::clearOptions() {
_options.clear();
_value = 0;