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)
virtual void ReleaseGraphicsResources (vtkWindow *)
void RenderOpaqueGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderTranslucentGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderGeometry (vtkViewport *viewport, vtkActor2D *actor)
void RenderOverlay (vtkViewport *, vtkActor2D *)

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 ()

Detailed Description

2D Text annotation support for windows.

Date:
2001/11/13 14:17:37
Revision:
1.9

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 58 of file vtkXOpenGLTextMapper.h.


Constructor & Destructor Documentation

vtkXOpenGLTextMapper::vtkXOpenGLTextMapper   [protected]
 

vtkXOpenGLTextMapper::~vtkXOpenGLTextMapper   [protected]
 


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]
 

Actally draw the text.

Reimplemented from vtkMapper2D.

void vtkXOpenGLTextMapper::RenderGeometry vtkViewport   viewport,
vtkActor2D   actor
 

Actally draw the text.

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

Actally draw the text.

Reimplemented from vtkMapper2D.

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


The documentation for this class was generated from the following files:
Generated on Thu Mar 28 14:48:54 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001