------------------------------------------------------------------------------
| 169 | |
| 170 | //------------------------------------------------------------------------------ |
| 171 | void vtkOpenGLVolumeLookupTable::AllocateTable() |
| 172 | { |
| 173 | delete[] this->Table; |
| 174 | this->Table = new float[this->TextureWidth * this->TextureHeight * this->NumberOfColorComponents]; |
| 175 | } |
| 176 | |
| 177 | //------------------------------------------------------------------------------ |
| 178 | bool vtkOpenGLVolumeLookupTable::NeedsUpdate(vtkObject* func, double scalarRange[2], |