OSDL::Video::TwoDimensional::Point Class Reference

#include <OSDLPoint.h>

Inheritance diagram for OSDL::Video::TwoDimensional::Point:

[legend]
List of all members.

Detailed Description

Represents an abstract point whose coordinates are integers.

Note:
These integer points are especially useful to handle graphical user interface elements, such as widgets.

Definition at line 31 of file OSDLPoint.h.

Public Member Functions

 Point () throw ()
 Basic abstract constructor of a point .
virtual ~Point () throw ()
 Virtual destructor of a point.
virtual void flip ()=0 throw ()
 Flips the coordinates of this point (negates them all).
virtual const std::string toString (Ceylan::VerbosityLevels level=Ceylan::high) const throw ()
 Returns an user-friendly description of the state of this object.

Static Public Attributes

static const Ceylan::Maths::Linear::MatrixIndex Dimensions = 0
 Tells what is the dimension of the space this point is defined in.


Constructor & Destructor Documentation

Point::Point (  )  throw ()

Basic abstract constructor of a point .

Definition at line 15 of file OSDLPoint.cc.

Point::~Point (  )  throw () [virtual]

Virtual destructor of a point.

Definition at line 21 of file OSDLPoint.cc.


Member Function Documentation

virtual void OSDL::Video::TwoDimensional::Point::flip (  )  throw () [pure virtual]

Flips the coordinates of this point (negates them all).

Implemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.

const string Point::toString ( Ceylan::VerbosityLevels  level = Ceylan::high  )  const throw () [virtual]

Returns an user-friendly description of the state of this object.

Parameters:
level the requested verbosity level.
Note:
Text output format is determined from overall settings.
See also:
Ceylan::TextDisplayable

Reimplemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.

Definition at line 27 of file OSDLPoint.cc.

Referenced by operator<<().


Member Data Documentation

const Ceylan::Maths::Linear::MatrixIndex OSDL::Video::TwoDimensional::Point::Dimensions = 0 [static]

Tells what is the dimension of the space this point is defined in.

Reimplemented in OSDL::Video::TwoDimensional::Point2D, and OSDL::Video::TwoDimensional::Point3D.

Definition at line 76 of file OSDLPoint.h.


The documentation for this class was generated from the following files:
Generated on Fri Mar 30 14:47:34 2007 for OSDL by  doxygen 1.5.1