Go to the documentation of this file.
25 #ifndef vtkOpenGLImageSliceMapper_h
26 #define vtkOpenGLImageSliceMapper_h
63 double alpha,
double ambient,
double diffuse);
108 const int extent[6],
int &xdim,
int &ydim,
represent and manipulate 3D points
vtkOpenGLImageSliceMapper()
void RenderPolygon(vtkPoints *points, const int extent[6], bool textured)
bool UsePowerOfTwoTextures
vtkStdString BuildFragmentProgram(vtkImageProperty *property)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
void RecursiveRenderTexturedPolygon(vtkRenderer *ren, vtkImageProperty *property, vtkImageData *image, int extent[6], bool recursive)
void RenderColorAndLighting(double red, double green, double blue, double alpha, double ambient, double diffuse)
void RenderBackground(vtkPoints *points, const int extent[6], bool textured)
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
void Render(vtkRenderer *ren, vtkImageSlice *prop)
GLsizei const GLfloat * points
~vtkOpenGLImageSliceMapper()
map a slice of a vtkImageData to the screen
static vtkOpenGLImageSliceMapper * New()
window superclass for vtkRenderWindow
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkRenderWindow * RenderWindow
void RenderTexturedPolygon(vtkRenderer *ren, vtkImageProperty *property, vtkImageData *image, int extent[6], bool recursive)
void BindFragmentProgram(vtkRenderer *ren, vtkImageProperty *property)
represents an image in a 3D scene
topologically and geometrically regular array of data
a simple class to control print indentation
bool TextureSizeOK(const int size[2])
OpenGL mapper for image slice display.
void CheckOpenGLCapabilities(vtkOpenGLRenderWindow *renWin)
GLclampf GLclampf GLclampf alpha
abstract specification for renderers
void ComputeTextureSize(const int extent[6], int &xdim, int &ydim, int imageSize[2], int textureSize[2])
long BackgroundTextureIndex
create a window for renderers to draw into
Wrapper around std::string to keep symbols short.
void ReleaseGraphicsResources(vtkWindow *)
GLenum GLsizei GLenum GLenum const GLvoid * image
#define VTKRENDERINGOPENGL_EXPORT