26 #ifndef vtkOpenGLImageSliceMapper_h
27 #define vtkOpenGLImageSliceMapper_h
29 #include "vtkRenderingOpenGLModule.h"
67 void RenderColorAndLighting(
68 double red,
double green,
double blue,
69 double alpha,
double ambient,
double diffuse);
76 void RecursiveRenderTexturedPolygon(
84 void RenderTexturedPolygon(
98 void RenderBackground(
119 const int extent[6],
int &xdim,
int &ydim,
120 int imageSize[2],
int textureSize[2]);
126 bool TextureSizeOK(
const int size[2]);
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()
long BackgroundTextureIndex
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
a simple class to control print indentation
topologically and geometrically regular array of data
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
bool UsePowerOfTwoTextures