| 1 |
NAME SoWrapperKit SoWrapKit "" { wrapper nodekit class } |
| 2 |
|
| 3 |
INCLUDE nodekits/SoWrapperKit.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
\cSoWrapperKit\. is derived from \cSoSeparatorKit\.. |
| 7 |
It adds the capability to wrap an arbitrary scene graph, (non-nodekit), |
| 8 |
within an \cSoSeparatorKit\., so that it may be used along with other |
| 9 |
shape kits in a hierarchy. There are two additional parts |
| 10 |
included in \cSoWrapperKit\.: \elocalTransform\. and \econtents\.. |
| 11 |
\p |
| 12 |
The part \econtents\. is an \cSoSeparator\. node beneath which |
| 13 |
any arbitrary scene graph can be added. This is especially useful |
| 14 |
for importing scene graphs of unknown structure (non-nodekits) |
| 15 |
into nodekit format. |
| 16 |
\p |
| 17 |
Since an \cSoWrapperKit\. is a class descended from \cSoSeparatorKit\., |
| 18 |
it may be put into another \cSoSeparatorKit\.'s \echildList\.. |
| 19 |
} |
| 20 |
|
| 21 |
|
| 22 |
METHOD "" SoWrapperKit() { Constructor. } |
| 23 |
|
| 24 |
METHOD getClassNkitCat static |
| 25 |
const SoNodekitCatalog *getClassNodekitCatalog() const |
| 26 |
{ Returns an \cSoNodekitCatalog\. for the class \cSoWrapperKit\.. } |
| 27 |
|
| 28 |
METHOD "" static SoType getClassTypeId() { |
| 29 |
Returns type identifier for this class. |
| 30 |
} |
| 31 |
|
| 32 |
|
| 33 |
PART localTransform |
| 34 |
{ This part is an \cSoTransform\. node that is used to |
| 35 |
affect the scene graph defined in \econtents\. part. |
| 36 |
This part is \kNULL\. by default and is automatically |
| 37 |
created if requested. } |
| 38 |
|
| 39 |
PART contents |
| 40 |
{ This part is an \cSoSeparator\. node that contains |
| 41 |
a user-supplied scene graph. This scene graph can contain |
| 42 |
any nodes. This part is \kNULL\. by default and an \cSoSeparator\. |
| 43 |
is automatically |
| 44 |
created if the user asks the nodekit to build the part.} |
| 45 |
|
| 46 |
|
| 47 |
ALSO { |
| 48 |
SoAppearanceKit, |
| 49 |
SoBaseKit, |
| 50 |
SoCameraKit, |
| 51 |
SoLightKit, |
| 52 |
SoNodeKit, |
| 53 |
SoNodeKitDetail, |
| 54 |
SoNodeKitListPart, |
| 55 |
SoNodeKitPath, |
| 56 |
SoNodekitCatalog, |
| 57 |
SoSceneKit, |
| 58 |
SoSeparatorKit, |
| 59 |
SoShapeKit } |