33#ifndef vtkFixedPointRayCastImage_h
34#define vtkFixedPointRayCastImage_h
37#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);
105 vtkSetMacro(ImageSampleDistance,
float);
106 vtkGetMacro(ImageSampleDistance,
float);
129 vtkSetVector2Macro(ZBufferSize,
int);
130 vtkGetVectorMacro(ZBufferSize,
int, 2);
143 vtkSetVector2Macro(ZBufferOrigin,
int);
144 vtkGetVectorMacro(ZBufferOrigin,
int, 2);
183 int ImageViewportSize[2];
189 int ImageMemorySize[2];
195 int ImageInUseSize[2];
218 int ZBufferOrigin[2];
helper class for a ray cast image
float ImageSampleDistance
float * GetZBuffer()
Get the ZBuffer.
~vtkFixedPointRayCastImage() override
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()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned short * GetImage()
Get the internal storage for the image.
static vtkFixedPointRayCastImage * New()
a simple class to control print indentation
abstract base class for most VTK objects