VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkOpenGLImageMapper Class Reference

2D image display support for OpenGL More...

#include <vtkOpenGLImageMapper.h>

Inheritance diagram for vtkOpenGLImageMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLImageMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLImageMapperNewInstance () 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 vtkOpenGLImageMapperNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLImageMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLImageMapper ()
 ~vtkOpenGLImageMapper ()

Detailed Description

2D image display support for OpenGL

vtkOpenGLImageMapper is a concrete subclass of vtkImageMapper that renders images under OpenGL

Warning:
vtkOpenGLImageMapper does not support vtkBitArray, you have to convert the array first to vtkUnsignedCharArray (for example)
See also:
vtkImageMapper

Definition at line 37 of file vtkOpenGLImageMapper.h.


Member Typedef Documentation

Reimplemented from vtkImageMapper.

Definition at line 41 of file vtkOpenGLImageMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


The documentation for this class was generated from the following file: