102 #ifndef vtkSmartVolumeMapper_h
103 #define vtkSmartVolumeMapper_h
131 vtkSetMacro( FinalColorWindow,
float );
136 vtkGetMacro( FinalColorWindow,
float );
144 vtkSetMacro( FinalColorLevel,
float );
149 vtkGetMacro( FinalColorLevel,
float );
168 void SetRequestedRenderMode(
int mode);
174 void SetRequestedRenderModeToDefault();
179 void SetRequestedRenderModeToGPU();
183 void SetRequestedRenderModeToTexture();
190 void SetRequestedRenderModeToRayCastAndTexture();
196 void SetRequestedRenderModeToRayCast();
200 vtkGetMacro( RequestedRenderMode,
int );
209 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
215 vtkGetMacro( InteractiveUpdateRate,
double );
220 int GetLastUsedRenderMode();
227 vtkSetMacro( MaxMemoryInBytes,
vtkIdType );
228 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
235 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
236 vtkGetMacro( MaxMemoryFraction,
float );
242 vtkSetClampMacro(InterpolationMode,
int,
244 vtkGetMacro(InterpolationMode,
int);
245 void SetInterpolationModeToNearestNeighbor();
246 void SetInterpolationModeToLinear();
247 void SetInterpolationModeToCubic();
259 double viewDirection[3],
represents a volume (data & properties) in a rendered scene
#define VTKRENDERINGVOLUMEOPENGL_EXPORT
#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