VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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
typedef vtkImageMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLImageMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsA (const char *type)
vtkOpenGLImageMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void DrawPixels (vtkViewport *vp, int width, int height, int numComponents, void *data)
void RenderOverlay (vtkViewport *viewport, vtkActor2D *actor)
void RenderData (vtkViewport *viewport, vtkImageData *data, vtkActor2D *actor)
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)
static vtkOpenGLImageMapperNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLImageMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

vtkTexturedActor2DActor

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.

Reimplemented from vtkImageMapper.

Definition at line 42 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.

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 47 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.

void vtkOpenGLImageMapper::DrawPixels ( vtkViewport vp,
int  width,
int  height,
int  numComponents,
void *  data 
)

draw the data once it has been converted to uchar, windowed leveled used internally by the templated functions


Member Data Documentation

Definition at line 66 of file vtkOpenGLImageMapper.h.


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