27#ifndef vtkOpenGLRayCastImageDisplayHelper_h
28#define vtkOpenGLRayCastImageDisplayHelper_h
31#include "vtkRenderingVolumeOpenGL2Module.h"
49 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
50 unsigned char* image)
override;
53 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
54 unsigned short* image)
override;
57 float requestedDepth)
override;
66 int imageViewportSize[2],
int imageInUseSize[2],
int imageOrigin[2],
float requestedDepth,
67 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