24 #ifndef vtkOpenGLVolumeLookupTable_h 25 #define vtkOpenGLVolumeLookupTable_h 69 virtual void Update(
vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance,
99 vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance);
105 vtkObject* func,
int blendMode,
double sampleDistance,
double unitDistance,
int filterValue);
123 #endif //__VTK_WRAP__ 124 #endif // vtkOpenGLVolumeLookupTable_h
abstract base class for most VTK objects
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables...
vtkTextureObject * TextureObject
record modification and/or execution time
vtkOpenGLVolumeLookupTable()=default
window superclass for vtkRenderWindow
virtual void Update(vtkObject *func, double scalarRange[2], int blendMode, double sampleDistance, double unitDistance, int filterValue, vtkOpenGLRenderWindow *renWin)
Update the internal texture object using the transfer function provided.
int GetMaximumSupportedTextureWidth(vtkOpenGLRenderWindow *renWin, int idealWidth)
Get the maximum supported texture width for the target OpenGL environment.
a simple class to control print indentation
void Deactivate()
Activate / deactivate the internal texture object.
virtual void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue)
Internal method to actually update the texture object.
virtual bool NeedsUpdate(vtkObject *func, double scalarRange[2], int blendMode, double sampleDistance)
Test whether the internal function needs to be updated.
virtual void ComputeIdealTextureSize(vtkObject *func, int &width, int &height, vtkOpenGLRenderWindow *renWin)
Compute ideal width and height for the texture based on function provided.
int NumberOfColorComponents
abstracts an OpenGL texture object.
void Activate()
Activate / deactivate the internal texture object.
virtual ~vtkOpenGLVolumeLookupTable() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetTextureUnit()
Get the texture unit associated with the managed texture object.
virtual void AllocateTable()
Allocate internal data table.
void ReleaseGraphicsResources(vtkWindow *window)
Release graphics resources.