Class WaypointInterpolatorExample

java.lang.Object
Savage.Tools.Animation.WaypointInterpolatorExample

public class WaypointInterpolatorExample extends Object

Example set of waypoints, plus either leg durations or speed(s), which demonstrates resulting position/orientation interpolation. Motion can be stopped/started by placing mouse over orange TouchSensor Box. A HiddenViewpoint also exists under the coordinate axes. Trace values are printed in the browser console.

Related links: Catalog page WaypointInterpolatorExample, source WaypointInterpolatorExample.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title WaypointInterpolatorExample.x3d
description Example set of waypoints, plus either leg durations or speed(s), which demonstrates resulting position/orientation interpolation. Motion can be stopped/started by placing mouse over orange TouchSensor Box. A HiddenViewpoint also exists under the coordinate axes. Trace values are printed in the browser console.
creator Don Brutzman, Curtis Blais, Jeff Weekley, Jane Wu
created 6 April 2001
modified 23 August 2023
Image WaypointInterpolatorExample.png
warning Cortona bug: TimeSensor set_cycleInterval has no effect, effectively ignoring routed totalDuration. Workaround: view calculated value for totalDuration, then set it in TimeSensor manually.
identifier https://savage.nps.edu/Savage/Tools/Animation/WaypointInterpolatorExample.x3d
reference https://savage.nps.edu/Savage/Tools/Animation/WaypointInterpolatorPrototype.x3d
generator X3D-Edit 4.0, 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 Details

    • WaypointInterpolatorExample

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