109 #ifndef vtkSmartVolumeMapper_h 110 #define vtkSmartVolumeMapper_h 112 #include "vtkRenderingVolumeOpenGLModule.h" 123 #if !defined(VTK_LEGACY_REMOVE) 125 #endif // VTK_LEGACY_REMOVE 152 vtkGetMacro( FinalColorWindow,
float );
170 vtkGetMacro( FinalColorLevel,
float );
190 void SetRequestedRenderMode(
int mode);
197 void SetRequestedRenderModeToDefault();
204 void SetRequestedRenderModeToGPU();
210 #if !defined(VTK_LEGACY_REMOVE) 211 void SetRequestedRenderModeToTexture();
212 #endif // VTK_LEGACY_REMOVE 221 #if !defined(VTK_LEGACY_REMOVE) 222 void SetRequestedRenderModeToRayCastAndTexture();
223 #endif // VTK_LEGACY_REMOVE 230 void SetRequestedRenderModeToRayCast();
236 void SetRequestedRenderModeToOSPRay();
242 vtkGetMacro( RequestedRenderMode,
int );
253 vtkSetClampMacro( InteractiveUpdateRate,
double, 1.0e-10, 1.0e10 );
262 vtkGetMacro( InteractiveUpdateRate,
double );
269 int GetLastUsedRenderMode();
280 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
290 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
291 vtkGetMacro( MaxMemoryFraction,
float );
299 vtkSetClampMacro(InterpolationMode,
int,
301 vtkGetMacro(InterpolationMode,
int);
302 void SetInterpolationModeToNearestNeighbor();
303 void SetInterpolationModeToLinear();
304 void SetInterpolationModeToCubic();
317 double viewDirection[3],
353 float FinalColorWindow;
354 float FinalColorLevel;
358 float MaxMemoryFraction;
361 int InterpolationMode;
366 int RequestedRenderMode;
367 int CurrentRenderMode;
372 int TextureSupported;
374 int RayCastSupported;
375 int LowResGPUNecessary;
384 double InteractiveUpdateRate;
400 #if !defined(VTK_LEGACY_REMOVE) 402 #endif // VTK_LEGACY_REMOVE
represents a volume (data & properties) in a rendered scene
#define VTK_RESLICE_NEAREST
Abstract class for a volume mapper.
volume render with 3D texture mapping
#define VTK_RESLICE_CUBIC
record modification and/or execution time
Resamples an image to be larger or smaller.
abstract specification for renderers
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
a simple class to control print indentation
topologically and geometrically regular array of data
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.
int InitializedBlendMode
We need to keep track of the blend mode we had when we initialized because we need to reinitialize (a...
static vtkAlgorithm * New()
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.
vtkVolumeTextureMapper3D * TextureMapper