Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXOpenGLTextMapper Class Reference

2D Text annotation support for windows. More...

#include <vtkXMesaTextMapper.h>

Inheritance diagram for vtkXOpenGLTextMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkXOpenGLTextMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void RenderOpaqueGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderTranslucentGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderOverlay (vtkViewport *, vtkActor2D *)
virtual void ReleaseGraphicsResources (vtkWindow *)

Static Public Methods

int IsTypeOf (const char *type)
vtkXOpenGLTextMapper * SafeDownCast (vtkObject *o)
vtkXOpenGLTextMapper * New ()
int GetListBaseForFont (vtkTextMapper *tm, vtkViewport *vp, Font)

Protected Methods

 vtkXOpenGLTextMapper ()
 ~vtkXOpenGLTextMapper ()
 vtkXOpenGLTextMapper (const vtkXOpenGLTextMapper &)
void operator= (const vtkXOpenGLTextMapper &)

Detailed Description

2D Text annotation support for windows.

Date:
2000/12/10 20:09:15
Revision:
1.5

vtkXMesaTextMapper provides 2D text annotation support for vtk under Xwindows. Normally the user should use vtktextMapper which in turn will use this class.

See also:
vtkTextMapper

Definition at line 57 of file vtkXOpenGLTextMapper.h.


Constructor & Destructor Documentation

vtkXOpenGLTextMapper::vtkXOpenGLTextMapper   [protected]
 

vtkXOpenGLTextMapper::~vtkXOpenGLTextMapper   [protected]
 

vtkXOpenGLTextMapper::vtkXOpenGLTextMapper const vtkXOpenGLTextMapper &    [inline, protected]
 

Definition at line 81 of file vtkXOpenGLTextMapper.h.


Member Function Documentation

virtual const char* vtkXOpenGLTextMapper::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXTextMapper.

int vtkXOpenGLTextMapper::IsTypeOf const char *    type [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 vtkXTextMapper.

virtual int vtkXOpenGLTextMapper::IsA const char *    type [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 vtkXTextMapper.

vtkXOpenGLTextMapper* vtkXOpenGLTextMapper::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXTextMapper.

vtkXOpenGLTextMapper* vtkXOpenGLTextMapper::New   [static]
 

Creates a new text mapper with Font size 12, bold off, italic off, and Arial font.

Reimplemented from vtkXTextMapper.

void vtkXOpenGLTextMapper::RenderOpaqueGeometry vtkViewport   viewport,
vtkActor2D   actor
[virtual]
 

Actally draw the text.

Reimplemented from vtkMapper2D.

void vtkXOpenGLTextMapper::RenderTranslucentGeometry vtkViewport   viewport,
vtkActor2D   actor
[virtual]
 

Reimplemented from vtkMapper2D.

void vtkXOpenGLTextMapper::RenderGeometry vtkViewport   viewport,
vtkActor2D   actor
 

void vtkXOpenGLTextMapper::RenderOverlay vtkViewport   viewport,
vtkActor2D   actor
[inline, virtual]
 

Draw the text to the screen.

Reimplemented from vtkXTextMapper.

Definition at line 67 of file vtkXOpenGLTextMapper.h.

virtual void vtkXOpenGLTextMapper::ReleaseGraphicsResources vtkWindow   [virtual]
 

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkAbstractMapper.

int vtkXOpenGLTextMapper::GetListBaseForFont vtkTextMapper   tm,
vtkViewport   vp,
Font   
[static]
 

An internal function used for caching font display lists.

void vtkXOpenGLTextMapper::operator= const vtkXOpenGLTextMapper &    [inline, protected]
 

Definition at line 82 of file vtkXOpenGLTextMapper.h.


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 13:03:34 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001