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