27 #ifndef vtkOpenGLRayCastImageDisplayHelper_h
28 #define vtkOpenGLRayCastImageDisplayHelper_h
30 #include "vtkRenderingVolumeOpenGL2Module.h"
49 int imageMemorySize[2],
50 int imageViewportSize[2],
51 int imageInUseSize[2],
54 unsigned char *
image );
57 int imageMemorySize[2],
58 int imageViewportSize[2],
59 int imageInUseSize[2],
62 unsigned short *
image );
66 float requestedDepth );
75 int imageMemorySize[2],
76 int imageViewportSize[2],
77 int imageInUseSize[2],
helper class for a ray cast image
a simple class to control print indentation
OpenGL subclass that draws the image to the screen.
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, vtkFixedPointRayCastImage *image, float requestedDepth)
virtual void ReleaseGraphicsResources(vtkWindow *win)
Derived class should implemen this if needed.
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned short *image)
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned char *image)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLHelper * ShaderProgram
void RenderTextureInternal(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, int imageScalarType, void *image)
static vtkOpenGLRayCastImageDisplayHelper * New()
~vtkOpenGLRayCastImageDisplayHelper()
vtkOpenGLRayCastImageDisplayHelper()
vtkTextureObject * TextureObject
helper class that draws the image to the screen
abstract specification for renderers
abstracts an OpenGL texture object.
represents a volume (data & properties) in a rendered scene
window superclass for vtkRenderWindow