26 #ifndef vtkOpenGLImageSliceMapper_h
27 #define vtkOpenGLImageSliceMapper_h
29 #include "vtkRenderingOpenGL2Module.h"
58 ~vtkOpenGLImageSliceMapper() VTK_OVERRIDE;
65 void RecursiveRenderTexturedPolygon(
73 void RenderTexturedPolygon(
87 void RenderBackground(
107 void ComputeTextureSize(
108 const
int extent[6],
int &xdim,
int &ydim,
109 int imageSize[2],
int textureSize[2]) VTK_OVERRIDE;
115 bool TextureSizeOK(const
int size[2]);
122 long FragmentShaderIndex;
125 int TextureBytesPerPixel;
137 bool UseFragmentProgram;
140 vtkOpenGLImageSliceMapper(const vtkOpenGLImageSliceMapper&) VTK_DELETE_FUNCTION;
141 void operator=(const vtkOpenGLImageSliceMapper&) VTK_DELETE_FUNCTION;
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
Wrapper around std::string to keep symbols short.
static vtkImageSliceMapper * New()
represents an object (geometry & properties) in a rendered scene
record modification and/or execution time
abstract specification for renderers
OpenGL mapper for image slice display.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
a simple class to control print indentation
topologically and geometrically regular array of data
vtkWeakPointer< vtkRenderWindow > RenderWindow
create a window for renderers to draw into
represents an image in a 3D scene
void Render(vtkRenderer *renderer, vtkImageSlice *prop) override
This should only be called by the renderer.
map a slice of a vtkImageData to the screen
represent and manipulate 3D points