79 #ifndef vtkSmartVolumeMapper_h 80 #define vtkSmartVolumeMapper_h 82 #include "vtkRenderingVolumeOpenGL2Module.h" 121 vtkGetMacro( FinalColorWindow,
float );
139 vtkGetMacro( FinalColorLevel,
float );
146 #if !defined(VTK_LEGACY_REMOVE) 147 RayCastAndTextureRenderMode=1,
148 #endif // !VTK_LEGACY_REMOVE 150 #if !defined(VTK_LEGACY_REMOVE) 152 #endif // !VTK_LEGACY_REMOVE 155 UndefinedRenderMode=6,
163 void SetRequestedRenderMode(
int mode);
170 void SetRequestedRenderModeToDefault();
177 void SetRequestedRenderModeToRayCast();
184 void SetRequestedRenderModeToGPU();
190 void SetRequestedRenderModeToOSPRay();
196 vtkGetMacro( RequestedRenderMode,
int );
203 int GetLastUsedRenderMode();
214 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
224 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
225 vtkGetMacro( MaxMemoryFraction,
float );
233 vtkSetClampMacro(InterpolationMode,
int,
235 vtkGetMacro(InterpolationMode,
int);
236 void SetInterpolationModeToNearestNeighbor();
237 void SetInterpolationModeToLinear();
238 void SetInterpolationModeToCubic();
251 double viewDirection[3],
261 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
270 vtkGetMacro( InteractiveUpdateRate,
double );
282 vtkSetClampMacro( InteractiveAdjustSampleDistances,
int, 0, 1);
283 vtkGetMacro( InteractiveAdjustSampleDistances,
int);
297 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
298 vtkGetMacro( AutoAdjustSampleDistances,
int );
311 vtkGetMacro( SampleDistance,
float );
343 void SetVectorMode(
int mode);
344 vtkGetMacro(VectorMode,
int);
346 vtkSetClampMacro(VectorComponent,
int, 0, 3);
347 vtkGetMacro(VectorComponent,
int);
372 float FinalColorWindow;
373 float FinalColorLevel;
381 float MaxMemoryFraction;
387 int InterpolationMode;
395 int RequestedRenderMode;
396 int CurrentRenderMode;
406 int RayCastSupported;
407 int LowResGPUNecessary;
465 int InitializedBlendMode;
483 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
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.
Mapper to render volumes defined as vtkMultiBlockDataSet.
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.
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.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
A fixed point mapper for volumes.
create a window for renderers to draw into
Removes link dependence on optional ospray module.
vtkTimeStamp MagnitudeUploadTime
VectorMode is a special rendering mode for 3-component vectors which makes use of GPURayCastMapper's ...
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 ...
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.