30 #ifndef vtkOpenGLImageMapper_h 31 #define vtkOpenGLImageMapper_h 33 #include "vtkRenderingOpenGL2Module.h" 63 void DrawPixels(
vtkViewport *vp,
int width,
int height,
int numComponents,
void *data);
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)=0
Function called by Render to actually draw the image to to the screen.
actor that draws 2D data with texture support
abstract specification for Viewports
a actor that draws 2D data
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
Handle the render method.
window superclass for vtkRenderWindow
2D image display support for OpenGL
a simple class to control print indentation
topologically and geometrically regular array of data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageMapper * New()
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
vtkTexturedActor2D * Actor
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Draw the image to the screen.