31 #ifndef __vtkVolumeRayCastMapper_h
32 #define __vtkVolumeRayCastMapper_h
34 #include "vtkRenderingVolumeModule.h"
49 class vtkVolumeTransform;
72 #define vtkTrilinFuncMacro(v,x,y,z,a,b,c,d,e,f,g,h) \
73 t00 = a + (x)*(b-a); \
74 t01 = c + (x)*(d-c); \
75 t10 = e + (x)*(f-e); \
76 t11 = g + (x)*(h-g); \
77 t0 = t00 + (y)*(t01-t00); \
78 t1 = t10 + (y)*(t11-t10); \
95 vtkSetMacro( SampleDistance,
double );
96 vtkGetMacro( SampleDistance,
double );
121 vtkSetClampMacro( ImageSampleDistance,
double, 0.1, 100.0 );
122 vtkGetMacro( ImageSampleDistance,
double );
128 vtkSetClampMacro( MinimumImageSampleDistance,
double, 0.1, 100.0 );
129 vtkGetMacro( MinimumImageSampleDistance,
double );
135 vtkSetClampMacro( MaximumImageSampleDistance,
double, 0.1, 100.0 );
136 vtkGetMacro( MaximumImageSampleDistance,
double );
143 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
144 vtkGetMacro( AutoAdjustSampleDistances,
int );
145 vtkBooleanMacro( AutoAdjustSampleDistances,
int );
151 void SetNumberOfThreads(
int num );
152 int GetNumberOfThreads();
158 vtkSetClampMacro( IntermixIntersectingGeometry,
int, 0, 1 );
159 vtkGetMacro( IntermixIntersectingGeometry,
int );
160 vtkBooleanMacro( IntermixIntersectingGeometry,
int );
176 float GetZeroOpacityThreshold(
vtkVolume *vol );
237 int ImageViewportSize[2];
243 int ImageMemorySize[2];
249 int ImageInUseSize[2];
274 int ZBufferOrigin[2];
290 double GetZBufferValue(
int x,
int y );