25 #ifndef vtkOpenGLImageSliceMapper_h
26 #define vtkOpenGLImageSliceMapper_h
28 #include "vtkRenderingOpenGL2Module.h"
59 void RecursiveRenderTexturedPolygon(
67 void RenderTexturedPolygon(
80 void RenderBackground(
97 const int extent[6],
int &xdim,
int &ydim,
98 int imageSize[2],
int textureSize[2]);
103 bool TextureSizeOK(
const int size[2]);
108 long FragmentShaderIndex;
111 int TextureBytesPerPixel;
123 bool UseFragmentProgram;
void PrintSelf(ostream &os, vtkIndent indent)
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)
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])
OpenGL mapper for image slice display.
virtual void ReleaseGraphicsResources(vtkWindow *)
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