13 static unsigned int pickCounter = 0;
16 pickName = ++pickCounter;
32 list<VART::SceneNode*>::const_iterator iter;
36 for (iter = childList.begin(); iter != childList.end(); ++iter) {
52 bBox.visible = !bBox.visible;
56 recBBox.visible = !recBBox.visible;
65 list<VART::SceneNode*>::const_iterator iter;
69 recBBox.CopyGeometryFrom(bBox);
71 for (iter = childList.begin(); iter != childList.end(); ++iter) {
81 recBBox.MergeWith(box);
87 recBBox.ProcessCenter();
91 list<VART::SceneNode*>::const_iterator iter;
95 for (iter = childList.begin(); iter != childList.end(); ++iter)
96 (*iter)->DrawForPicking();
virtual void DrawForPicking() const
Draws and object, setting pick info.
Header file for V-ART class "GraphicObj".
void Hide()
Makes the object invisible.
void ComputeRecursiveBoundingBox()
Computes the recursive bounding box.
void ToggleVisibility()
Toggles the object's visibility.
bool IsVisible()
Checks whether the object is visible.
Axis aligned bounding box.
void ToggleRecVisibility()
Toggles the recursive object's visibility.
An scene node that is associated with a shape.
void Show()
Makes the object visible.
void ToggleRecBBoxVisibility()
Toggles the recursive bounding box visibility.
void ToggleBBoxVisibility()
Toggles the bounding box visibility.
const BoundingBox & GetRecursiveBoundingBox() const
Returns the recursive bounding box.