Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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


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

An internal function used for caching font display lists.

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.

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.

vtkWin32OpenGLTextMapper* vtkWin32OpenGLTextMapper::New   [static]
 

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

Reimplemented from vtkWin32TextMapper.

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.

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

Actally draw the text.

Reimplemented from vtkMapper2D.

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

Actally draw the text.

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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:35:18 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002