15#ifndef vtkOpenGLRayCastImageDisplayHelper_h
16#define vtkOpenGLRayCastImageDisplayHelper_h
19#include "vtkRenderingVolumeOpenGL2Module.h"
21VTK_ABI_NAMESPACE_BEGIN
38 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
39 unsigned char* image)
override;
42 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
43 unsigned short* image)
override;
46 float requestedDepth)
override;
55 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
56 int imageScalarType,
void* image);
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, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned short *image) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLHelper * ShaderProgram
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned char *image) override
void ReleaseGraphicsResources(vtkWindow *win) override
Derived class should implement this if needed.
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()
vtkTextureObject * TextureObject
void RenderTexture(vtkVolume *vol, vtkRenderer *ren, vtkFixedPointRayCastImage *image, float requestedDepth) override
~vtkOpenGLRayCastImageDisplayHelper() override
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