VTK
|
2D image display support for OpenGL More...
#include <vtkOpenGLImageMapper.h>
Public Types | |
typedef vtkImageMapper | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkOpenGLImageMapper * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | RenderOverlay (vtkViewport *viewport, vtkActor2D *actor) |
void | RenderData (vtkViewport *viewport, vtkImageData *data, vtkActor2D *actor) |
Static Public Member Functions | |
static vtkOpenGLImageMapper * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLImageMapper * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLImageMapper () | |
~vtkOpenGLImageMapper () |
2D image display support for OpenGL
vtkOpenGLImageMapper is a concrete subclass of vtkImageMapper that renders images under OpenGL
Definition at line 37 of file vtkOpenGLImageMapper.h.
Reimplemented from vtkImageMapper.
Definition at line 41 of file vtkOpenGLImageMapper.h.
vtkOpenGLImageMapper::vtkOpenGLImageMapper | ( | ) | [protected] |
vtkOpenGLImageMapper::~vtkOpenGLImageMapper | ( | ) | [protected] |
static vtkOpenGLImageMapper* vtkOpenGLImageMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageMapper.
static int vtkOpenGLImageMapper::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageMapper.
virtual int vtkOpenGLImageMapper::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageMapper.
static vtkOpenGLImageMapper* vtkOpenGLImageMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageMapper.
virtual vtkObjectBase* vtkOpenGLImageMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageMapper.
Reimplemented from vtkImageMapper.
virtual void vtkOpenGLImageMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageMapper.
void vtkOpenGLImageMapper::RenderOverlay | ( | vtkViewport * | viewport, |
vtkActor2D * | actor | ||
) | [inline, virtual] |
Handle the render method.
Reimplemented from vtkMapper2D.
Definition at line 46 of file vtkOpenGLImageMapper.h.
void vtkOpenGLImageMapper::RenderData | ( | vtkViewport * | viewport, |
vtkImageData * | data, | ||
vtkActor2D * | actor | ||
) | [virtual] |
Called by the Render function in vtkImageMapper. Actually draws the image to the screen.
Implements vtkImageMapper.