SoBuildBotanicAction Class Reference
[BotanicVis]
reorganises a hierarchical structure consisting of SoTreeNode's and SoTreeLeaf's into a botanical hierachical structure consisting of SoBotanicalBranch'es and SoBotanicalFruit's.
More...
#include <SoBuildBotanicAction.h>
Public Methods | |
| SoBuildBotanicAction () | |
| virtual | ~SoBuildBotanicAction () |
| SoSeparator * | getGeometry () const |
| void | setNumBranches (int num) |
Static Public Methods | |
| void | initClass () |
Protected Methods | |
| virtual void | beginTraversal (SoNode *node) |
Private Methods | |
| SO_ACTION_HEADER (SoBuildBotanicAction) | |
Static Private Methods | |
| void | callDoAction (SoAction *, SoNode *) |
| void | treeNodeAction (SoAction *, SoNode *) |
| void | treeLeafAction (SoAction *, SoNode *) |
Private Attributes | |
| SoSeparator * | treeLayout |
| int | numBranches |
| SoBotanicalBranch * | curBranch |
| SoNodeKitListPart * | curBranchList |
| bool | first |
Detailed Description
reorganises a hierarchical structure consisting of SoTreeNode's and SoTreeLeaf's into a botanical hierachical structure consisting of SoBotanicalBranch'es and SoBotanicalFruit's.This action is thus only responsible for determing the structure of the botanical tree and doesn't calculate any transformations of its elements.
Constructor & Destructor Documentation
|
|
constructor
|
|
|
destructor
|
Member Function Documentation
|
|
is called before traversal of the scenegraph
|
|
||||||||||||
|
function that is called for nodes that perform a default action behaviour e.g.separators
|
|
|
returns the structure of the botanical tree
|
|
|
inventor class initialisation
|
|
|
sets the number of branching connections to num
|
|
|
|
|
||||||||||||
|
function that is called for nodes of type SoTreeLeaf
|
|
||||||||||||
|
function that is called for nodes of type SoTreeNode
|
Member Data Documentation
|
|
pointer to the branch where the next child should be added
|
|
|
pointer to the node list of the branch where the next child should be added
|
|
|
if TRUE the current node that is traversed is the root node
|
|
|
number of branching connections leaving one branch
|
|
|
contains the new structure of the botanical tree
|
The documentation for this class was generated from the following files:
