24 #ifndef vtkOpenGLVolumeLookupTable_h
25 #define vtkOpenGLVolumeLookupTable_h
28 #include "vtkRenderingVolumeOpenGL2Module.h"
64 void ReleaseGraphicsResources(
vtkWindow* window);
69 virtual void Update(
vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance,
75 vtkGetMacro(TextureHeight,
int);
80 vtkGetMacro(TextureWidth,
int);
86 double LastRange[2] = { 0.0, 0.0 };
87 float* Table =
nullptr;
88 int LastInterpolation = -1;
89 int NumberOfColorComponents = 1;
90 int TextureWidth = 1024;
91 int TextureHeight = 1;
98 virtual bool NeedsUpdate(
99 vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance);
104 virtual void InternalUpdate(
105 vtkObject* func,
int blendMode,
double sampleDistance,
double unitDistance,
int filterValue);
110 virtual void ComputeIdealTextureSize(
116 virtual void AllocateTable();
123 #endif // vtkOpenGLVolumeLookupTable_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables...
record modification and/or execution time
window superclass for vtkRenderWindow
a simple class to control print indentation
abstracts an OpenGL texture object.