Viewspace
The viewpsace transfrom node transforms its childs to the coordinate system of the current active viewpoint. If applyEyeTransform is TRUE then a tracked eyePosition is used.
Inheritance
Code
XML encoding
<Viewspace applyEyeTransform='FALSE' scaleToScene='FALSE' center='0 0 0' rotation='0 0 1 0' scale='1 1 1' scaleOrientation='0 0 1 0' translation='0 0 0' excludeVolumeFromShowAllCalc='TRUE' invert='FALSE' showProxyGeometry='FALSE' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
Viewspace {
applyEyeTransform FALSE
scaleToScene FALSE
center 0 0 0
rotation 0 0 1 0
scale 1 1 1
scaleOrientation 0 0 1 0
translation 0 0 0
excludeVolumeFromShowAllCalc TRUE
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 |
|---|---|---|---|---|---|---|
| applyEyeTransform | SFBool | inputOutput | FALSE | If true, the coordinate system is relative to the tracked eye position | ||
| scaleToScene | SFBool | inputOutput | FALSE | If true, scale the viewspace to the same size as defined in sceneScale of NavigationInfo | ||
| matrix_changed | SFMatrix4f | outputOnly | sends the transformation matrix if changed | |||
| center | SFVec3f | inputOutput | 0 0 0 | center specifies the origin for the scale and rotation operations. | ||
| rotation | SFRotation | inputOutput | 0 0 1 0 | rotation specifies a rotation in terms of an axis and angel, in radians. | ||
| scale | SFVec3f | inputOutput | 1 1 1 | scale specifies a scale, which can be nonuniform. | ||
| scaleOrientation | SFRotation | inputOutput | 0 0 1 0 | scaleOrientation specifies the rotation orientation for the scale operation. | ||
| translation | SFVec3f | inputOutput | 0 0 0 | translation specifies a translation vector. | ||
| excludeVolumeFromShowAllCalc | SFBool | inputOutput | TRUE | If true, the viewspace's volume is not included in the showAll calculation. | ||
| invert | SFBool | inputOutput | FALSE | inverts matrix if true | ||
| showProxyGeometry | SFBool | inputOutput | FALSE | show cartesian coordinate system | ||
| 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 |
