25 #ifndef __vtkOpenGLImageSliceMapper_h
26 #define __vtkOpenGLImageSliceMapper_h
61 void RenderColorAndLighting(
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,
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.
vtkRenderWindow * RenderWindow
static vtkImageSliceMapper * New()
GLenum GLsizei GLenum GLenum const GLvoid * image
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
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.
#define vtkTypeMacro(thisClass, superclass)
virtual void ReleaseGraphicsResources(vtkWindow *)
window superclass for vtkRenderWindow
a simple class to control print indentation
topologically and geometrically regular array of data
#define VTKRENDERINGOPENGL_EXPORT
GLsizei const GLfloat * points
create a window for renderers to draw into
represents an image in a 3D scene
map a slice of a vtkImageData to the screen
GLclampf GLclampf GLclampf alpha
represent and manipulate 3D points
bool UsePowerOfTwoTextures