package Savage.AircraftHelicopters.MH53ESeaDragonUnitedStates; /* Copyright (c) 1995-2019 held by the author(s). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Web3D Consortium (http://www.web3D.org) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ import java.util.*; import org.web3d.x3d.jsail.Core.*; import org.web3d.x3d.jsail.fields.*; import org.web3d.x3d.jsail.Geometry2D.*; import org.web3d.x3d.jsail.Geometry3D.*; import org.web3d.x3d.jsail.Grouping.*; import org.web3d.x3d.jsail.Interpolation.*; import org.web3d.x3d.jsail.Navigation.*; import org.web3d.x3d.jsail.Networking.*; import org.web3d.x3d.jsail.Shape.*; import org.web3d.x3d.jsail.Time.*; // Javadoc annotations follow, see below for source. /** *

MH-53E Sea Dragon constructed with inlines of the various parts including fuselage, engines, EAPS, main and tail rotor heads. Notice the 5 degree forward tilt of the main rotor head. Viewpoints and background borrowed from Capt Allen A. Harper's CH-46 model.

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

meta tags   Document Metadata
title MH53ESeaDragon.x3d
description MH-53E Sea Dragon constructed with inlines of the various parts including fuselage, engines, EAPS, main and tail rotor heads. Notice the 5 degree forward tilt of the main rotor head. Viewpoints and background borrowed from Capt Allen A. Harper's CH-46 model.
creator LT Terry D. Norbraten, USN
created 19 March 2004
modified 20 February 2010
reference http://www.fas.org/man/dod-101/sys/ac/h-53.htm
Image http://www.fas.org/man/dod-101/sys/ac/mh-53e-wasp-dr5.jpg http://images.google.com/imgres?imgurl=gra.midco.net/mlgould/Helicopters/MH-53E%2520Sea%2520Dragon.jpg&imgrefurl=http://gra.midco.net/mlgould/M-R.html&h=226&w=332&sz=32&tbnid=ICDN8Yoa8mAJ:&tbnh=78&tbnw=114&prev=/images%3Fq%3DMH-53E%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26c2coff%3D1 http://www.history.navy.mil/planes/mh-53e.jpg http://digilander.libero.it/31ATSG/MH-53E%20163057-41.jpg http://www.ndu.edu/nwc/nwcCLIPART/US_NAVY/Equipment/Helicopters/MH-53E(Sea-Dragon)/MH53ESeaDragon01.jpg
subject Sikorsky MH-53E Sea Dragon Multi-mission helicopter for the U.S. Navy.
identifier https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ESeaDragon.x3d
generator X3D-Edit 3.2, 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.

* @author LT Terry D. Norbraten, USN */ public class MH53ESeaDragon { /** Default constructor to create this object. */ public MH53ESeaDragon () { initialize(); } /** Create and initialize the X3D model for this object. */ public final void initialize() { x3dModel = new X3DObject().setProfile(X3DObject.PROFILE_IMMERSIVE).setVersion(X3DObject.VERSION_3_0) .setHead(new headObject() .addComponent(new componentObject().setName("Geometry2D").setLevel(1)) .addMeta(new metaObject().setName(metaObject.NAME_TITLE ).setContent("MH53ESeaDragon.x3d")) .addMeta(new metaObject().setName(metaObject.NAME_DESCRIPTION).setContent("MH-53E Sea Dragon constructed with inlines of the various parts including fuselage, engines, EAPS, main and tail rotor heads. Notice the 5 degree forward tilt of the main rotor head. Viewpoints and background borrowed from Capt Allen A. Harper's CH-46 model.")) .addMeta(new metaObject().setName(metaObject.NAME_CREATOR ).setContent("LT Terry D. Norbraten, USN")) .addMeta(new metaObject().setName(metaObject.NAME_CREATED ).setContent("19 March 2004")) .addMeta(new metaObject().setName(metaObject.NAME_MODIFIED ).setContent("20 February 2010")) .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE ).setContent("http://www.fas.org/man/dod-101/sys/ac/h-53.htm")) .addMeta(new metaObject().setName(metaObject.NAME_IMAGE ).setContent("http://www.fas.org/man/dod-101/sys/ac/mh-53e-wasp-dr5.jpg http://images.google.com/imgres?imgurl=gra.midco.net/mlgould/Helicopters/MH-53E%2520Sea%2520Dragon.jpg&imgrefurl=http://gra.midco.net/mlgould/M-R.html&h=226&w=332&sz=32&tbnid=ICDN8Yoa8mAJ:&tbnh=78&tbnw=114&prev=/images%3Fq%3DMH-53E%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26c2coff%3D1 http://www.history.navy.mil/planes/mh-53e.jpg http://digilander.libero.it/31ATSG/MH-53E%20163057-41.jpg http://www.ndu.edu/nwc/nwcCLIPART/US_NAVY/Equipment/Helicopters/MH-53E(Sea-Dragon)/MH53ESeaDragon01.jpg")) .addMeta(new metaObject().setName(metaObject.NAME_SUBJECT ).setContent("Sikorsky MH-53E Sea Dragon Multi-mission helicopter for the U.S. Navy.")) .addMeta(new metaObject().setName(metaObject.NAME_IDENTIFIER ).setContent("https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ESeaDragon.x3d")) .addMeta(new metaObject().setName(metaObject.NAME_GENERATOR ).setContent("X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit")) .addMeta(new metaObject().setName(metaObject.NAME_LICENSE ).setContent("../../license.html"))) .setScene(new SceneObject() .addChild(new GroupObject() .addChild(new TransformObject("No3EAPS").setRotation(0.0f,1.0f,0.0f,3.1416f).setScale(0.8f,0.8f,0.8f).setTranslation(-0.97f,0.75f,2.3f) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,1.571f) .addChild(new InlineObject("EAPS").setUrl(new String[] {"MH53EEAPS.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EEAPS.x3d","MH53EEAPS.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EEAPS.wrl"})))) .addChild(new TransformObject("No2EAPS").setRotation(1.0f,0.0f,0.0f,-1.571f).setScale(0.75f,0.75f,0.75f).setTranslation(0.43f,1.46f,0.75f) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,0.349f) .addChild(new InlineObject().setUSE("EAPS")))) .addChild(new TransformObject("No1EAPS").setRotation(1.0f,0.0f,0.0f,3.1416f).setScale(0.8f,0.8f,0.8f).setTranslation(0.97f,0.9f,2.3f) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,1.571f) .addChild(new InlineObject().setUSE("EAPS")))) .addChild(new TransformObject("MainRotor").setRotation(1.0f,0.0f,0.0f,0.087f).setTranslation(0.0f,2.28f,0.5f) .addChild(new InlineObject("MainRotorHead").setUrl(new String[] {"MH53EMainRotorHead.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EMainRotorHead.x3d","MH53EMainRotorHead.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EMainRotorHead.wrl"})) .addChild(new TimeSensorObject("Clock1").setCycleInterval(.04).setLoop(true)) .addChild(new OrientationInterpolatorObject("MainRotorPath").setKey(new float[] {0.0f,0.50f,1.0f}).setKeyValue(new MFRotationObject(new float[] {0.0f,1.0f,0.0f,0.0f,0.0f,1.0f,0.0f,3.1416f,0.0f,1.0f,0.0f,6.283f})))) .addChild(new ROUTEObject().setFromNode("Clock1").setFromField("fraction_changed").setToNode("MainRotorPath").setToField("set_fraction")) .addChild(new ROUTEObject().setFromNode("MainRotorPath").setFromField("value_changed").setToNode("MainRotor").setToField("set_rotation")) .addChild(new InlineObject("Fuselage").setUrl(new String[] {"MH53EFuselage.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EFuselage.x3d","MH53EFuselage.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EFuselage.wrl"})) .addChild(new TransformObject("No1InputDriveShaft").setRotation(0.0f,0.0f,1.0f,-1.92f).setTranslation(0.7f,1.1f,1.2f) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,0.785f) .addChild(new ShapeObject("Shaft") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new CylinderObject().setHeight(0.82f).setRadius(.07f))))) .addChild(new TransformObject("No3InputDriveShaft").setRotation(0.0f,0.0f,1.0f,1.92f).setTranslation(-0.7f,1.1f,1.2f) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,0.785f) .addChild(new ShapeObject().setUSE("Shaft")))) .addChild(new TransformObject("No1Engine").setRotation(0.0f,0.0f,1.0f,0.785f).setScale(1.0f,1.1f,0.8f).setTranslation(2.0f,-0.35f,0.65f) .addChild(new InlineObject("Engine").setUrl(new String[] {"MH53EEngine.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EEngine.x3d","MH53EEngine.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EEngine.wrl"}))) .addChild(new TransformObject("No3Engine").setRotation(0.0f,0.0f,1.0f,-0.785f).setScale(1.0f,1.1f,0.8f).setTranslation(-2.43f,0.1f,0.65f) .addChild(new InlineObject().setUSE("Engine"))) .addChild(new TransformObject("No2EngineAccess").setRotation(0.0f,1.0f,0.0f,1.571f).setTranslation(0.52f,1.3f,-0.9f) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,1.571f) .addChild(new ShapeObject("Panel") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(0.2f,0.3f,0.4f).setEmissiveColor(0.05f,0.09f,0.0f))) .setGeometry(new Rectangle2DObject().setSize(0.7f,1.3f))))) .addChild(new TransformObject("No2EngineExhaust").setRotation(0.0f,1.0f,0.0f,-0.349f).setScale(1.0f,0.9f,1.0f).setTranslation(0.3f,0.42f,-1.6f) .addChild(new ShapeObject("Duct") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setCreaseAngle(1.05f).setCrossSection(new MFVec2fObject(new float[] {0.0f,.8f,0.0f,-.2f,-.191342f,-.16194f,-.353553f,-.053553f,-.46194f,.108658f,-.5f,.3f,-.46194f,.491342f,-.353553f,.653553f,-.191342f,.76194f,0.0f,.8f})).setEndCap(false).setScale(new MFVec2fObject(new float[] {.7f,.7f,.6791f,.6791f,.6143f,.6143f,.6f,.6f,.595f,.595f,.5f,.5f,.6f,.6f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {0.0f,1.1486f,-.2f,0.0f,1.1486f,-.3f,.00443504f,1.1486f,-.72152f,.00139496f,1.1486f,-.85279f,.00839493f,1.1486f,-.867751f,.1f,1.1486f,-1.1f,.198605f,1.1486f,-1.15f}))))) .addChild(new TransformObject("PortSponson").setScale(1.0f,0.8f,1.0f).setTranslation(1.555f,-1.05f,-1.2f) .addChild(new InlineObject("Sponson").setUrl(new String[] {"MH53ESponson.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ESponson.x3d","MH53ESponson.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ESponson.wrl"}))) .addChild(new TransformObject("StarboardSponson").setScale(1.0f,0.8f,1.0f).setTranslation(-1.55f,-1.05f,-1.2f) .addChild(new InlineObject().setUSE("Sponson"))) .addChild(new TransformObject("RefuelingProbe").setRotation(1.0f,0.0f,0.0f,1.571f).setTranslation(-0.5f,-0.5f,4.9f) .addChild(new ShapeObject("Probe") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new CylinderObject().setHeight(1.8f).setRadius(0.1f))) .addChild(new TransformObject().setScale(1.0f,1.6f,1.0f).setTranslation(0.0f,0.89f,0.0f) .addChild(new ShapeObject("Plug") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject())) .setGeometry(new SphereObject().setRadius(0.09f))))) .addChild(new TransformObject("TripodGear").setTranslation(0.0f,-0.45f,0.0f) .addChild(new InlineObject("LandingGear").setUrl(new String[] {"MH53ELandingGear.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ELandingGear.x3d","MH53ELandingGear.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ELandingGear.wrl"}))) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,-1.92f).setScale(0.25f,0.25f,0.25f).setTranslation(1.3f,3.25f,-10.8f) .addChild(new TransformObject("TailRotorHead") .addChild(new InlineObject("TailRotor").setUrl(new String[] {"MH53ETailRotorHead.x3d","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ETailRotorHead.x3d","MH53ETailRotorHead.wrl","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53ETailRotorHead.wrl"})) .addChild(new TimeSensorObject("Clock2").setCycleInterval(0.15).setLoop(true)) .addChild(new OrientationInterpolatorObject("TailRotorPath").setKey(new float[] {0.0f,0.50f,1.0f}).setKeyValue(new MFRotationObject(new float[] {0.0f,1.0f,0.0f,0.0f,0.0f,1.0f,0.0f,-3.1416f,0.0f,1.0f,0.0f,-6.283f})))) .addChild(new ROUTEObject().setFromNode("Clock2").setFromField("fraction_changed").setToNode("TailRotorPath").setToField("set_fraction")) .addChild(new ROUTEObject().setFromNode("TailRotorPath").setFromField("value_changed").setToNode("TailRotorHead").setToField("set_rotation")))) .addChild(new GroupObject("Viewpoints") .addChild(new ViewpointObject().setDescription("MH-53E Right wing, level").setOrientation(0.0f,1.0f,0.0f,-1.57f).setPosition(-15.0f,0.0f,0.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Bottom, up").setOrientation(1.0f,0.0f,0.0f,1.57f).setPosition(0.0f,-15.0f,-1.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Left wing, level").setOrientation(0.0f,1.0f,0.0f,1.57f).setPosition(15.0f,0.0f,0.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Rear, level").setOrientation(0.0f,1.0f,0.0f,3.14f).setPosition(0.0f,0.0f,-25.0f)) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,3.1416f) .addChild(new ViewpointObject().setDescription("MH-53E Rear, angle down").setOrientation(1.0f,0.0f,0.0f,2.356f).setPosition(0.0f,-20.0f,-20.0f))) .addChild(new ViewpointObject().setDescription("MH-53E Top, down").setOrientation(1.0f,0.0f,0.0f,-1.57f).setPosition(0.0f,25.0f,0.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Front, level").setPosition(0.0f,0.0f,15.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Front, angle down").setOrientation(1.0f,0.0f,0.0f,-0.78f).setPosition(0.0f,20.0f,20.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Left, level, front @ 45").setOrientation(0.0f,1.0f,0.0f,0.785f).setPosition(10.0f,1.0f,10.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Right, level, front @ 45").setOrientation(0.0f,-1.0f,0.0f,0.785f).setPosition(-10.0f,1.0f,10.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Right, level, rear @ 45").setOrientation(0.0f,-1.0f,0.0f,2.356f).setPosition(-10.0f,1.0f,-10.0f)) .addChild(new ViewpointObject().setDescription("MH-53E Left, level, rear @ 45").setOrientation(0.0f,1.0f,0.0f,2.356f).setPosition(10.0f,1.0f,-10.0f)))); } // end of initialize() method /** The initialized model object, created within initialize() method. */ private X3DObject x3dModel; /** Provide a * shallow copy * of the X3D model. * @see X3DObject * @return MH53ESeaDragon model */ public X3DObject getX3dModel() { return x3dModel; } /** Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object. * @param args array of input parameters, provided as arguments * @see X3DObject.handleArguments(args) * @see X3DObject.validationReport() * @see CommandLine * @see CommandLine.USAGE * @see ConfigurationProperties */ public static void main(String args[]) { X3DObject thisExampleX3dObject = new MH53ESeaDragon().getX3dModel(); boolean hasArguments = (args != null) && (args.length > 0); boolean validate = true; // default boolean argumentsLoadNewModel = false; String fileName = new String(); if (args != null) { for (String arg : args) { if (arg.toLowerCase().startsWith("-v") || arg.toLowerCase().contains("validate")) { validate = true; // making sure } if (arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3D) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_CLASSICVRML) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3DB) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_VRML97) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_EXI) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_GZIP) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_ZIP) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_HTML) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_XHTML)) { argumentsLoadNewModel = true; fileName = arg; } } } if (argumentsLoadNewModel) System.out.println("WARNING: \"MH53ESeaDragon\" model invocation is attempting to load file \"" + fileName + "\" instead of simply validating itself... file loading ignored."); else if (hasArguments) // if no arguments provided, this method produces usage warning thisExampleX3dObject.handleArguments(args); if (validate) { System.out.print("Java program \"MH53ESeaDragon\" self-validation test results: "); String validationResults = thisExampleX3dObject.validationReport(); System.out.println(validationResults); } } }