X3DTK::BBox Class Reference
[base]

Class declared in <X3DTK/kernel.h> providing a bounding box. More...

Inheritance diagram for X3DTK::BBox:

X3DTK::GL::BBox List of all members.

Public Member Functions


Detailed Description

Class declared in <X3DTK/kernel.h> providing a bounding box.

The bounding box is defined by its center and its size (diagonal).


Constructor & Destructor Documentation

X3DTK::BBox::BBox  ) 
 

Constructor.

Reimplemented in X3DTK::GL::BBox.

X3DTK::BBox::BBox const SFVec3f center,
const SFVec3f size
 

Constructor with the center and the size as parameters.

Reimplemented in X3DTK::GL::BBox.

X3DTK::BBox::BBox const MFVec3f coord  )  [explicit]
 

Constructs the bounding box from a set of vertices.

X3DTK::BBox::BBox const BBox B  ) 
 

Copy constructor.


Member Function Documentation

const SFVec3f& X3DTK::BBox::getCenter  )  const [inline]
 

Gets the center of the bounding box.

const SFVec3f& X3DTK::BBox::getSize  )  const [inline]
 

Gets the size of the bounding box.

void X3DTK::BBox::setCenter const SFVec3f center  )  [inline]
 

Sets the center of the bounding box.

void X3DTK::BBox::setSize const SFVec3f size  )  [inline]
 

Sets the Size of the bounding box.


Generated on Fri Aug 27 13:16:30 2004 for X3DToolKit by doxygen 1.3.6