16#ifndef vtkOpenGLVolumeTransferFunction2D_h
17#define vtkOpenGLVolumeTransferFunction2D_h
22#include "vtkRenderingVolumeOpenGL2Module.h"
55 int filterValue)
override;
62 vtkObject* func,
double scalarRange[2],
int blendMode,
double sampleDistance)
override;
a simple class to control print indentation
Allocate and hold a VTK object.
abstract base class for most VTK objects
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables.
2D Transfer function container.
vtkOpenGLVolumeTransferFunction2D()
bool NeedsUpdate(vtkObject *func, double scalarRange[2], int blendMode, double sampleDistance) override
Override needs update to not test for scalar range changes since the range is encoded in the vtkImage...
vtkNew< vtkImageResize > ResizeFilter
void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue) override
Update the internal texture object using the 2D image data.
static vtkOpenGLVolumeTransferFunction2D * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AllocateTable() override
Override allocate table to do nothing as no internal table management is needed.