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

vtkWin32TextMapper Class Reference

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

#include <vtkWin32TextMapper.h>

Inheritance diagram for vtkWin32TextMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkWin32TextMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

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

Protected Methods

 vtkWin32TextMapper ()
 ~vtkWin32TextMapper ()

Protected Attributes

vtkTimeStamp BuildTime
int LastSize [2]
HFONT Font

Detailed Description

2D Text annotation support for windows.

Date:
2001/10/11 13:38:34
Revision:
1.22
Thanks:
Thanks to Matt Turek who developed this class.
vtkWin32TextMapper 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 vtkWin32TextMapper.h.


Constructor & Destructor Documentation

vtkWin32TextMapper::vtkWin32TextMapper   [protected]
 

vtkWin32TextMapper::~vtkWin32TextMapper   [protected]
 


Member Function Documentation

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

Reimplemented in vtkWin32OpenGLTextMapper.

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

Reimplemented in vtkWin32OpenGLTextMapper.

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

Reimplemented in vtkWin32OpenGLTextMapper.

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

Reimplemented in vtkWin32OpenGLTextMapper.

vtkWin32TextMapper* vtkWin32TextMapper::New   [static]
 

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

Reimplemented from vtkTextMapper.

Reimplemented in vtkWin32OpenGLTextMapper.

void vtkWin32TextMapper::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 vtkWin32TextMapper::BuildTime [protected]
 

Definition at line 73 of file vtkWin32TextMapper.h.

int vtkWin32TextMapper::LastSize[2] [protected]
 

Definition at line 74 of file vtkWin32TextMapper.h.

HFONT vtkWin32TextMapper::Font [protected]
 

Definition at line 75 of file vtkWin32TextMapper.h.


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