ConstructionKit
The Construction kit is a 3D GUI for selecting objects to instantiate in the scene.
Inheritance
Code
XML encoding
<ConstructionKit deployTransformation='identity' rows='3' cols='4' itemBorder='0.2' caption='ConstructionKit' itemSize='1.0' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
ConstructionKit { deployTransformation identity rows 3 cols 4 itemBorder 0.2 caption ["ConstructionKit"] itemSize 1.0 bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
deployNode | SFNode | inputOutput | NULL | ChildGroup | this node will be the parent for new objects | |
deployTransformation | SFMatrix4f | inputOutput | identity | this is the transformation that weill be applied to new objects | ||
widgets | MFNode | initializeOnly | ConstructionKitWidget | takes the widgets that should be present in the GUI | ||
rows | SFInt32 | initializeOnly | 3 | THe number of rows the widgets should be layouted in. | ||
cols | SFInt32 | initializeOnly | 4 | THe number of columns the widgets should be layouted in. | ||
itemBorder | SFFloat | initializeOnly | 0.2 | border around GUI-Widgets | ||
caption | MFString | initializeOnly | ConstructionKit | Caption of the GUI | ||
handleAppearance | SFNode | initializeOnly | NULL | Appearance | Appearance of the GUI-handle. | |
panelAppearance | SFNode | initializeOnly | NULL | Appearance | Appearance for the main GUI panel behind the widgets. | |
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
addChildren | MFNode | inputOnly | The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored | |||
removeChildren | MFNode | inputOnly | The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored | |||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |