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

vtkWin32OpenGLTextMapper Class Reference

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

#include <vtkWin32OpenGLTextMapper.h>

Inheritance diagram for vtkWin32OpenGLTextMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkWin32OpenGLTextMapper:

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 *viewport, vtkActor2D *actor)
virtual void ReleaseGraphicsResources (vtkWindow *)

Static Public Methods

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

Protected Methods

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

Detailed Description

2D Text annotation support for windows.

Date:
2000/12/10 20:09:14
Revision:
1.12
Thanks:
Thanks to Matt Turek who developed this class.
vtkWin32OpenGLTextMapper 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 59 of file vtkWin32OpenGLTextMapper.h.


Constructor & Destructor Documentation

vtkWin32OpenGLTextMapper::vtkWin32OpenGLTextMapper   [protected]
 

vtkWin32OpenGLTextMapper::~vtkWin32OpenGLTextMapper   [protected]
 

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

Definition at line 82 of file vtkWin32OpenGLTextMapper.h.


Member Function Documentation

virtual const char* vtkWin32OpenGLTextMapper::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 vtkWin32TextMapper.

int vtkWin32OpenGLTextMapper::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 vtkWin32TextMapper.

virtual int vtkWin32OpenGLTextMapper::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 vtkWin32TextMapper.

vtkWin32OpenGLTextMapper* vtkWin32OpenGLTextMapper::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 vtkWin32TextMapper.

vtkWin32OpenGLTextMapper* vtkWin32OpenGLTextMapper::New   [static]
 

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

Reimplemented from vtkWin32TextMapper.

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

Actally draw the text.

Reimplemented from vtkMapper2D.

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

Reimplemented from vtkMapper2D.

void vtkWin32OpenGLTextMapper::RenderGeometry vtkViewport   viewport,
vtkActor2D   actor
 

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

Actally draw the text.

Reimplemented from vtkWin32TextMapper.

Definition at line 69 of file vtkWin32OpenGLTextMapper.h.

virtual void vtkWin32OpenGLTextMapper::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 vtkWin32OpenGLTextMapper::GetListBaseForFont vtkTextMapper   tm,
vtkViewport   vp
[static]
 

An internal function used for caching font display lists.

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

Definition at line 83 of file vtkWin32OpenGLTextMapper.h.


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