72 #ifndef vtkSmartVolumeMapper_h
73 #define vtkSmartVolumeMapper_h
100 vtkSetMacro( FinalColorWindow,
float );
105 vtkGetMacro( FinalColorWindow,
float );
113 vtkSetMacro( FinalColorLevel,
float );
118 vtkGetMacro( FinalColorLevel,
float );
126 RayCastAndTextureRenderMode,
137 void SetRequestedRenderMode(
int mode);
143 void SetRequestedRenderModeToDefault();
149 void SetRequestedRenderModeToRayCast();
154 void SetRequestedRenderModeToGPU();
158 vtkGetMacro( RequestedRenderMode,
int );
163 int GetLastUsedRenderMode();
170 vtkSetMacro( MaxMemoryInBytes,
vtkIdType );
171 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
178 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
179 vtkGetMacro( MaxMemoryFraction,
float );
185 vtkSetClampMacro(InterpolationMode,
int,
187 vtkGetMacro(InterpolationMode,
int);
188 void SetInterpolationModeToNearestNeighbor();
189 void SetInterpolationModeToLinear();
190 void SetInterpolationModeToCubic();
202 double viewDirection[3],
211 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
217 vtkGetMacro( InteractiveUpdateRate,
double );
227 vtkSetClampMacro( InteractiveAdjustSampleDistances,
int, 0, 1);
228 vtkGetMacro( InteractiveAdjustSampleDistances,
int);
229 vtkBooleanMacro( InteractiveAdjustSampleDistances,
int);
239 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
240 vtkGetMacro( AutoAdjustSampleDistances,
int );
241 vtkBooleanMacro( AutoAdjustSampleDistances,
int );
250 vtkSetMacro( SampleDistance,
float );
251 vtkGetMacro( SampleDistance,
float );
284 float FinalColorWindow;
285 float FinalColorLevel;
289 float MaxMemoryFraction;
292 int InterpolationMode;
297 int RequestedRenderMode;
298 int CurrentRenderMode;
304 int RayCastSupported;
305 int LowResGPUNecessary;
330 int InitializedBlendMode;
342 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)
#define VTKRENDERINGVOLUMEOPENGL2_EXPORT
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.