Class CarDemoMain

java.lang.Object
Basic.RigidBodyPhysics.CarDemoMain

public class CarDemoMain extends Object

Example scene for RigidBodyPhysics component, runnable as Xj3D application and invoked using shell script runogl.

Related links: CarDemoMain.java source, CarDemoMain catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title CarDemoMain.x3d
description Example scene for RigidBodyPhysics component, runnable as Xj3D application and invoked using shell script runogl
creator Alan Hudson and Justin Couch
translator Don Brutzman
created 1 January 2008
translated 30 December 2008
modified 20 October 2019
reference http://www.xj3d.org/extensions/index.html#Physics
warning Test scene includes custom Xj3D components and elements, will not validate
warning Test scene under development, runogl fails http://bugzilla.xj3d.org/show_bug.cgi?id=556
reference originals/car/runogl
reference originals/car/main.x3dv
reference originals/car/worldModel.x3dv
reference originals/car/CameraControl.java
reference originals/car/CarControlScript.java
reference http://www.xj3d.org/extensions/rigid_physics_examples.html
reference https://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/rigid_physics.html
identifier https://www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/CarDemoMain.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
generator Xj3D converter, http://www.xj3d.org
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
    Default constructor to create this object.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.web3d.x3d.jsail.Core.X3D
    Provide a shallow copy of the X3D model.
    void
    Create and initialize the X3D model for this object.
    static void
    main​(String[] args)
    Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CarDemoMain

      public CarDemoMain()
      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:
      CarDemoMain model
      See Also:
      X3D
    • main

      public static void main(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:
      X3D.handleArguments(args), X3D.validationReport(), CommandLine, CommandLine.USAGE, ConfigurationProperties