 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkOpenGLImageSliceMapper_h
27 #define vtkOpenGLImageSliceMapper_h
30 #include "vtkRenderingOpenGL2Module.h"
72 int extent[6],
bool recursive);
94 const int extent[6],
int& xdim,
int& ydim,
int imageSize[2],
int textureSize[2])
override;
represent and manipulate 3D points
bool TextureSizeOK(const int size[2], vtkRenderer *ren)
Test whether a given texture size is supported.
vtkOpenGLImageSliceMapper()
void RecursiveRenderTexturedPolygon(vtkRenderer *ren, vtkImageProperty *property, vtkImageData *image, int extent[6], bool recursive)
Recursive internal method, will call the non-recursive method as many times as necessary if the textu...
record modification and/or execution time
void RenderBackground(vtkActor *actor, vtkPoints *points, const int extent[6], vtkRenderer *ren)
Render the background, which means rendering everything within the plane of the image except for the ...
void ComputeTextureSize(const int extent[6], int &xdim, int &ydim, int imageSize[2], int textureSize[2]) override
Given an extent that describes a slice (it must have unit thickness in one of the three directions),...
~vtkOpenGLImageSliceMapper() override
map a slice of a vtkImageData to the screen
static vtkOpenGLImageSliceMapper * New()
window superclass for vtkRenderWindow
void RenderTexturedPolygon(vtkRenderer *ren, vtkImageProperty *property, vtkImageData *image, int extent[6], bool recursive)
Non-recursive internal method, generate a single texture and its corresponding geometry.
represents an image in a 3D scene
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper, the image texture in particula...
OpenGL mapper for image slice display.
vtkActor * BackingPolyDataActor
vtkRenderWindow * RenderWindow
abstract specification for renderers
vtkActor * BackgroundPolyDataActor
void RenderPolygon(vtkActor *actor, vtkPoints *points, const int extent[6], vtkRenderer *ren)
Basic polygon rendering, if the textured parameter is set the tcoords are included,...
create a window for renderers to draw into
void Render(vtkRenderer *ren, vtkImageSlice *prop) override
Implement base class method.