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

Represents an abstract point whose coordinates are integers. More...

#include <OSDLPoint.h>

Inheritance diagram for OSDL::Video::TwoDimensional::Point:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Point ()
 Basic abstract constructor of a point .
virtual ~Point () throw ()
 Virtual destructor of a point.
virtual void flip ()=0
 Flips the coordinates of this point (negates them all).
virtual const std::string toString (Ceylan::VerbosityLevels level=Ceylan::high) const
 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.

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 61 of file OSDLPoint.h.


Constructor & Destructor Documentation

Point::Point (  ) 

Basic abstract constructor of a point .

Definition at line 41 of file OSDLPoint.cc.

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

Virtual destructor of a point.

Definition at line 48 of file OSDLPoint.cc.


Member Function Documentation

virtual void OSDL::Video::TwoDimensional::Point::flip (  )  [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 [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 55 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 108 of file OSDLPoint.h.


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 14:06:18 2010 for OSDL by  doxygen 1.6.3