MCPcopy Create free account
hub / github.com/Kitware/VTK / AllocateTable

Method AllocateTable

Rendering/VolumeOpenGL2/vtkOpenGLVolumeLookupTable.cxx:171–175  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected