X3DTK::X3D::BBoxUpdater Class Reference
[X3D]

Class declared in <X3DTK/X3D/bboxupdater.h> providing a processor that computes the bounding boxes of the X3D scene graph. More...

Inheritance diagram for X3DTK::X3D::BBoxUpdater:

X3DTK::X3DOnePassProcessor X3DTK::X3DProcessor List of all members.

Public Member Functions


Detailed Description

Class declared in <X3DTK/X3D/bboxupdater.h> providing a processor that computes the bounding boxes of the X3D scene graph.

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 &center = S->getCenter(); // Getting the diagonal vector of the bounding box. const SFVec3f &size = S->getSize();


Constructor & Destructor Documentation

X3DTK::X3D::BBoxUpdater::BBoxUpdater  ) 
 

Constructor.

virtual X3DTK::X3D::BBoxUpdater::~BBoxUpdater  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void X3DTK::X3D::BBoxUpdater::update SFNode  N,
bool  staticProcessing = false
[virtual]
 

Updates the Bounding Boxes of the scene.


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