mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Removed unnecessary code
This commit is contained in:
@@ -217,8 +217,8 @@ void DataPlane::readHeader(){
|
||||
std::string option;
|
||||
while(ss >> option){
|
||||
if(option != "x" && option != "y" && option != "z"){
|
||||
_dataOptions.addOption({numDataOptions, name()+"_"+option});
|
||||
numDataOptions++;
|
||||
_dataOptions.addOption({numOptions, name()+"_"+option});
|
||||
numOptions++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -314,10 +314,6 @@ float* DataPlane::readData(){
|
||||
|
||||
for(int i=0; i< numValues; i++){
|
||||
if(_useRGB.value() && (optionValues.size() <= 3)){
|
||||
combinedValues[3*i+0] = 0;
|
||||
combinedValues[3*i+1] = 0;
|
||||
combinedValues[3*i+2] = 0;
|
||||
|
||||
for(int j=0; j<optionValues.size(); j++){
|
||||
|
||||
float v = optionValues[j][i];
|
||||
|
||||
@@ -64,9 +64,6 @@ class DataPlane : public CygnetPlane {
|
||||
// properties::Vec2Property _tfValues;
|
||||
|
||||
glm::size3_t _dimensions;
|
||||
int numDataValues;
|
||||
int numDataOptions = 0;
|
||||
|
||||
// std::shared_ptr<ColorBar> _colorbar;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user