Navigator2D
The Navigator 2D is used to navigate with a mouse through the scene
Inheritance
Code
XML encoding
<Navigator2D pickNodeType='Geometry' pickScene='true' enabled='TRUE' keyDic='u straightenUp, G dumpScreen, d dumpKeyMapping, D dumpMessageList, q noneNav, T toggleSortTrans, ENTER toggleFullScreen, t nextShadowMode, x toggleGlobalShadow, h toggleHeadlight, I toggleCollision, i toggleLazyInteractionEvaluation, a showAll, v toggleDrawVolume, c toggleCullFrustum, C toggleCullBackFace, S toggleCullSmallFeature, o toggleCullOcclusion, O nextOcclusionCullMode, [ decreaseCullFeature, ] increaseCullFeature, m nextDrawMode, SPACE nextInfoScreen, HOME firstView, END lastView, PGDN nextView, PGUP prevView, r resetViewPosition, w walkNav, s slideNav, p panNav, f flyNav, F freeFlyNav, e examineNav, g gameNav, l lookatNav, UP forward, DOWN backward, LEFT left, RIGHT right, R reload, n exportBackendASC, N exportBackendBIN, + increaseNavSpeed, - decreaseNavSpeed, B toggleFastRayIntersect, ESC escape' logFeature='' />
Classic encoding
Navigator2D {
pickNodeType "Geometry"
pickScene true
enabled TRUE
keyDic ["u straightenUp, G dumpScreen, d dumpKeyMapping, D dumpMessageList, q noneNav, T toggleSortTrans, ENTER toggleFullScreen, t nextShadowMode, x toggleGlobalShadow, h toggleHeadlight, I toggleCollision, i toggleLazyInteractionEvaluation, a showAll, v toggleDrawVolume, c toggleCullFrustum, C toggleCullBackFace, S toggleCullSmallFeature, o toggleCullOcclusion, O nextOcclusionCullMode, [ decreaseCullFeature, ] increaseCullFeature, m nextDrawMode, SPACE nextInfoScreen, HOME firstView, END lastView, PGDN nextView, PGUP prevView, r resetViewPosition, w walkNav, s slideNav, p panNav, f flyNav, F freeFlyNav, e examineNav, g gameNav, l lookatNav, UP forward, DOWN backward, LEFT left, RIGHT right, R reload, n exportBackendASC, N exportBackendBIN, + increaseNavSpeed, - decreaseNavSpeed, B toggleFastRayIntersect, ESC escape"]
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| mousePress | SFInt32 | inputOnly | Mouse press event in. This input is set by the application | |||
| mouseRelease | SFInt32 | inputOnly | Mouse release event in. This input is set by the application | |||
| mouseMove | SFVec2f | inputOnly | Mouse move event in. This input is set by the application | |||
| mouseOver | SFBool | outputOnly | TRUE is sent if the mouse points to a pointing sensor | |||
| triggerUpdate | SFTime | inputOnly | used to trigger camera updates (to be improved) | |||
| pickPositions | MFVec2f | inputOnly | Screen pixel position event in. This input is set by the application | |||
| pickNodeType | SFString | inputOutput | Geometry | The value node type for picking. | ||
| pickedNodes_changed | MFNode | outputOnly | The picked node, NULL if nothing was picked. | |||
| pickedPoints_changed | MFVec3f | outputOnly | The picked point. | |||
| pickedPanePositions_changed | MFVec3f | outputOnly | The intersection points with the viewing pane. | |||
| pickScene | SFBool | inputOutput | true | If false, pickedNodes and pickedPoints are not updated. | ||
| pickPositionsIDs | MFVec3f | inputOnly | Screen pixel position event in with ID in z. This input is set by the application. | |||
| pickedPanePositionsIDs_changed | MFVec4f | outputOnly | The intersection points (and IDs) with the viewing pane. | |||
| enabled | SFBool | inputOutput | TRUE | If TRUE, the navigator is enabled | ||
| message | SFString | inputOnly | Message to be processed. Valid messages are: straightenUp dumpScreen dumpMessageList dumpKeyMapping toggleSortTrans toggleFullScreen toggleHeadlight toggleCollision toggleGlobalShadow nextShadowMode toggleLazyInteractionEvaluation toggleDrawVolume toggleCullBackFace toggleCullFrustum toggleCullOcclusion toggleCullSmallFeature nextDrawMode pointDrawMode lineDrawMode fillDrawMode nextInfoScreen firstView lastView nextView prevView resetViewPosition showAll walkNav flyNav freeFlyNav examineNav lookatNav gameNav panNav slideNav noneNav forward backward left right exportBackendASC exportBackendBIN increaseNavSpeed decreaseNavSpeed exit toggleFastRayIntersect | |||
| keyDic | MFString | initializeOnly | u straightenUp, G dumpScreen, d dumpKeyMapping, D dumpMessageList, q noneNav, T toggleSortTrans, ENTER toggleFullScreen, t nextShadowMode, x toggleGlobalShadow, h toggleHeadlight, I toggleCollision, i toggleLazyInteractionEvaluation, a showAll, v toggleDrawVolume, c toggleCullFrustum, C toggleCullBackFace, S toggleCullSmallFeature, o toggleCullOcclusion, O nextOcclusionCullMode, [ decreaseCullFeature, ] increaseCullFeature, m nextDrawMode, SPACE nextInfoScreen, HOME firstView, END lastView, PGDN nextView, PGUP prevView, r resetViewPosition, w walkNav, s slideNav, p panNav, f flyNav, F freeFlyNav, e examineNav, g gameNav, l lookatNav, UP forward, DOWN backward, LEFT left, RIGHT right, R reload, n exportBackendASC, N exportBackendBIN, + increaseNavSpeed, - decreaseNavSpeed, B toggleFastRayIntersect, ESC escape | Keyboard mapping | ||
| keyPress | SFInt32 | inputOnly | Key press in slot | |||
| keyRelease | SFInt32 | inputOnly | Key release in slot | |||
| 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 | initializeOnly | MetadataObject | container for payload metadata inside MetadataSet element |
