vtkOpenGLImageMapper Class Reference

#include <vtkOpenGLImageMapper.h>

Inheritance diagram for vtkOpenGLImageMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLImageMapper:

Collaboration graph
[legend]

List of all members.


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.


Public Types

typedef vtkImageMapper Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 vtkOpenGLImageMapper ()
 ~vtkOpenGLImageMapper ()

Member Typedef Documentation

Reimplemented from vtkImageMapper.

Definition at line 41 of file vtkOpenGLImageMapper.h.


Constructor & Destructor Documentation

vtkOpenGLImageMapper::vtkOpenGLImageMapper (  )  [protected]

vtkOpenGLImageMapper::~vtkOpenGLImageMapper (  )  [protected]


Member Function Documentation

static vtkOpenGLImageMapper* vtkOpenGLImageMapper::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkImageMapper.

virtual const char* vtkOpenGLImageMapper::GetClassName (  )  [virtual]

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 ( vtkObject o  )  [static]

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:

Generated on Wed Aug 24 11:51:15 2011 for VTK by  doxygen 1.5.6