103 #ifndef vtkSmartVolumeMapper_h
104 #define vtkSmartVolumeMapper_h
106 #include "vtkRenderingVolumeOpenGLModule.h"
117 #if !defined(VTK_LEGACY_REMOVE)
119 #endif // VTK_LEGACY_REMOVE
146 vtkGetMacro( FinalColorWindow,
float );
164 vtkGetMacro( FinalColorLevel,
float );
184 void SetRequestedRenderMode(
int mode);
191 void SetRequestedRenderModeToDefault();
198 void SetRequestedRenderModeToGPU();
204 #if !defined(VTK_LEGACY_REMOVE)
205 void SetRequestedRenderModeToTexture();
206 #endif // VTK_LEGACY_REMOVE
215 #if !defined(VTK_LEGACY_REMOVE)
216 void SetRequestedRenderModeToRayCastAndTexture();
217 #endif // VTK_LEGACY_REMOVE
224 void SetRequestedRenderModeToRayCast();
230 void SetRequestedRenderModeToOSPRay();
236 vtkGetMacro( RequestedRenderMode,
int );
247 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
256 vtkGetMacro( InteractiveUpdateRate,
double );
263 int GetLastUsedRenderMode();
274 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
284 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
285 vtkGetMacro( MaxMemoryFraction,
float );
293 vtkSetClampMacro(InterpolationMode,
int,
295 vtkGetMacro(InterpolationMode,
int);
296 void SetInterpolationModeToNearestNeighbor();
297 void SetInterpolationModeToLinear();
298 void SetInterpolationModeToCubic();
311 double viewDirection[3],
326 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
330 ~vtkSmartVolumeMapper() VTK_OVERRIDE;
347 float FinalColorWindow;
348 float FinalColorLevel;
352 float MaxMemoryFraction;
355 int InterpolationMode;
360 int RequestedRenderMode;
361 int CurrentRenderMode;
366 int TextureSupported;
368 int RayCastSupported;
369 int LowResGPUNecessary;
378 double InteractiveUpdateRate;
394 #if !defined(VTK_LEGACY_REMOVE)
396 #endif // VTK_LEGACY_REMOVE
404 vtkSmartVolumeMapper(
const vtkSmartVolumeMapper&) VTK_DELETE_FUNCTION;
405 void operator=(const vtkSmartVolumeMapper&) VTK_DELETE_FUNCTION;
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
volume render with 3D texture mapping
#define VTK_RESLICE_CUBIC
record modification and/or execution time
Resamples an image to be larger or smaller.
abstract specification for renderers
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
a simple class to control print indentation
topologically and geometrically regular array of data
represents the common properties for rendering a volume.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...
static vtkAlgorithm * New()
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.
vtkVolumeTextureMapper3D * TextureMapper