73 #ifndef vtkSmartVolumeMapper_h
74 #define vtkSmartVolumeMapper_h
76 #include "vtkRenderingVolumeOpenGL2Module.h"
115 vtkGetMacro( FinalColorWindow,
float );
133 vtkGetMacro( FinalColorLevel,
float );
140 #if !defined(VTK_LEGACY_REMOVE)
141 RayCastAndTextureRenderMode=1,
142 #endif // !VTK_LEGACY_REMOVE
144 #if !defined(VTK_LEGACY_REMOVE)
146 #endif // !VTK_LEGACY_REMOVE
149 UndefinedRenderMode=6,
157 void SetRequestedRenderMode(
int mode);
164 void SetRequestedRenderModeToDefault();
171 void SetRequestedRenderModeToRayCast();
178 void SetRequestedRenderModeToGPU();
184 void SetRequestedRenderModeToOSPRay();
190 vtkGetMacro( RequestedRenderMode,
int );
197 int GetLastUsedRenderMode();
208 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
218 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
219 vtkGetMacro( MaxMemoryFraction,
float );
227 vtkSetClampMacro(InterpolationMode,
int,
229 vtkGetMacro(InterpolationMode,
int);
230 void SetInterpolationModeToNearestNeighbor();
231 void SetInterpolationModeToLinear();
232 void SetInterpolationModeToCubic();
245 double viewDirection[3],
255 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
264 vtkGetMacro( InteractiveUpdateRate,
double );
276 vtkSetClampMacro( InteractiveAdjustSampleDistances,
int, 0, 1);
277 vtkGetMacro( InteractiveAdjustSampleDistances,
int);
291 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
292 vtkGetMacro( AutoAdjustSampleDistances,
int );
305 vtkGetMacro( SampleDistance,
float );
320 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
337 void SetVectorMode(
int mode);
338 vtkGetMacro(VectorMode,
int);
340 vtkSetClampMacro(VectorComponent,
int, 0, 3);
341 vtkGetMacro(VectorComponent,
int);
366 float FinalColorWindow;
367 float FinalColorLevel;
375 float MaxMemoryFraction;
381 int InterpolationMode;
389 int RequestedRenderMode;
390 int CurrentRenderMode;
400 int RayCastSupported;
401 int LowResGPUNecessary;
448 vtkGPUVolumeRayCastMapper *GPULowResMapper;
449 vtkGPUVolumeRayCastMapper *GPUMapper;
459 int InitializedBlendMode;
464 float SampleDistance;
470 int AutoAdjustSampleDistances;
477 double InteractiveUpdateRate;
486 int InteractiveAdjustSampleDistances;
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
#define VTK_RESLICE_CUBIC
record modification and/or execution time
Resamples an image to be larger or smaller.
abstract specification for renderers
Mapper to render volumes defined as vtkMultiBlockDataSet.
void Render(vtkRenderer *ren, vtkVolume *vol) override=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
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.
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.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Ray casting performed on the GPU.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.