Class Figure09_2SpinningCubeTouchSensorClicked
java.lang.Object
Vrml2Sourcebook.Chapter09SensingViewer.Figure09_2SpinningCubeTouchSensorClicked
A cube that spins when the viewer touches it. Also see Figure 9.1 for comparison.
Related links: Catalog page Figure09_2SpinningCubeTouchSensorClicked, source Figure09_2SpinningCubeTouchSensorClicked.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | Figure09_2SpinningCubeTouchSensorClicked.x3d |
creator | Figure 9.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland |
reference | http://www.wiley.com/legacy/compbooks/vrml2sbk/ch09/09fig02.htm |
translator | Don Brutzman |
created | 9 August 2000 |
modified | 3 May 2024 |
description | A cube that spins when the viewer touches it. Also see Figure 9.1 for comparison. |
reference | Figure09_1SpinningCubeTouchSensor.x3d |
identifier | https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter09SensingViewer/Figure09_2SpinningCubeTouchSensorClicked.x3d |
generator | X3D-Edit 3.3, https://savage.nps.edu/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
ConstructorDescriptionDefault constructor to create this object. -
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3D
Provide a shallow copy of the X3D model.final void
Create and initialize the X3D model for this object.static void
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
Figure09_2SpinningCubeTouchSensorClicked
public Figure09_2SpinningCubeTouchSensorClicked()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:
- Figure09_2SpinningCubeTouchSensorClicked 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:
-