Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::SimpleBox Class Reference
[Geometric Objects]

SimpleBox class. More...

#include <simpleBox.h>

Inheritance diagram for VIEW::SimpleBox:

TSimpleBox3< float > VIEW::GeometricObject List of all members.

Public Member Functions

Constructors
 SimpleBox () throw ()
 Default Constructor.
 SimpleBox (const SimpleBox &box) throw ()
 Copy constructor with cloning facility.
Destructors
virtual ~SimpleBox () throw ()
 Destructor.
virtual void clear () throw ()
 Explicit default initialization.
Assignment methods
void set (const SimpleBox &box) throw ()
 Assignment.
const SimpleBoxoperator= (const SimpleBox &box) throw ()
 Assignment operator.
debuggers and diagnostics
virtual bool isValid () const throw ()
 Internal state and consistency self-validation.
virtual void dump (std::ostream &s=std::cout, Size depth=0) const throw ()
 Internal value dump.
virtual void getVertices (vector< Vector3 > &vertices) const

Detailed Description

SimpleBox class.

An instance of this class represents an instance of the geometric representation of a simple box. A simpleBox is a box whose sides are parallel to the coordinate axes. The class SimpleBox is derived from the classes GeometricObject and SimpleBox3. See these classes for further information concerning interface and additional methods.


Constructor & Destructor Documentation

VIEW::SimpleBox::SimpleBox  )  throw ()
 

Default Constructor.

The properties of this SimpleBox are set to:

  • color - to the color black

VIEW::SimpleBox::SimpleBox const SimpleBox box  )  throw ()
 

Copy constructor with cloning facility.

virtual VIEW::SimpleBox::~SimpleBox  )  throw () [virtual]
 

Destructor.


Member Function Documentation

virtual void VIEW::SimpleBox::clear  )  throw () [virtual]
 

Explicit default initialization.

Calls GeometricObject::clear Calls SimpleBox3::clear

Reimplemented from VIEW::GeometricObject.

virtual void VIEW::SimpleBox::dump std::ostream &  s = std::cout,
Size  depth = 0
const throw () [virtual]
 

Internal value dump.

Dump the current value of this SimpleBox to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls SimpleBox3::dump.

Parameters:
s output stream where to output the value of this SimpleBox
depth the dumping depth
See also:
GeometricObject::dump

SimpleBox::dump

Reimplemented from VIEW::GeometricObject.

virtual bool VIEW::SimpleBox::isValid  )  const throw () [virtual]
 

Internal state and consistency self-validation.

Initiate self-validation of the internal state and data structure consistencies of this SimpleBox. If the internal state of this SimpleBox is correct (self-validated) and consistent true is returned, false otherwise. Calls GeometricObject::isValid. Calls SimpleBox3::isValid.

See also:
GeometricObject::isValid

SimpleBox3::isValid

Reimplemented from VIEW::GeometricObject.

const SimpleBox& VIEW::SimpleBox::operator= const SimpleBox box  )  throw ()
 

Assignment operator.

void VIEW::SimpleBox::set const SimpleBox box  )  throw ()
 

Assignment.