26 #ifndef vtkOpenGLImageSliceMapper_h
27 #define vtkOpenGLImageSliceMapper_h
29 #include "vtkRenderingOpenGL2Module.h"
65 void RecursiveRenderTexturedPolygon(
73 void RenderTexturedPolygon(
87 void RenderBackground(
108 const int extent[6],
int &xdim,
int &ydim,
109 int imageSize[2],
int textureSize[2]);
115 bool TextureSizeOK(
const int size[2]);
122 long FragmentShaderIndex;
125 int TextureBytesPerPixel;
137 bool UseFragmentProgram;
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)
This should only be called by the renderer.
Wrapper around std::string to keep symbols short.
static vtkImageSliceMapper * New()
represents an object (geometry & properties) in a rendered scene
vtkActor * BackgroundPolyDataActor
record modification and/or execution time
abstract specification for renderers
virtual void ComputeTextureSize(const int extent[6], int &xdim, int &ydim, int imageSize[2], int textureSize[2])
Given an extent that describes a slice (it must have unit thickness in one of the three directions)...
OpenGL mapper for image slice display.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
window superclass for vtkRenderWindow
vtkActor * BackingPolyDataActor
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
map a slice of a vtkImageData to the screen
represent and manipulate 3D points