Go to the documentation of this file.
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]);
represent and manipulate 3D points
bool UsePowerOfTwoTextures
record modification and/or execution time
map a slice of a vtkImageData to the screen
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)
This should only be called by the renderer.
window superclass for vtkRenderWindow
vtkRenderWindow * RenderWindow
represents an image in a 3D scene
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
OpenGL mapper for image slice display.
static vtkImageSliceMapper * New()
abstract specification for renderers
long BackgroundTextureIndex
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),...
create a window for renderers to draw into
Wrapper around std::string to keep symbols short.