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 Member Functions


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 Wed Sep 10 11:25:17 2003 for X3DToolKit by doxygen1.3