Go to the documentation of this file.
33 #ifndef vtkVolumeRayCastMapper_h
34 #define vtkVolumeRayCastMapper_h
36 #include "vtkRenderingVolumeModule.h"
49 class vtkVolumeTransform;
53 #if !defined(VTK_LEGACY_REMOVE)
59 #define vtkTrilinFuncMacro(v,x,y,z,a,b,c,d,e,f,g,h) \
60 t00 = a + (x)*(b-a); \
61 t01 = c + (x)*(d-c); \
62 t10 = e + (x)*(f-e); \
63 t11 = g + (x)*(h-g); \
64 t0 = t00 + (y)*(t01-t00); \
65 t1 = t10 + (y)*(t11-t10); \
86 vtkGetMacro( SampleDistance,
double );
119 vtkSetClampMacro( ImageSampleDistance,
double, 0.1, 100.0 );
120 vtkGetMacro( ImageSampleDistance,
double );
128 vtkSetClampMacro( MinimumImageSampleDistance,
double, 0.1, 100.0 );
129 vtkGetMacro( MinimumImageSampleDistance,
double );
137 vtkSetClampMacro( MaximumImageSampleDistance,
double, 0.1, 100.0 );
138 vtkGetMacro( MaximumImageSampleDistance,
double );
148 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
149 vtkGetMacro( AutoAdjustSampleDistances,
int );
158 void SetNumberOfThreads(
int num );
159 int GetNumberOfThreads();
167 vtkSetClampMacro( IntermixIntersectingGeometry,
int, 0, 1 );
168 vtkGetMacro( IntermixIntersectingGeometry,
int );
190 float GetZeroOpacityThreshold(
vtkVolume *vol );
251 int ImageViewportSize[2];
257 int ImageMemorySize[2];
263 int ImageInUseSize[2];
288 int ZBufferOrigin[2];
304 double GetZBufferValue(
int x,
int y );
310 #endif // VTK_LEGACY_REMOVE
vtkRayCastImageDisplayHelper * ImageDisplayHelper
Abstract class for a volume mapper.
represents a volume (data & properties) in a rendered scene
a superclass for ray casting functions
helper class that draws the image to the screen
vtkTransform * PerspectiveTransform
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double WorldSampleDistance
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual float GetGradientMagnitudeScale()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE.
double MaximumImageSampleDistance
vtkMatrix4x4 * PerspectiveMatrix
window superclass for vtkRenderWindow
double MinimumImageSampleDistance
A slow but accurate mapper for rendering volumes.
double ImageSampleDistance
int IntermixIntersectingGeometry
A class for performing multithreaded execution.
int AutoAdjustSampleDistances
Compute shading tables for encoded normals.
Superclass for gradient estimation.
vtkTransform * VoxelsTransform
vtkMatrix4x4 * VoxelsToViewMatrix
vtkMatrix4x4 * ViewToWorldMatrix
topologically and geometrically regular array of data
a simple class to control print indentation
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...
represent and manipulate 4x4 transformation matrices
vtkVolumeRayCastFunction * VolumeRayCastFunction
vtkMatrix4x4 * ViewToVoxelsMatrix
vtkEncodedGradientEstimator * GradientEstimator
vtkRenderer ** RenderRendererTable
Detect and break reference loops.
#define VTK_THREAD_RETURN_TYPE
virtual float GetGradientMagnitudeScale(int)
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTransform * VoxelsToViewTransform
vtkVolume ** RenderVolumeTable
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkAlgorithm * New()
vtkEncodedGradientShader * GradientShader
Timer support and logging.
void ReportReferences(vtkGarbageCollector *) override
VTK_THREAD_RETURN_TYPE VolumeRayCastMapper_CastRays(void *arg)
abstract specification for renderers
float MinimumViewDistance
maintain a list of planes
vtkMatrix4x4 * VolumeMatrix
virtual float GetGradientMagnitudeBias(int)
virtual float GetGradientMagnitudeBias()
vtkMatrix4x4 * VoxelsToWorldMatrix
vtkMatrix4x4 * WorldToVoxelsMatrix
vtkMultiThreader * Threader