SoBotanicalBase Class Reference
[BotanicVis]
base class for all elements of a botanical tree
More...
#include <SoBotanicalBase.h>
Inheritance diagram for SoBotanicalBase:
Public Methods | |
SoBotanicalBase () | |
virtual SbBool | setUpConnections (SbBool onOff, SbBool doItAlways=FALSE) |
Static Public Methods | |
void | initClass () |
Public Attributes | |
SoSFFloat | lengthOfBranch |
SoSFInt32 | strands |
Protected Methods | |
virtual | ~SoBotanicalBase () |
virtual void | resizeHeightCB () |
virtual void | resizeThicknessCB () |
Static Protected Methods | |
void | lengthOfBranchCB (void *, SoSensor *) |
void | strandsCB (void *, SoSensor *) |
Protected Attributes | |
SoSFNode | geometry |
SoFieldSensor | lengthOfBranchSensor |
SoFieldSensor | strandsSensor |
Detailed Description
base class for all elements of a botanical treeCATALOG PARTS
All Parts
Part Name | Part Type | Default Type | NULL Default |
geometry | SoSeparator | SoSeparator | YES |
File Format / defaults:
SoBotanicalBase { SoSFInt32 strands 0 SoSFFloat lengthOfBranch 10.0 }
Constructor & Destructor Documentation
|
constructor
|
|
destructor
|
Member Function Documentation
|
Inventor class initialization.
Reimplemented in SoBotanicalBranch, and SoBotanicalFruit. |
|
calls resizeHeightCB()
|
|
Reimplemented in SoBotanicalBranch, and SoBotanicalFruit. |
|
Reimplemented in SoBotanicalBranch, and SoBotanicalFruit. |
|
sets the connections of the sensors
Reimplemented in SoBotanicalBranch, and SoBotanicalFruit. |
|
calls strandsCB()
|
Member Data Documentation
|
contains the geometry of this element of the botanical tree
|
|
this field specifies the height of the cylinders representing the branches
|
|
sensor attached to the field "lengthOfBranches"
|
|
in this field the number of strands of this element is stored. The number of strands of one botanical branch equals the sum of strands of its subbranches. The number of strands of a fruit depends on the size of the leafs represented by this fruit |
|
sensor attached to the field "strands"
|
The documentation for this class was generated from the following files: