Go to the documentation of this file.
25 #ifndef vtkOpenGLImageSliceMapper_h
26 #define vtkOpenGLImageSliceMapper_h
28 #include "vtkRenderingOpenGL2Module.h"
97 const int extent[6],
int &xdim,
int &ydim,
108 long FragmentShaderIndex;
111 int TextureBytesPerPixel;
123 bool UseFragmentProgram;
represent and manipulate 3D points
vtkOpenGLImageSliceMapper()
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)
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
void RenderBackground(vtkActor *actor, vtkPoints *points, const int extent[6], vtkRenderer *ren)
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)
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
represents an object (geometry & properties) in a rendered 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)
vtkActor * BackingPolyDataActor
abstract specification for renderers
void ComputeTextureSize(const int extent[6], int &xdim, int &ydim, int imageSize[2], int textureSize[2])
vtkActor * BackgroundPolyDataActor
void RenderPolygon(vtkActor *actor, vtkPoints *points, const int extent[6], vtkRenderer *ren)
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