Class Elevator
public class Elevator
extends java.lang.Object
X3D encodings example: example of animating the camera by depicting an elevator to ease access to a multi-story building. For this example, a 2 story building is shown and it is assumed that the elevator is already at the ground floor. To go up, the user just steps onto the elevator platform. A ProximitySensor fires and starts the elevator up automatically. Additional features such as call buttons for outside the elevator, elevator doors, and floor selector buttons could be added to make the elevator easier to use.
Related links: Elevator.java source, Elevator catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | Elevator.x3d |
description | X3D encodings example: example of animating the camera by depicting an elevator to ease access to a multi-story building. For this example, a 2 story building is shown and it is assumed that the elevator is already at the ground floor. To go up, the user just steps onto the elevator platform. A ProximitySensor fires and starts the elevator up automatically. Additional features such as call buttons for outside the elevator, elevator doors, and floor selector buttons could be added to make the elevator easier to use. |
creator | Don Brutzman and Joe Williams |
Image | ElevatorAnimation.png |
created | 1 June 2002 |
modified | 28 October 2019 |
specificationSection | X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.18 Elevator |
specificationUrl | https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/examples.html#Elevator |
identifier | https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Elevator.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 to create Java source code from an .x3d
model.
-
Constructor Summary
Constructors Constructor Description Elevator()
Default constructor to create this object. -
Method Summary
Modifier and Type Method Description org.web3d.x3d.jsail.Core.X3DObject
getX3dModel()
Provide a shallow copy of the X3D model.void
initialize()
Create and initialize the X3D model for this object.static void
main(java.lang.String[] args)
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
Elevator
public Elevator()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.X3DObject getX3dModel()Provide a shallow copy of the X3D model.- Returns:
- Elevator model
- See Also:
- X3DObject
-
main
public static void main(java.lang.String[] args)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:
- X3DObject.handleArguments(args), X3DObject.validationReport(), CommandLine, CommandLine.USAGE, ConfigurationProperties
-