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

#include <BALL/VIEW/PRIMITIVES/simpleBox.h>

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

List of all members.

Public Member Functions

Constructors

 SimpleBox ()
 SimpleBox (const SimpleBox &box)
Destructors

virtual ~SimpleBox ()
virtual void clear ()
Assignment methods

void set (const SimpleBox &box)
const SimpleBoxoperator= (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

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.

Definition at line 33 of file simpleBox.h.


Constructor & Destructor Documentation

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

Default Constructor. The properties of this SimpleBox are set to:

  • color - to the color black
BALL::VIEW::SimpleBox::SimpleBox ( const SimpleBox box  ) 

Copy constructor with cloning facility.

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

Destructor.


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 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.

See also:
GeometricObject::isValid
SimpleBox3::isValid

Reimplemented from BALL::TSimpleBox3< T >.

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

Assignment operator.

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

Assignment.

Generated by  doxygen 1.6.3