Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
vtDynBoundBox Class Reference

#include <GeomUtil.h>

Public Member Functions

 vtDynBoundBox (const RGBf &color)
 
void SetBox (const FBox3 &box)
 

Public Attributes

vtGeodepGeode
 
vtMeshpMesh
 

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);

The documentation for this class was generated from the following files: