Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DTK::BBox Class Reference

Class providing a Bounding Box. More...

Inheritance diagram for X3DTK::BBox:

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

Public Methods


Detailed Description

Class providing a Bounding Box.

The attributes are a center and size a vector representing the diagonal.


Constructor & Destructor Documentation

X3DTK::BBox::BBox  
 

Default constructor.

Reimplemented in X3DTK::GL::BBox.

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

Constructor with center of the BBox and its size.

Reimplemented in X3DTK::GL::BBox.

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

Constructs th Bounding Box of the vertices of the node coord.

X3DTK::BBox::BBox const BBox &    B
 

Copy constructor.


Member Function Documentation

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

Gets the center of the Bounding Box.

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 Thu Oct 9 13:50:57 2003 for X3DToolKit by doxygen1.2.18