Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqCanvas Class Reference

The TxqCanvas is a base class for drawing TxqDrawable objects. More...

#include <TxqCanvas.h>

Inheritance diagram for TxqCanvas::

Txq2dCanvas Txq2dPrintCanvas List of all members.

Public Methods

 TxqCanvas ()
 The constructor is a default constructor. More...

virtual ~TxqCanvas ()
 The destructor. More...

virtual void add (TxqDrawable *drawAble)
 Add the canvas drawables. More...

virtual void remove (TxqDrawable *drawAble)
 Remove the canvas drawables. More...

virtual void remove ()
 Remove all the canvas drawables. More...

virtual void add (TxqAxis *axis)
 Add the canvas axis. More...

void remove (TxqAxis *axis)
 Remove the canvas axis. More...

TXSTD::vector<TxqDrawable*> getDrawAbles ()
 Get the canvas drawAbles. More...

TXSTD::vector<TxqAxis*> getAxes ()
 Get the canvas axes pointers. More...


Protected Attributes

TXSTD::vector<TxqDrawable*> drawAbles
 The vector of drawables. More...

TXSTD::vector<TxqAxis*> axes
 The vector of axes. More...


Detailed Description

The TxqCanvas is a base class for drawing TxqDrawable objects.

Copyright 2001 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqCanvas.h,v 1.1 2001/11/04 16:43:28 kgl Exp

Definition at line 46 of file TxqCanvas.h.


Constructor & Destructor Documentation

TxqCanvas::TxqCanvas ( )
 

The constructor is a default constructor.

TxqCanvas::~TxqCanvas ( ) [virtual]
 

The destructor.


Member Function Documentation

void TxqCanvas::add ( TxqAxis * axis ) [virtual]
 

Add the canvas axis.

Parameters:
axis   the TxqAxis pointer to add.

Reimplemented in Txq2dCanvas.

void TxqCanvas::add ( TxqDrawable * drawAble ) [virtual]
 

Add the canvas drawables.

Parameters:
drawAble   the TxqDrawable pointer to add to the canvas.

Reimplemented in Txq2dCanvas.

Referenced by Txq2dCanvas::add().

TXSTD::vector< TxqAxis *> TxqCanvas::getAxes ( ) [inline]
 

Get the canvas axes pointers.

Returns:
the vector of TxqAxis pointers that have been added to the canvas.

Definition at line 102 of file TxqCanvas.h.

TXSTD::vector< TxqDrawable *> TxqCanvas::getDrawAbles ( ) [inline]
 

Get the canvas drawAbles.

Returns:
the vector of TxqDrawable pointers that have been added to the canvas.

Definition at line 95 of file TxqCanvas.h.

void TxqCanvas::remove ( TxqAxis * axis )
 

Remove the canvas axis.

Parameters:
axis   the TxqAxis pointer to remove.

Reimplemented in Txq2dCanvas.

void TxqCanvas::remove ( ) [virtual]
 

Remove all the canvas drawables.

Reimplemented in Txq2dCanvas.

Referenced by Txq2dCanvas::remove().

void TxqCanvas::remove ( TxqDrawable * d ) [virtual]
 

Remove the canvas drawables.

Parameters:
drawAable   the TxqDrawable to remove from the canvas.

Reimplemented in Txq2dCanvas.


Member Data Documentation

TXSTD::vector< TxqAxis *> TxqCanvas::axes [protected]
 

The vector of axes.

Definition at line 114 of file TxqCanvas.h.

TXSTD::vector< TxqDrawable *> TxqCanvas::drawAbles [protected]
 

The vector of drawables.

Definition at line 109 of file TxqCanvas.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.