109 #ifndef vtkSmartVolumeMapper_h 110 #define vtkSmartVolumeMapper_h 112 #include "vtkRenderingVolumeOpenGLModule.h" 149 vtkGetMacro( FinalColorWindow,
float );
167 vtkGetMacro( FinalColorLevel,
float );
187 void SetRequestedRenderMode(
int mode);
194 void SetRequestedRenderModeToDefault();
201 void SetRequestedRenderModeToGPU();
208 void SetRequestedRenderModeToRayCast();
214 void SetRequestedRenderModeToOSPRay();
220 vtkGetMacro( RequestedRenderMode,
int );
231 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
240 vtkGetMacro( InteractiveUpdateRate,
double );
247 int GetLastUsedRenderMode();
258 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
268 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
269 vtkGetMacro( MaxMemoryFraction,
float );
277 vtkSetClampMacro(InterpolationMode,
int,
279 vtkGetMacro(InterpolationMode,
int);
280 void SetInterpolationModeToNearestNeighbor();
281 void SetInterpolationModeToLinear();
282 void SetInterpolationModeToCubic();
295 double viewDirection[3],
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
#define VTK_RESLICE_CUBIC
vtkImageResample * GPUResampleFilter
This is the resample filter that may be used if we need to create a low resolution version of the vol...
int RayCastSupported
Initialization variables.
record modification and/or execution time
vtkTimeStamp SupportStatusCheckTime
Initialization variables.
Resamples an image to be larger or smaller.
int LowResGPUNecessary
Initialization variables.
vtkGPUVolumeRayCastMapper * GPUMapper
The three potential mappers.
abstract specification for renderers
vtkGPUVolumeRayCastMapper * GPULowResMapper
The three potential mappers.
int RequestedRenderMode
The requested render mode is used to compute the current render mode.
vtkIdType MaxMemoryInBytes
GPU mapper-specific memory ivars.
void Render(vtkRenderer *ren, vtkVolume *vol) override=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
window superclass for vtkRenderWindow
float FinalColorLevel
Window / level ivars.
vtkFixedPointVolumeRayCastMapper * RayCastMapper
The three potential mappers.
a simple class to control print indentation
double InteractiveUpdateRate
If the DesiredUpdateRate of the vtkRenderWindow causing the Render is at or above this value...
topologically and geometrically regular array of data
int CurrentRenderMode
The requested render mode is used to compute the current render mode.
represents the common properties for rendering a volume.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
A fixed point mapper for volumes.
create a window for renderers to draw into
Removes link dependence on optional ospray module.
int InitializedBlendMode
We need to keep track of the blend mode we had when we initialized because we need to reinitialize (a...
int Initialized
Initialization variables.
int GPUSupported
Initialization variables.
static vtkAlgorithm * New()
float MaxMemoryFraction
GPU mapper-specific memory ivars.
int InterpolationMode
Used for downsampling.
Ray casting performed on the GPU.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float FinalColorWindow
Window / level ivars.