instantreality 1.0

Component:
SpatialUserInterface
Status:
experimental
Structure type:
concrete
Standard:
Avalon

ConstructionKitWidget

GUI Representation of Objects. The Widgets instantiate the ConstructionKitItems they represent in the ConstructionKit-GUI.

Inheritance

Code

XML encoding
<ConstructionKitWidget label=''
shareModel='TRUE'
deployTransformation='identity'
parentKit='NULL'
center='0 0 0'
rotation='0 0 1 0'
scale='1 1 1'
scaleOrientation='0 0 1 0'
translation='0 0 0'
invert='FALSE'
showProxyGeometry='FALSE'
bboxCenter='0 0 0'
bboxSize='-1 -1 -1'
render='TRUE'
showBBox='FALSE'
logFeature=''
 />
Classic encoding
ConstructionKitWidget {
	label [""]
	shareModel TRUE
	deployTransformation identity
	parentKit NULL
	center 0 0 0
	rotation 0 0 1 0
	scale 1 1 1
	scaleOrientation 0 0 1 0
	translation 0 0 0
	invert FALSE
	showProxyGeometry FALSE
	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
MFNode 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
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
SFVec3f center SFVec3f inputOutput 0 0 0 Translation offset from origin of local coordinate system.
MFNode children MFNode inputOutput Node field that contains a list of children nodes
SFNode deployNode SFNode inputOutput ChildGroup Tthis node is set by the parental ConstructionKit node.
SFMatrix4f deployTransformation SFMatrix4f inputOutput identity The initial transformation of created instances. (is set by a parental ConstructionKit)
SFNode icon SFNode initializeOnly this node is used as representation in the ConstructionKit. Will always be scaled to 1x1x1. This behaviour can be suppressed by attaching an empty node (e.g. Group {}) and attaching your custom sized-node to the 'children' field. Tip: if 'icon' is too thin to hit with your input device, add a transparent box to it or the 'children' node.
SFBool invert SFBool inputOutput FALSE inverts matrix if true
MFString label MFString initializeOnly The label shown under the Widget on the ConstructionKit-GUI.
MFString 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
SFMatrix4f matrix_changed SFMatrix4f outputOnly The matrix that defines the nodes transformation after an update.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFNode model SFNode initializeOnly Takes the model that will be instantiated on selection of this Widget.
SFAny parentKit SFAny initializeOnly NULL ConstructionKit link to the parent kit
MFNode 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
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
SFRotation rotation SFRotation inputOutput 0 0 1 0 Orientation of children relative to local coordinate system.
SFVec3f scale SFVec3f inputOutput 1 1 1 Non-uniform x-y-z scale of child coordinate system, adjusted by center and scaleOrientation.
SFRotation scaleOrientation SFRotation inputOutput 0 0 1 0 Preliminary rotation of coordinate system before scaling (to allow scaling around arbitrary orientations).
SFBool shareModel SFBool initializeOnly TRUE share or copy model for new instances? Copy is needed for "dynmic" nodes to work (e.g. physicsNodePool)
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
SFBool showProxyGeometry SFBool inputOutput FALSE show cartesian coordinate system
MFNode snapIns MFNode initializeOnly SnapIn SnapIns that should be assigned to new Item-Instances.
MFNode snapSensors MFNode initializeOnly SnapSensor SnapSensors that should be assigned to new Item-Instances.
SFVec3f translation SFVec3f inputOutput 0 0 0 Position of children relative to local coordinate system.