21 #ifndef vtkFixedPointRayCastImage_h
22 #define vtkFixedPointRayCastImage_h
25 #include "vtkRenderingVolumeModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
40 unsigned short*
GetImage() {
return this->Image; }
47 vtkSetVector2Macro(ImageViewportSize,
int);
48 vtkGetVectorMacro(ImageViewportSize,
int, 2);
58 vtkSetVector2Macro(ImageMemorySize,
int);
59 vtkGetVectorMacro(ImageMemorySize,
int, 2);
70 vtkSetVector2Macro(ImageInUseSize,
int);
71 vtkGetVectorMacro(ImageInUseSize,
int, 2);
83 vtkSetVector2Macro(ImageOrigin,
int);
84 vtkGetVectorMacro(ImageOrigin,
int, 2);
94 vtkSetMacro(ImageSampleDistance,
float);
95 vtkGetMacro(ImageSampleDistance,
float);
118 vtkSetVector2Macro(ZBufferSize,
int);
119 vtkGetVectorMacro(ZBufferSize,
int, 2);
132 vtkSetVector2Macro(ZBufferOrigin,
int);
133 vtkGetVectorMacro(ZBufferOrigin,
int, 2);
172 int ImageViewportSize[2];
178 int ImageMemorySize[2];
184 int ImageInUseSize[2];
207 int ZBufferOrigin[2];
220 VTK_ABI_NAMESPACE_END
helper class for a ray cast image
float ImageSampleDistance
~vtkFixedPointRayCastImage() override
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