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

vtkQuartzTextMapper Class Reference

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

#include <vtkQuartzTextMapper.h>

Inheritance diagram for vtkQuartzTextMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkQuartzTextMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void RenderOverlay (vtkViewport *viewport, vtkActor2D *actor)
void GetSize (vtkViewport *viewport, int size[2])

Static Public Methods

int IsTypeOf (const char *type)
vtkQuartzTextMapper * SafeDownCast (vtkObject *o)
vtkQuartzTextMapper * New ()

Protected Methods

 vtkQuartzTextMapper ()
 ~vtkQuartzTextMapper ()

Protected Attributes

vtkTimeStamp BuildTime
int LastSize [2]
void * Font

Detailed Description

2D Text annotation support for windows.

Date:
2001/10/11 13:38:23
Revision:
1.3
Thanks:
Thanks to Matt Turek who developed this class.
vtkQuartzTextMapper 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 60 of file vtkQuartzTextMapper.h.


Constructor & Destructor Documentation

vtkQuartzTextMapper::vtkQuartzTextMapper   [protected]
 

vtkQuartzTextMapper::~vtkQuartzTextMapper   [protected]
 


Member Function Documentation

virtual const char* vtkQuartzTextMapper::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 vtkTextMapper.

int vtkQuartzTextMapper::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 vtkTextMapper.

virtual int vtkQuartzTextMapper::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 vtkTextMapper.

vtkQuartzTextMapper* vtkQuartzTextMapper::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 vtkTextMapper.

vtkQuartzTextMapper* vtkQuartzTextMapper::New   [static]
 

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

Reimplemented from vtkTextMapper.

void vtkQuartzTextMapper::RenderOverlay vtkViewport   viewport,
vtkActor2D   actor
[virtual]
 

Actally draw the text.

Reimplemented from vtkMapper2D.

void vtkQuartzTextMapper::GetSize vtkViewport   viewport,
int    size[2]
[virtual]
 

What is the size of the rectangle required to draw this mapper ?

Reimplemented from vtkTextMapper.


Member Data Documentation

vtkTimeStamp vtkQuartzTextMapper::BuildTime [protected]
 

Definition at line 76 of file vtkQuartzTextMapper.h.

int vtkQuartzTextMapper::LastSize[2] [protected]
 

Definition at line 77 of file vtkQuartzTextMapper.h.

void* vtkQuartzTextMapper::Font [protected]
 

Definition at line 78 of file vtkQuartzTextMapper.h.


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