9 #ifndef vtkOpenGLVolumeLookupTable_h
10 #define vtkOpenGLVolumeLookupTable_h
13 #include "vtkRenderingVolumeOpenGL2Module.h"
16 VTK_ABI_NAMESPACE_BEGIN
50 void ReleaseGraphicsResources(
vtkWindow* window);
55 virtual void Update(
vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance,
61 vtkGetMacro(TextureHeight,
int);
66 vtkGetMacro(TextureWidth,
int);
72 double LastRange[2] = { 0.0, 0.0 };
73 float* Table =
nullptr;
74 int LastInterpolation = -1;
75 int NumberOfColorComponents = 1;
76 int TextureWidth = 1024;
77 int TextureHeight = 1;
84 virtual bool NeedsUpdate(
85 vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance);
90 virtual void InternalUpdate(
91 vtkObject* func,
int blendMode,
double sampleDistance,
double unitDistance,
int filterValue);
96 virtual void ComputeIdealTextureSize(
102 virtual void AllocateTable();
109 VTK_ABI_NAMESPACE_END
110 #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.