Inheritance diagram for X3DTK::X3D::BBoxUpdater:
The bounding boxes are mainly stored in the X3DTK::X3D::Shape, X3DTK::X3D::Group, X3DTK::X3D::Transform, X3DTK::X3D::Scene which inherit X3DTK::X3D::X3DBoundedObject. To get the bounding box attribute, you can write:
X3DTK::X3D::Shape *S; // Getting the center of the bounding box. const SFVec3f ¢er = S->getCenter(); // Getting the diagonal vector of the bounding box. const SFVec3f &size = S->getSize();
|
Constructor.
|
|
Destructor.
|
|
Updates the Bounding Boxes of the scene.
|