vtlib library
List of all members
vtDynBoundBox Class Reference

Detailed Description

A dynamic visual display of a wireframe bounding box, which can be very useful for debugging things involving extents in the 3D scene. To use:

// Create
vtDynBoundBox *box = new vtDynBoundBox(RGBf(0,0,1)); // blue box
parent->addChild(box->pGeode);
// Use it to show a node's bounding box
FBox3 bb;
GetNodeBoundBox(node, bb);
box->SetBox(bb);