Package Basic.course

Class ExtrusionCrossSectionExampleTorus

java.lang.Object
Basic.course.ExtrusionCrossSectionExampleTorus

public class ExtrusionCrossSectionExampleTorus
extends java.lang.Object

Torus example demonstrating cross-section prototype for Extrusion node that also draws spine line plus oriented, scaled cross sections at each spine point.

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

Scene Meta Information
meta tags   Document Metadata
title ExtrusionCrossSectionExampleTorus.x3d
creator Don Brutzman
created 31 August 2003
modified 20 October 2019
description Torus example demonstrating cross-section prototype for Extrusion node that also draws spine line plus oriented, scaled cross sections at each spine point.
hint Utilize ExtrusionCrossSection ProtoInstance as a Shape node (with containerField="children") rather than an Extrusion node (with containerField="geometry").
reference ExtrusionExampleShip.x3d
reference ExtrusionCrossSectionExampleShip.x3d
reference ExtrusionCrossSectionPrototype.x3d
reference https://www.web3d.org/x3d/content/examples/Basic/Vrml2Sourcebook/Chapter30-Scripts/Figure30.5ScriptTorusBuilder.x3d
reference VRML 97 Specification, 6.18 Extrusion
reference https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Extrusion
Image VRML 97 Specification, Figure 6.6
Image https://www.web3d.org/technicalinfo/specifications/vrml97/Images/Extrusion.gif
reference http://realism.com/Web3D/Examples/Extrusion/_frame.html
reference http://www.cs.brown.edu/~gss/vrml/drawpoly.html
reference ExtrusionXj3dGoldberg1999.java
reference http://web3d.metrolink.com/cgi-bin/cvsweb.cgi/x3d/src/com/sun/j3d/loaders/vrml97/impl/Attic/Extrusion.java
identifier https://www.web3d.org/x3d/content/examples/Basic/course/ExtrusionCrossSectionExampleTorus.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
    ExtrusionCrossSectionExampleTorus()
    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