Class GeoTouchSensorExample

java.lang.Object
Basic.Geospatial.GeoTouchSensorExample

public class GeoTouchSensorExample
extends java.lang.Object

This example shows the use of the GeoTouchSensor in order to retrieve the geographic coordinate that the user is pointing to. The scene displays a model of the earth built using a GeoElevationGrid, it then displays a red sphere at the point on the earth where the user is pointing to with the mouse, and also displays the latitude, longitude, and elevation at that point as a text label.

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

Scene Meta Information
meta tags   Document Metadata
title GeoTouchSensorExample.x3d
description This example shows the use of the GeoTouchSensor in order to retrieve the geographic coordinate that the user is pointing to. The scene displays a model of the earth built using a GeoElevationGrid, it then displays a red sphere at the point on the earth where the user is pointing to with the mouse, and also displays the latitude, longitude, and elevation at that point as a text label.
creator John Brecht, SRI International
translator Don Brutzman
translated 22 April 2003
modified 20 October 2019
reference http://www.geovrml.org/examples
reference http://www.ai.sri.com/~reddy/geovrml/examples/showgdc/GTS_Demo.wrl
subject X3D geospatial example
identifier https://www.web3d.org/x3d/content/examples/Basic/Geospatial/GeoTouchSensorExample.x3d
generator Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html
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
    GeoTouchSensorExample()
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait