78 #ifndef vtkSmartVolumeMapper_h
79 #define vtkSmartVolumeMapper_h
81 #include "vtkRenderingVolumeOpenGL2Module.h"
106 vtkSetMacro( FinalColorWindow,
float );
111 vtkGetMacro( FinalColorWindow,
float );
119 vtkSetMacro( FinalColorLevel,
float );
124 vtkGetMacro( FinalColorLevel,
float );
132 RayCastAndTextureRenderMode,
143 void SetRequestedRenderMode(
int mode);
149 void SetRequestedRenderModeToDefault();
155 void SetRequestedRenderModeToRayCast();
160 void SetRequestedRenderModeToGPU();
164 vtkGetMacro( RequestedRenderMode,
int );
169 int GetLastUsedRenderMode();
176 vtkSetMacro( MaxMemoryInBytes,
vtkIdType );
177 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
184 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
185 vtkGetMacro( MaxMemoryFraction,
float );
191 vtkSetClampMacro(InterpolationMode,
int,
193 vtkGetMacro(InterpolationMode,
int);
194 void SetInterpolationModeToNearestNeighbor();
195 void SetInterpolationModeToLinear();
196 void SetInterpolationModeToCubic();
208 double viewDirection[3],
217 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
223 vtkGetMacro( InteractiveUpdateRate,
double );
233 vtkSetClampMacro( InteractiveAdjustSampleDistances,
int, 0, 1);
234 vtkGetMacro( InteractiveAdjustSampleDistances,
int);
235 vtkBooleanMacro( InteractiveAdjustSampleDistances,
int);
245 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
246 vtkGetMacro( AutoAdjustSampleDistances,
int );
247 vtkBooleanMacro( AutoAdjustSampleDistances,
int );
256 vtkSetMacro( SampleDistance,
float );
257 vtkGetMacro( SampleDistance,
float );
290 float FinalColorWindow;
291 float FinalColorLevel;
295 float MaxMemoryFraction;
298 int InterpolationMode;
303 int RequestedRenderMode;
304 int CurrentRenderMode;
310 int RayCastSupported;
311 int LowResGPUNecessary;
336 int InitializedBlendMode;
348 double InteractiveUpdateRate;
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
#define VTK_RESLICE_CUBIC
void PrintSelf(ostream &os, vtkIndent indent)
record modification and/or execution time
Resamples an image to be larger or smaller.
abstract specification for renderers
window superclass for vtkRenderWindow
a simple class to control print indentation
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
int InteractiveAdjustSampleDistances
int AutoAdjustSampleDistances
virtual void ReleaseGraphicsResources(vtkWindow *)
static vtkAlgorithm * New()
Ray casting performed on the GPU.