25 #ifndef vtkOpenGLImageSliceMapper_h
26 #define vtkOpenGLImageSliceMapper_h
28 #include "vtkRenderingOpenGLModule.h"
61 void RenderColorAndLighting(
62 double red,
double green,
double blue,
63 double alpha,
double ambient,
double diffuse);
70 void RecursiveRenderTexturedPolygon(
78 void RenderTexturedPolygon(
91 void RenderBackground(
108 const int extent[6],
int &xdim,
int &ydim,
109 int imageSize[2],
int textureSize[2]);
114 bool TextureSizeOK(
const int size[2]);
void PrintSelf(ostream &os, vtkIndent indent)
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)
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])
OpenGL mapper for image slice display.
virtual void ReleaseGraphicsResources(vtkWindow *)
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