Class NavigationInfoExample
This example provides three Viewpoint nodes bound to corresponding selectable NavigationInfo nodes that override navigation modes in the Hello World example, superseding default NavigationInfo type provided in that contained Inline model. To test this model, change viewpoints and then try to navigate each time, noting the new navigation mode.
Related links: Catalog page NavigationInfoExample, source NavigationInfoExample.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
| meta tags | Document Metadata |
| title | NavigationInfoExample.x3d |
| description | This example provides three Viewpoint nodes bound to corresponding selectable NavigationInfo nodes that override navigation modes in the Hello World example, superseding default NavigationInfo type provided in that contained Inline model. To test this model, change viewpoints and then try to navigate each time, noting the new navigation mode. |
| info | NavigationInfo nodes have their own binding stack, similar to Viewpoint nodes, meaning that they can be activated (bound) in any order, but only one can be active at a given time. Cross-connecting a custom NavigationInfo to some Viewpoints can improve user experience in larger scenes. |
| creator | Don Brutzman |
| creator | Leonard Daly |
| created | 14 November 2005 |
| modified | 12 August 2025 |
| Image | NavigationInfoExampleDashboard.png |
| Image | NavigationInfoExampleIndexPage.png |
| reference | X3D Scene Authoring Hints: Viewing and Navigation https://web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Viewpoints |
| reference | https://www.web3d.org/x3d/content/examples/X3dResources.html |
| rights | Copyright (c) 2005, Daly Realism and Don Brutzman |
| subject | X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com |
| identifier | https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter04ViewingNavigation/NavigationInfoExample.x3d |
| generator | X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit |
| license | ../license.html |
This program uses the
X3D Java Scene Access Interface Library (X3DJSAIL).
It has been produced using the
X3dToJava.xslt
stylesheet
(version control)
which is used to create Java source code from an original .x3d model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3DProvide a shallow copy of the X3D model.final voidCreate and initialize the X3D model for this object.static voidDefault main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
NavigationInfoExample
public NavigationInfoExample()Default constructor to create this object.
-
-
Method Details
-
initialize
public final void initialize()Create and initialize the X3D model for this object. -
getX3dModel
public org.web3d.x3d.jsail.Core.X3D getX3dModel()Provide a shallow copy of the X3D model.- Returns:
- NavigationInfoExample model
- See Also:
-
main
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.- Parameters:
args- array of input parameters, provided as arguments- See Also:
-