#include <simpleBox.h>
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 |
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 | ( | ) |
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.
s | output stream where to output the value of this SimpleBox | |
depth | the dumping depth |
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.
Reimplemented from BALL::TSimpleBox3< T >.