BALL::VIEW::SimpleBox Class Reference
[Geometric Objects]

SimpleBox class. More...

#include <simpleBox.h>

Inheritance diagram for BALL::VIEW::SimpleBox:
Inheritance graph
[legend]

List of all members.


Public Member Functions

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

BALL::VIEW::SimpleBox::SimpleBox ( )

Default Constructor.

The properties of this SimpleBox are set to:

  • color - to the color black

Member Function Documentation

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

Explicit default initialization.

Calls GeometricObject::clear Calls SimpleBox3::clear

Reimplemented from BALL::TSimpleBox3< T >.

virtual void BALL::VIEW::SimpleBox::dump ( std::ostream & s = std::cout,
Size depth = 0
) const [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 BALL::TSimpleBox3< T >.

virtual bool BALL::VIEW::SimpleBox::isValid ( ) const [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 BALL::TSimpleBox3< T >.


Generated on Thu Aug 6 18:30:59 2009 for BALL by doxygen 1.5.8