79 #ifndef vtkSmartVolumeMapper_h
80 #define vtkSmartVolumeMapper_h
82 #include "vtkRenderingVolumeOpenGL2Module.h"
120 vtkGetMacro( FinalColorWindow,
float );
138 vtkGetMacro( FinalColorLevel,
float );
145 #if !defined(VTK_LEGACY_REMOVE)
146 RayCastAndTextureRenderMode=1,
147 #endif // !VTK_LEGACY_REMOVE
149 #if !defined(VTK_LEGACY_REMOVE)
151 #endif // !VTK_LEGACY_REMOVE
153 UndefinedRenderMode=5,
162 void SetRequestedRenderMode(
int mode);
169 void SetRequestedRenderModeToDefault();
176 void SetRequestedRenderModeToRayCast();
183 void SetRequestedRenderModeToGPU();
189 void SetRequestedRenderModeToOSPRay();
195 vtkGetMacro( RequestedRenderMode,
int );
202 int GetLastUsedRenderMode();
213 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
223 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
224 vtkGetMacro( MaxMemoryFraction,
float );
232 vtkSetClampMacro(InterpolationMode,
int,
234 vtkGetMacro(InterpolationMode,
int);
235 void SetInterpolationModeToNearestNeighbor();
236 void SetInterpolationModeToLinear();
237 void SetInterpolationModeToCubic();
250 double viewDirection[3],
260 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
269 vtkGetMacro( InteractiveUpdateRate,
double );
281 vtkSetClampMacro( InteractiveAdjustSampleDistances,
int, 0, 1);
282 vtkGetMacro( InteractiveAdjustSampleDistances,
int);
296 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
297 vtkGetMacro( AutoAdjustSampleDistances,
int );
310 vtkGetMacro( SampleDistance,
float );
342 vtkSetClampMacro(VectorMode,
int, -1, 1);
343 vtkGetMacro(VectorMode,
int);
345 vtkSetClampMacro(VectorComponent,
int, 0, 3);
346 vtkGetMacro(VectorComponent,
int);
371 float FinalColorWindow;
372 float FinalColorLevel;
380 float MaxMemoryFraction;
386 int InterpolationMode;
394 int RequestedRenderMode;
395 int CurrentRenderMode;
405 int RayCastSupported;
406 int LowResGPUNecessary;
458 int InitializedBlendMode;
476 double InteractiveUpdateRate;
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
int VectorComponent
VectorMode is a special rendering mode for 3-component vectors which makes use of GPURayCastMapper's ...
#define VTK_RESLICE_CUBIC
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
record modification and/or execution time
Resamples an image to be larger or smaller.
abstract specification for renderers
float SampleDistance
The distance between sample points along the ray.
int VectorMode
VectorMode is a special rendering mode for 3-component vectors which makes use of GPURayCastMapper's ...
vtkImageMagnitude * ImageMagnitude
This filter is used to compute the magnitude of 3-component data.
window superclass for vtkRenderWindow
VectorModeType
VectorMode is a special rendering mode for 3-component vectors which makes use of GPURayCastMapper's ...
a simple class to control print indentation
topologically and geometrically regular array of data
Colapses components with magnitude function.
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
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 InteractiveAdjustSampleDistances
If the InteractiveAdjustSampleDistances flag is enabled, vtkSmartVolumeMapper interactively sets and ...
int AutoAdjustSampleDistances
Set whether or not the sample distance should be automatically calculated within the internal volume ...
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
static vtkAlgorithm * New()
vtkImageData * InputDataMagnitude
This filter is used to compute the magnitude of 3-component data.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Ray casting performed on the GPU.