diff --git a/Applications/DataExplorer/VtkVis/VtkColorLookupTable.cpp b/Applications/DataExplorer/VtkVis/VtkColorLookupTable.cpp index 818d881aa783a0d60e69e4f88965c5cb568641cb..8a59a9bacf1711f87c7b0a38ecbb521316e43155 100644 --- a/Applications/DataExplorer/VtkVis/VtkColorLookupTable.cpp +++ b/Applications/DataExplorer/VtkVis/VtkColorLookupTable.cpp @@ -71,7 +71,7 @@ void VtkColorLookupTable::Build() double val = (it->first < range[0]) ? range[0] : ((it->first > range[1]) ? range[1] : it->first); nextIndex = static_cast<std::size_t>( std::floor(val-range[0]) ); - this->SetTableValue(nextIndex, it->second); + this->SetTableValueRGBA(nextIndex, it->second); if ( nextIndex - lastValue.first > 0 ) for (std::size_t i = lastValue.first + 1; i < nextIndex; i++) @@ -89,7 +89,7 @@ void VtkColorLookupTable::Build() for (std::size_t j = 0; j < 4; j++) int_rgba[j] = (lastValue.second)[j]; - this->SetTableValue(i, int_rgba); + this->SetTableValueRGBA(i, int_rgba); } lastValue.first = nextIndex; @@ -119,7 +119,7 @@ void VtkColorLookupTable::writeToFile(const std::string &filename) out.close(); } -void VtkColorLookupTable::SetTableValue(vtkIdType idx, unsigned char rgba[4]) +void VtkColorLookupTable::SetTableValueRGBA(vtkIdType idx, unsigned char rgba[4]) { double value[4]; diff --git a/Applications/DataExplorer/VtkVis/VtkColorLookupTable.h b/Applications/DataExplorer/VtkVis/VtkColorLookupTable.h index ebbfc9a8350e65815a5b1194f6ad637024e02671..adf56d829b3fac3131fe7fb1d6a91bec710f0ed0 100644 --- a/Applications/DataExplorer/VtkVis/VtkColorLookupTable.h +++ b/Applications/DataExplorer/VtkVis/VtkColorLookupTable.h @@ -76,7 +76,7 @@ public: void writeToFile(const std::string &filename); /// Set a value within the LUT - void SetTableValue(vtkIdType idx, unsigned char rgba[4]); + void SetTableValueRGBA(vtkIdType idx, unsigned char rgba[4]); /// Get a value from the LUT void GetTableValue(vtkIdType idx, unsigned char rgba[4]);