#include <BALL/VIEW/PRIMITIVES/simpleBox.h>
Public Member Functions | |
Constructors | |
SimpleBox () | |
SimpleBox (const SimpleBox &box) | |
Destructors | |
virtual | ~SimpleBox () |
virtual void | clear () |
Assignment methods | |
void | set (const SimpleBox &box) |
const SimpleBox & | operator= (const SimpleBox &box) |
debuggers and diagnostics | |
virtual bool | isValid () const |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
virtual void | getVertices (vector< Vector3 > &vertices) const |
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.
BALL::VIEW::SimpleBox::SimpleBox | ( | ) |
Default Constructor. The properties of this SimpleBox are set to:
BALL::VIEW::SimpleBox::SimpleBox | ( | const SimpleBox & | box | ) |
Copy constructor with cloning facility.
virtual BALL::VIEW::SimpleBox::~SimpleBox | ( | ) | [virtual] |
Destructor.
virtual void BALL::VIEW::SimpleBox::clear | ( | ) | [virtual] |
Explicit default initialization. Calls GeometricObject::clear Calls SimpleBox3::clear
Reimplemented from BALL::VIEW::GeometricObject.
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.
s | output stream where to output the value of this SimpleBox | |
depth | the dumping depth |
Reimplemented from BALL::VIEW::GeometricObject.
virtual void BALL::VIEW::SimpleBox::getVertices | ( | vector< Vector3 > & | vertices | ) | const [virtual] |
Reimplemented from BALL::VIEW::GeometricObject.
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.
Reimplemented from BALL::VIEW::GeometricObject.
void BALL::VIEW::SimpleBox::set | ( | const SimpleBox & | box | ) |
Assignment.