0.44.0
|
#include <iNodeVisitorBoundings.h>
Inherits igor::iNodeVisitor.
Public Member Functions | |
void | getSphere (iaSphered &sphere) |
iNodeVisitorBoundings () | |
virtual | ~iNodeVisitorBoundings ()=default |
Public Member Functions inherited from igor::iNodeVisitor | |
iNodeVisitor ()=default | |
virtual | ~iNodeVisitor ()=default |
void | setTraverseInactiveChildren (bool traverseInactive=true) |
void | setTraverseSiblings (bool traverseSiblings=true) |
void | traverseTree (iNodePtr node) |
Protected Member Functions | |
void | preTraverse () override |
virtual bool | preOrderVisit (iNodePtr node, iNodePtr nextSibling) override |
virtual void | postOrderVisit (iNodePtr node) override |
virtual void | postTraverse () override |
virtual void | preTraverse ()=0 |
virtual bool | preOrderVisit (iNodePtr node, iNodePtr nextSibling)=0 |
virtual void | postOrderVisit (iNodePtr node)=0 |
virtual void | postTraverse ()=0 |
calculates the combined boundings of a subtree of nodes
igor::iNodeVisitorBoundings::iNodeVisitorBoundings | ( | ) |
initializes node visitor
|
virtualdefault |
does nothing
void igor::iNodeVisitorBoundings::getSphere | ( | iaSphered & | sphere | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
does nothing
Implements igor::iNodeVisitor.
|
overrideprotectedvirtual |
merges bounding spheres from all children while traversal
node | current node |
Implements igor::iNodeVisitor.
|
overrideprotectedvirtual |
does nothing
Implements igor::iNodeVisitor.