108 #ifndef vtkSmartVolumeMapper_h
109 #define vtkSmartVolumeMapper_h
111 #include "vtkRenderingVolumeOpenGLModule.h"
137 vtkSetMacro( FinalColorWindow,
float );
142 vtkGetMacro( FinalColorWindow,
float );
150 vtkSetMacro( FinalColorLevel,
float );
155 vtkGetMacro( FinalColorLevel,
float );
174 void SetRequestedRenderMode(
int mode);
180 void SetRequestedRenderModeToDefault();
185 void SetRequestedRenderModeToGPU();
189 void SetRequestedRenderModeToTexture();
196 void SetRequestedRenderModeToRayCastAndTexture();
202 void SetRequestedRenderModeToRayCast();
206 vtkGetMacro( RequestedRenderMode,
int );
215 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
221 vtkGetMacro( InteractiveUpdateRate,
double );
226 int GetLastUsedRenderMode();
233 vtkSetMacro( MaxMemoryInBytes,
vtkIdType );
234 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
241 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
242 vtkGetMacro( MaxMemoryFraction,
float );
248 vtkSetClampMacro(InterpolationMode,
int,
250 vtkGetMacro(InterpolationMode,
int);
251 void SetInterpolationModeToNearestNeighbor();
252 void SetInterpolationModeToLinear();
253 void SetInterpolationModeToCubic();
265 double viewDirection[3],
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
void PrintSelf(ostream &os, vtkIndent indent)
vtkImageResample * GPUResampleFilter
record modification and/or execution time
vtkTimeStamp SupportStatusCheckTime
Resamples an image to be larger or smaller.
vtkGPUVolumeRayCastMapper * GPUMapper
abstract specification for renderers
vtkGPUVolumeRayCastMapper * GPULowResMapper
vtkIdType MaxMemoryInBytes
window superclass for vtkRenderWindow
vtkFixedPointVolumeRayCastMapper * RayCastMapper
a simple class to control print indentation
double InteractiveUpdateRate
topologically and geometrically regular array of data
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
represents the common properties for rendering a volume.
A fixed point mapper for volumes.
create a window for renderers to draw into
virtual void ReleaseGraphicsResources(vtkWindow *)
static vtkAlgorithm * New()
Ray casting performed on the GPU.
vtkVolumeTextureMapper3D * TextureMapper