33 #ifndef vtkFixedPointRayCastImage_h
34 #define vtkFixedPointRayCastImage_h
36 #include "vtkRenderingVolumeModule.h"
51 unsigned short *
GetImage() {
return this->Image;}
58 vtkSetVector2Macro( ImageViewportSize,
int );
59 vtkGetVectorMacro( ImageViewportSize,
int, 2 );
69 vtkSetVector2Macro( ImageMemorySize,
int );
70 vtkGetVectorMacro( ImageMemorySize,
int, 2 );
81 vtkSetVector2Macro( ImageInUseSize,
int );
82 vtkGetVectorMacro( ImageInUseSize,
int, 2 );
94 vtkSetVector2Macro( ImageOrigin,
int );
95 vtkGetVectorMacro( ImageOrigin,
int, 2 );
106 vtkGetMacro( ImageSampleDistance,
float );
129 vtkSetVector2Macro( ZBufferSize,
int );
130 vtkGetVectorMacro( ZBufferSize,
int, 2 );
143 vtkSetVector2Macro( ZBufferOrigin,
int );
144 vtkGetVectorMacro( ZBufferOrigin,
int, 2 );
154 vtkSetClampMacro( UseZBuffer,
int, 0, 1 );
155 vtkGetMacro( UseZBuffer,
int );
183 int ImageViewportSize[2];
189 int ImageMemorySize[2];
195 int ImageInUseSize[2];
218 int ZBufferOrigin[2];
helper class for a ray cast image
~vtkFixedPointRayCastImage()
float ImageSampleDistance
unsigned short * GetImage()
Get the internal storage for the image.
void AllocateImage()
Call this method once the ImageMemorySize has been set the allocate the image.
void ClearImage()
Clear the image to (0,0,0,0) for each pixel.
float GetZBufferValue(int x, int y)
Get the ZBuffer value corresponding to location (x,y) where (x,y) are indexing into the ImageInUse im...
vtkFixedPointRayCastImage()
static vtkFixedPointRayCastImage * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float * GetZBuffer()
Get the ZBuffer.
a simple class to control print indentation
abstract base class for most VTK objects
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.