package HumanoidAnimation.Skeleton;

import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Geometry3D.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.PointingDeviceSensor.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> tooth (TODO fix name). </p>
 <p> Related links:  source lpreol1r.java, <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="https://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;">
        <caption>Scene Meta Information</caption>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center; padding:10px 0px;"><i>meta tags</i></td>
			<td style="text-align:left;   padding:10px 0px;">HumanoidAnimation.Skeleton.lpreol1r&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol1r.x3d">lpreol1r.x3d</a> </td>
		</tr>
		<tr style="color:burntorange">
			<td style="text-align:right; vertical-align: text-top;"> <i> warning </i> </td>
			<td> fix naming </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> tooth (TODO fix name) </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Joe Williams, John Carlson, Damon Hernandez, Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translator </i> </td>
			<td> Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 5 December 2013 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translated </i> </td>
			<td> 5 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 8 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/originals/lpreo1lr.x3d">originals/lpreo1lr.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> *enter reference citation or relative/online url here* </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton" target="_blank">https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/Basic/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/Basic/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol1r.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol1r.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/../license.html">../license.html</a> </td>
		</tr>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center;" colspan="2">  &nbsp; </td>
		</tr>
	</table>

	<p>
		This program uses the
		<a href="https://www.web3d.org/specifications/java/X3DJSAIL.html" target="_blank">X3D Java Scene Access Interface Library (X3DJSAIL)</a>.
		It has been produced using the 
		<a href="https://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet
	       (<a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">version control</a>)
                which is used to create Java source code from an original <code>.x3d</code> model.
	</p>

	* @author Joe Williams, John Carlson, Damon Hernandez, Don Brutzman
 */

public class lpreol1r
{
	/** Default constructor to create this object. */
	public lpreol1r ()
	{
	  initialize();
	}

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERACTIVE).setVersion(X3D.VERSION_3_3)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("lpreol1r.x3d"))
    .addMeta(new meta().setName(meta.NAME_WARNING    ).setContent("fix naming"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("tooth (TODO fix name)"))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Joe Williams, John Carlson, Damon Hernandez, Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("5 December 2013"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATED ).setContent("5 March 2026"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("8 March 2026"))
    .addComments(" warning: note inconsistent numbering (transposition) in original file name ")
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/lpreo1lr.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("*enter reference citation or relative/online url here*"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/Basic/Medical"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/lpreol1r.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("lpreol1r.x3d"))
    .addChild(new TouchSensor().setDescription("tooth lpreol1r"))
    .addChild(new Transform("lpreol1r")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("ToothMaterial").setAmbientIntensity(0.4).setDiffuseColor(1.0,0.9843,0.9843).setShininess(0.05)))
        .setGeometry(new IndexedFaceSet("lpreol1r_geometry").setDEF("lpreol1r_geometry").setCreaseAngle(1.571).setCoordIndex(getlpreol1r_geometry_5_23_coordIndex())
          .setCoord(new Coordinate("lpreol1r_coordinate").setPoint(getlpreol1r_coordinate_6_23_point()))))));
            }
            catch (Exception ex)
            {       
                System.err.println ("*** Further hints on X3DJSAIL errors and exceptions at");
                System.err.println ("*** https://www.web3d.org/specifications/java/X3DJSAIL.html");
                throw (ex);
            }
	}
	// end of initialize() method


		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=1 */
		private int[] getlpreol1r_geometry_5_23_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,10,11,-1,11,12,13,-1,14,15,16,-1,17,18,19,-1,20,21,22,-1,23,24,25,-1,26,27,28,-1,29,30,31,-1,32,33,34,-1,35,36,37,-1,38,39,40,-1,41,42,43,-1,44,45,46,-1,47,48,49,-1,47,50,48,-1,51,52,19,-1,53,54,55,-1,54,56,57,-1,58,59,60,-1,17,42,46,-1,61,62,63,-1,64,65,66,-1,67,68,69,-1,6,70,15,-1,43,42,19,-1,71,72,73,-1,31,74,75,-1,22,21,76,-1,77,78,79,-1,80,81,82,-1,83,84,39,-1,85,86,87,-1,88,89,90,-1,91,92,93,-1,94,95,96,-1,97,98,99,-1,100,101,102,-1,99,103,104,-1,105,88,90,-1,106,107,61,-1,108,82,109,-1,110,111,112,-1,113,114,115,-1,116,117,118,-1,32,119,22,-1,46,45,120,-1,121,116,122,-1,123,52,114,-1,124,125,107,-1,126,49,127,-1,128,129,130,-1,128,131,129,-1,42,132,44,-1,133,134,135,-1,136,137,138,-1,139,140,141,-1,142,127,49,-1,143,144,37,-1,145,38,146,-1,147,148,149,-1,23,150,24,-1,151,152,153,-1,28,154,155,-1,120,45,156,-1,157,158,159,-1,15,160,56,-1,161,81,130,-1,13,12,162,-1,7,163,164,-1,4,165,5,-1,166,12,11,-1,167,168,161,-1,169,170,171,-1,172,66,173,-1,170,167,161,-1,166,174,12,-1,175,176,177,-1,7,164,8,-1,13,162,178,-1,161,168,81,-1,15,56,16,-1,157,179,158,-1,156,124,120,-1,28,63,154,-1,76,26,22,-1,148,147,17,-1,145,146,30,-1,143,37,180,-1,142,181,127,-1,139,182,140,-1,136,138,183,-1,133,135,184,-1,44,46,42,-1,126,47,49,-1,124,107,149,-1,123,114,113,-1,121,122,185,-1,46,120,148,-1,32,22,26,-1,116,118,122,-1,65,1,66,-1,186,167,187,-1,113,115,14,-1,112,188,110,-1,108,80,82,-1,107,125,61,-1,105,90,189,-1,99,190,103,-1,100,191,101,-1,98,190,99,-1,94,192,95,-1,91,93,193,-1,88,194,89,-1,85,195,86,-1,83,196,84,-1,80,197,81,-1,77,198,78,-1,18,17,147,-1,31,30,74,-1,71,73,55,-1,43,19,199,-1,15,14,6,-1,200,67,69,-1,64,66,201,-1,61,121,62,-1,46,148,17,-1,58,202,59,-1,58,20,203,-1,58,204,20,-1,63,28,27,-1,54,53,56,-1,54,205,55,-1,51,19,18,-1,120,124,149,-1,44,206,45,-1,41,132,42,-1,38,40,146,-1,37,144,35,-1,34,119,32,-1,29,145,30,-1,76,27,26,-1,149,148,120,-1,207,23,25,-1,208,172,209,-1,22,119,20,-1,17,19,42,-1,14,16,113,-1,13,9,11,-1,163,10,164,-1,163,210,10,-1,3,5,150,-1,0,2,211,-1,212,169,201,-1,213,69,68,-1,213,214,69,-1,215,216,217,-1,215,218,216,-1,65,219,220,-1,65,64,219,-1,168,186,221,-1,167,186,168,-1,12,222,162,-1,174,222,12,-1,165,177,5,-1,165,175,177,-1,223,163,224,-1,223,210,163,-1,115,6,14,-1,115,7,6,-1,217,225,226,-1,217,216,225,-1,211,227,228,-1,211,2,227,-1,130,229,161,-1,229,130,129,-1,160,57,56,-1,160,230,57,-1,179,59,158,-1,179,231,59,-1,232,110,233,-1,232,111,110,-1,234,235,153,-1,212,235,234,-1,212,208,235,-1,208,212,172,-1,164,236,8,-1,164,237,236,-1,212,187,169,-1,187,212,234,-1,151,238,200,-1,238,151,239,-1,240,209,241,-1,240,208,209,-1,242,107,106,-1,242,243,107,-1,104,244,245,-1,246,244,104,-1,247,248,249,-1,247,250,248,-1,251,143,180,-1,252,143,251,-1,181,141,127,-1,181,139,141,-1,183,253,136,-1,253,183,254,-1,95,255,256,-1,255,95,257,-1,258,87,86,-1,258,259,87,-1,260,261,262,-1,261,260,189,-1,134,263,135,-1,134,264,263,-1,265,71,84,-1,265,72,71,-1,266,131,267,-1,131,266,129,-1,268,78,269,-1,78,268,228,-1,140,270,271,-1,270,140,272,-1,273,57,274,-1,273,54,57,-1,21,242,76,-1,21,275,242,-1,116,124,117,-1,125,124,116,-1,123,73,199,-1,123,276,73,-1,114,51,277,-1,52,51,114,-1,278,138,279,-1,278,280,138,-1,62,185,226,-1,62,121,185,-1,75,202,281,-1,282,202,75,-1,204,110,188,-1,204,283,110,-1,32,28,155,-1,32,26,28,-1,200,284,67,-1,284,200,238,-1,167,169,187,-1,167,170,169,-1,218,240,285,-1,218,286,240,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlpreol1r_geometry_5_23_coordIndex_2()
		{
			int[] value = {165,157,287,-1,157,165,4,-1,288,289,290,-1,289,288,222,-1,40,291,146,-1,40,205,291,-1,278,269,280,-1,278,292,269,-1,131,126,293,-1,126,131,128,-1,63,294,154,-1,63,62,294,-1,295,262,261,-1,262,295,206,-1,134,265,264,-1,134,41,265,-1,296,247,297,-1,296,29,247,-1,35,33,298,-1,35,144,33,-1,299,136,253,-1,299,256,136,-1,139,300,259,-1,300,139,181,-1,301,302,184,-1,301,303,302,-1,103,102,304,-1,190,102,103,-1,305,180,306,-1,305,251,180,-1,257,307,308,-1,309,307,257,-1,310,311,312,-1,310,306,311,-1,192,313,309,-1,314,313,192,-1,315,195,85,-1,315,316,195,-1,317,105,318,-1,317,319,105,-1,320,191,321,-1,191,320,101,-1,322,97,99,-1,323,97,322,-1,324,306,310,-1,324,305,306,-1,323,92,325,-1,322,92,323,-1,326,318,303,-1,326,317,318,-1,327,85,194,-1,327,315,85,-1,94,314,192,-1,328,314,94,-1,329,312,311,-1,312,329,330,-1,309,95,192,-1,309,257,95,-1,37,306,180,-1,311,306,37,-1,93,322,245,-1,92,322,93,-1,320,184,135,-1,320,301,184,-1,87,194,85,-1,194,87,89,-1,182,259,258,-1,259,182,139,-1,256,137,136,-1,256,255,137,-1,33,143,34,-1,144,143,33,-1,29,244,145,-1,296,244,29,-1,196,265,84,-1,196,264,265,-1,44,262,206,-1,331,262,44,-1,235,332,239,-1,333,235,208,-1,235,333,332,-1,267,293,271,-1,293,267,131,-1,198,269,78,-1,198,280,269,-1,20,248,203,-1,119,248,20,-1,146,74,30,-1,146,291,74,-1,199,72,43,-1,72,199,73,-1,9,178,334,-1,13,178,9,-1,4,179,157,-1,179,4,3,-1,241,285,240,-1,335,285,241,-1,336,68,337,-1,336,213,68,-1,171,201,169,-1,171,64,201,-1,238,215,284,-1,215,238,338,-1,274,339,273,-1,339,274,159,-1,60,204,58,-1,204,60,283,-1,281,58,203,-1,202,58,281,-1,62,225,294,-1,62,226,225,-1,155,278,279,-1,154,278,155,-1,53,16,56,-1,53,276,16,-1,55,276,53,-1,276,55,73,-1,48,156,45,-1,50,156,48,-1,156,117,124,-1,156,108,117,-1,243,275,340,-1,275,243,242,-1,188,275,21,-1,188,112,275,-1,272,77,270,-1,77,272,254,-1,228,79,78,-1,79,228,227,-1,72,41,43,-1,265,41,72,-1,103,246,104,-1,83,246,103,-1,262,302,260,-1,262,331,302,-1,259,89,87,-1,259,300,89,-1,96,256,299,-1,256,96,95,-1,254,341,253,-1,341,254,272,-1,193,252,251,-1,297,252,193,-1,249,119,34,-1,249,248,119,-1,245,296,93,-1,244,296,245,-1,149,243,147,-1,243,149,107,-1,209,173,241,-1,173,209,172,-1,239,338,238,-1,338,239,332,-1,187,153,214,-1,187,234,153,-1,8,342,343,-1,8,236,342,-1,239,153,235,-1,153,239,151,-1,232,344,111,-1,232,223,344,-1,231,60,59,-1,231,290,60,-1,82,336,109,-1,221,336,82,-1,2,345,227,-1,2,220,345,-1,346,225,216,-1,346,347,225,-1,122,337,348,-1,337,122,118,-1,10,237,164,-1,10,9,237,-1,160,175,230,-1,176,175,160,-1,6,343,70,-1,6,8,343,-1,207,222,288,-1,222,207,162,-1,64,229,219,-1,64,171,229,-1,0,349,335,-1,0,211,349,-1,284,217,350,-1,284,215,217,-1,68,348,337,-1,68,67,348,-1,216,285,346,-1,218,285,216,-1,1,220,2,-1,1,65,220,-1,221,213,336,-1,186,213,221,-1,351,150,23,-1,351,3,150,-1,150,352,24,-1,150,5,352,-1,166,233,174,-1,166,232,233,-1,109,337,118,-1,336,337,109,-1,350,226,185,-1,350,217,226,-1,349,228,268,-1,349,211,228,-1,219,129,266,-1,219,229,129,-1,230,274,57,-1,230,287,274,-1,289,110,283,-1,289,233,110,-1,277,115,114,-1,224,115,277,-1,352,342,334,-1,342,352,353,-1,207,178,162,-1,207,25,178,-1,353,5,177,-1,5,353,352,-1,200,152,151,-1,200,69,152,-1,286,208,240,-1,286,333,208,-1,76,106,27,-1,76,242,106,-1,298,32,155,-1,298,33,32,-1,29,250,247,-1,29,31,250,-1,354,36,35,-1,354,308,36,-1,308,255,257,-1,354,255,308,-1,355,86,356,-1,355,258,86,-1,357,189,90,-1,357,261,189,-1,264,304,263,-1,264,196,304,-1,71,39,84,-1,39,71,40,-1,48,206,295,-1,206,48,45,-1,267,345,266,-1,267,358,345,-1,280,183,138,-1,280,198,183,-1,141,271,293,-1,271,141,140,-1,359,111,344,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getlpreol1r_geometry_5_23_coordIndex_3()
		{
			int[] value = {359,112,111,-1,61,116,121,-1,61,125,116,-1,80,47,197,-1,50,47,80,-1,52,199,19,-1,52,123,199,-1,291,54,273,-1,291,205,54,-1,27,61,63,-1,61,27,106,-1,268,292,347,-1,269,292,268,-1,74,282,75,-1,339,282,74,-1,20,188,21,-1,204,188,20,-1,158,202,282,-1,202,158,59,-1,359,18,340,-1,359,51,18,-1,338,218,215,-1,218,338,286,-1,287,175,165,-1,287,230,175,-1,351,290,231,-1,290,351,288,-1,15,176,160,-1,15,70,176,-1,40,55,205,-1,40,71,55,-1,31,281,250,-1,31,75,281,-1,154,292,278,-1,154,294,292,-1,79,270,77,-1,270,79,358,-1,128,47,126,-1,47,128,197,-1,261,142,295,-1,261,357,142,-1,41,133,132,-1,134,133,41,-1,38,83,39,-1,246,83,38,-1,297,249,252,-1,297,247,249,-1,35,360,354,-1,35,298,360,-1,355,253,341,-1,355,299,253,-1,356,195,361,-1,195,356,86,-1,303,260,302,-1,303,318,260,-1,263,102,101,-1,102,263,304,-1,251,91,193,-1,305,91,251,-1,329,308,307,-1,329,36,308,-1,96,361,94,-1,361,96,356,-1,307,313,362,-1,307,309,313,-1,316,361,195,-1,316,363,361,-1,88,319,364,-1,319,88,105,-1,321,301,320,-1,321,365,301,-1,305,366,91,-1,366,305,324,-1,91,325,92,-1,325,91,366,-1,102,98,100,-1,98,102,190,-1,326,301,365,-1,326,303,301,-1,194,364,327,-1,364,194,88,-1,361,328,94,-1,363,328,361,-1,329,362,330,-1,329,307,362,-1,334,237,9,-1,334,236,237,-1,334,342,236,-1,36,311,37,-1,329,311,36,-1,99,245,322,-1,99,104,245,-1,101,135,263,-1,101,320,135,-1,189,318,105,-1,318,189,260,-1,341,258,355,-1,258,341,182,-1,137,354,360,-1,255,354,137,-1,252,34,143,-1,252,249,34,-1,145,246,38,-1,244,246,145,-1,133,44,132,-1,133,331,44,-1,181,357,300,-1,357,181,142,-1,118,108,109,-1,117,108,118,-1,358,271,270,-1,271,358,267,-1,250,203,248,-1,250,281,203,-1,224,7,115,-1,224,163,7,-1,3,231,179,-1,231,3,351,-1,0,241,173,-1,0,335,241,-1,186,214,213,-1,186,187,214,-1,173,1,0,-1,1,173,66,-1,340,112,359,-1,340,275,112,-1,282,159,158,-1,282,339,159,-1,339,291,273,-1,339,74,291,-1,294,347,292,-1,294,225,347,-1,123,16,276,-1,123,113,16,-1,50,108,156,-1,50,80,108,-1,147,340,18,-1,340,147,243,-1,359,277,51,-1,359,344,277,-1,293,127,141,-1,293,126,127,-1,254,198,77,-1,198,254,183,-1,227,358,79,-1,358,227,345,-1,81,128,130,-1,197,128,81,-1,304,83,103,-1,196,83,304,-1,184,331,133,-1,331,184,302,-1,300,90,89,-1,300,357,90,-1,299,356,96,-1,299,355,356,-1,360,138,137,-1,360,279,138,-1,182,272,140,-1,182,341,272,-1,49,295,142,-1,295,49,48,-1,93,297,193,-1,296,297,93,-1,279,298,155,-1,360,298,279,-1,172,201,66,-1,201,172,212,-1,338,333,286,-1,338,332,333,-1,214,152,69,-1,214,153,152,-1,353,343,342,-1,177,343,353,-1,25,334,178,-1,24,334,25,-1,352,334,24,-1,344,224,277,-1,223,224,344,-1,290,283,60,-1,290,289,283,-1,287,159,274,-1,287,157,159,-1,81,221,82,-1,168,221,81,-1,220,266,345,-1,220,219,266,-1,347,349,268,-1,346,349,347,-1,348,185,122,-1,348,350,185,-1,166,223,232,-1,210,223,166,-1,222,233,289,-1,222,174,233,-1,70,177,176,-1,70,343,177,-1,23,288,351,-1,288,23,207,-1,11,210,166,-1,210,11,10,-1,229,170,161,-1,171,170,229,-1,346,335,349,-1,285,335,346,-1,67,350,348,-1,67,284,350,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lpreol1r_geometry' coordIndex field, scene-graph level=5, element #23, 2828 total numbers.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFInt32 getlpreol1r_geometry_5_23_coordIndex()
		{
			MFInt32 lpreol1r_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlpreol1r_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getlpreol1r_geometry_5_23_coordIndex_2()))
				.append(new MFInt32(getlpreol1r_geometry_5_23_coordIndex_3()));
			return lpreol1r_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lpreol1r_coordinate' point field, scene-graph level=6, element #23, 1101 total numbers made up of 367 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getlpreol1r_coordinate_6_23_point()
		{
			MFVec3f lpreol1r_coordinate_6_23_point = new MFVec3f(new double[] {0.0216,1.6174,0.0824,0.0216,1.6174,0.0825,0.0217,1.617,0.0827,0.0164,1.6175,0.0791,0.0162,1.6176,0.0793,0.0165,1.6179,0.0794,0.0163,1.6176,0.0802,0.0165,1.6175,0.0803,0.0167,1.6178,0.0801,0.0172,1.618,0.0799,0.0172,1.6179,0.0801,0.0174,1.6178,0.0799,0.0174,1.6178,0.0796,0.0173,1.618,0.0796,0.0159,1.6172,0.0803,0.0158,1.6172,0.0802,0.0153,1.6161,0.0803,0.0169,1.6106,0.0819,0.0166,1.6124,0.0813,0.0158,1.6124,0.0813,0.0175,1.6124,0.0783,0.0181,1.6124,0.0793,0.019,1.6105,0.0786,0.0168,1.6179,0.0791,0.0169,1.618,0.0794,0.0171,1.618,0.0793,0.0199,1.6097,0.079,0.0197,1.6107,0.0798,0.0205,1.6104,0.0796,0.0154,1.6088,0.0776,0.015,1.6105,0.0784,0.0155,1.6104,0.078,0.0202,1.609,0.0788,0.0206,1.6079,0.0783,0.0186,1.6087,0.0775,0.0223,1.6071,0.0788,0.0224,1.6056,0.0786,0.0211,1.6056,0.0775,0.0146,1.6089,0.0787,0.0145,1.6089,0.0792,0.0146,1.6105,0.0796,0.0153,1.6089,0.0816,0.0161,1.6104,0.0818,0.0155,1.6105,0.0816,0.0175,1.6079,0.0827,0.0189,1.6103,0.0835,0.0176,1.609,0.0824,0.0209,1.6125,0.0843,0.02,1.6103,0.0843,0.0206,1.6103,0.0843,0.0203,1.6125,0.0841,0.0162,1.6143,0.081,0.0156,1.6142,0.0809,0.0146,1.6143,0.0801,0.0145,1.6143,0.0797,0.0146,1.6125,0.0803,0.0152,1.6161,0.08,0.0151,1.6162,0.0797,0.0162,1.6143,0.078,0.0159,1.6162,0.0785,0.0165,1.6162,0.0786,0.0197,1.6127,0.0814,0.0206,1.6143,0.0812,0.0205,1.6127,0.0808,0.0214,1.6174,0.0828,0.0215,1.6174,0.0827,0.0214,1.6177,0.0824,0.0203,1.6174,0.0821,0.0203,1.6174,0.0825,0.0206,1.6178,0.0823,0.0162,1.6176,0.08,0.0147,1.6105,0.0804,0.0148,1.6105,0.081,0.0149,1.6125,0.0808,0.0148,1.6125,0.0788,0.0152,1.6125,0.0783,0.0192,1.6107,0.0794,0.0223,1.6123,0.0832,0.0225,1.6143,0.0828,0.0223,1.6143,0.0832,0.0204,1.6143,0.084,0.021,1.6161,0.0838,0.0206,1.6161,0.0837,0.0146,1.6074,0.079,0.0145,1.6089,0.0802,0.0224,1.604,0.0834,0.0228,1.6055,0.0831,0.0223,1.6056,0.0835,0.0213,1.604,0.084,0.0219,1.6056,0.0839,0.0211,1.6056,0.0843,0.0172,1.6042,0.0763,0.0158,1.6042,0.0767,0.0158,1.6058,0.0769,0.0235,1.604,0.0821,0.0238,1.6055,0.0818,0.0234,1.6055,0.0823,0.0152,1.6031,0.0781,0.015,1.603,0.0787,0.0149,1.6042,0.0781,0.015,1.6028,0.0794,0.0151,1.6042,0.0807,0.0147,1.6042,0.0794,0.0146,1.6058,0.0789,0.0148,1.6058,0.0782,0.0207,1.604,0.0842,0.0189,1.611,0.0805,0.0184,1.611,0.0812,0.0199,1.6143,0.0836,0.0202,1.6161,0.0835,0.0173,1.6161,0.0795,0.0173,1.6161,0.0801,0.0173,1.6142,0.08,0.0155,1.616,0.0805,0.0158,1.6161,0.0808,0.0162,1.6171,0.0805,0.0196,1.6141,0.0822,0.0194,1.6143,0.0829,0.0197,1.616,0.0828,0.0183,1.6103,0.0781,0.0183,1.6105,0.0828,0.0199,1.6143,0.0815,0.0197,1.6161,0.0822,0.0151,1.6142,0.0807,0.0191,1.6124,0.0828,0.0194,1.6125,0.0822,0.0213,1.6124,0.0842,0.0212,1.6103,0.0841,0.0213,1.6144,0.0841,0.0214,1.6162,0.0835,0.0212,1.6162,0.0837,0.0216,1.6144,0.0839,0.0159,1.6089,0.0819,0.0158,1.6073,0.082,0.0153,1.6073,0.0815,0.0153,1.6058,0.0813,0.0233,1.6086,0.0821,0.0234,1.6085,0.0815,0.0229,1.6101,0.0816,0.0219,1.6087,0.0837,0.0219,1.6102,0.0835,0.0216,1.6103,0.0838,0.0208,1.6087,0.0845,0.0194,1.6072,0.077,0.0209,1.6067,0.0778,0.0151,1.6089,0.0781,0.0147,1.6105,0.079,0.0176,1.6107,0.0817,0.0177,1.6095,0.0822,0.0181,1.6107,0.0821,0.0167,1.6179,0.0792,0.0207,1.6179,0.0821,0.0207,1.6179,0.0822,0.0208,1.6179,0.0824,0.0216,1.6124,0.0808,0.0216,1.6102,0.08,0.0196,1.6125,0.0836,0.0159,1.6171,0.0791,0.0155,1.6162,0.0788,0.0153,1.6162,0.079,0.0158,1.6172,0.0799,0.0212,1.617,0.0833,0.0174,1.6178,0.0793,0.0168,1.6175,0.0804,0.017,1.6179,0.0802,0.0162,1.6176,0.0794,0.0174,1.6174,0.0799,0.0211,1.6174,0.083,0.021,1.6169,0.0833,0.0213,1.6177,0.0826,0.0212,1.6174,0.0829,0.0213,1.6174,0.0828,0.0213,1.6179,0.0822,0.0215,1.6177,0.0823,0.0174,1.6174,0.0795,0.0162,1.6176,0.0797,0.0162,1.6176,0.0798,0.0165,1.6179,0.0797,0.0172,1.618,0.0794,0.0161,1.6171,0.079,0.0198,1.6056,0.0768,0.0215,1.6087,0.0841,0.0223,1.6087,0.0834,0.0228,1.6102,0.0823,0.0159,1.6057,0.0819,0.0201,1.6161,0.0816,0.0209,1.6174,0.083,0.0211,1.6178,0.0827,0.0174,1.6143,0.0793,0.0205,1.6056,0.0843,0.0148,1.6042,0.0788,0.0152,1.6025,0.0805,0.0237,1.604,0.0814,0.0168,1.6057,0.0762,0.022,1.604,0.0838,0.0229,1.604,0.0829,0.0145,1.6074,0.0798,0.0209,1.6144,0.0842,0.0227,1.6123,0.0827,0.0153,1.6124,0.0811,0.0206,1.6178,0.0821,0.0214,1.6177,0.0825,0.0155,1.6143,0.0781,0.0167,1.6124,0.0779,0.0169,1.6143,0.0783,0.0145,1.6125,0.0797,0.0189,1.6088,0.0836,0.0172,1.6178,0.0791,0.0212,1.6179,0.082,0.0213,1.6179,0.0821,0.0172,1.6174,0.0802,0.0218,1.617,0.0825,0.0212,1.6179,0.0824,0.0206,1.6174,0.0828,0.0208,1.6178,0.0825,0.0209,1.6174,0.0816,0.0213,1.6171,0.0815,0.0208,1.617,0.0815,0.0213,1.6174,0.0816,0.0215,1.617,0.0831,0.0216,1.617,0.0829,0.0208,1.6168,0.0833,0.0173,1.6174,0.0791,0.0172,1.617,0.0803,0.0166,1.6171,0.0806,0.0214,1.6163,0.0814,0.0207,1.6162,0.0814,0.0219,1.6162,0.083,0.022,1.6162,0.0827,0.0214,1.617,0.0832,0.0158,1.6172,0.0796,0.0164,1.6171,0.0787,0.0174,1.6169,0.0799,0.0174,1.617,0.0795,0.021,1.6179,0.0825,0.021,1.6179,0.0822,0.0169,1.618,0.0799,0.0171,1.618,0.08,0.0208,1.6178,0.0818,0.0208,1.6179,0.0819,0.0214,1.6177,0.0819,0.0215,1.6177,0.0821,0.0187,1.611,0.0803,0.0182,1.611,0.081,0.0152,1.6073,0.0778,0.0153,1.6058,0.0776,0.0147,1.6074,0.0784,0.0162,1.6087,0.0771,0.0173,1.6102,0.0775,0.0175,1.6087,0.0769,0.0162,1.6104,0.0776,0.0184,1.6057,0.0761,0.018,1.6072,0.0764,0.0229,1.6086,0.0827,0.0225,1.6102,0.0828,0.0238,1.6071,0.0812,0.0236,1.6071,0.0819,0.024,1.6055,0.0808,0.0226,1.6071,0.0833,0.0221,1.6071,0.0836,0.0192,1.6056,0.0837,0.0204,1.6072,0.0845,0.019,1.6072,0.0837,0.0148,1.6058,0.0808,0.0148,1.6073,0.081,0.0148,1.6089,0.0812,0.0216,1.6162,0.0834,0.0219,1.6143,0.0837,0.022,1.6162,0.0823,0.0225,1.6143,0.0824,0.0221,1.6124,0.0835,0.0219,1.6124,0.0838,0.0222,1.6102,0.0832,0.0145,1.6144,0.0792,0.0151,1.6162,0.0794,0.0178,1.6124,0.0802,0.0148,1.6143,0.0804,0.0163,1.6162,0.0809,0.0224,1.6123,0.0814,0.0225,1.6101,0.0807,0.0228,1.6123,0.0822,0.0159,1.6124,0.0779,0.015,1.6143,0.0784,0.017,1.6161,0.0787,0.0205,1.6174,0.0818,0.0215,1.6174,0.0819,0.0212,1.6177,0.0818,0.0158,1.6172,0.0794,0.017,1.6174,0.079,0.0172,1.617,0.079,0.0169,1.617,0.0788,0.0146,1.6125,0.0792,0.0222,1.6143,0.0818,0.0216,1.6124,0.084,0.0216,1.6143,0.0813,0.0202,1.6087,0.0844,0.0156,1.6073,0.0772,0.0166,1.6073,0.0765,0.022,1.6086,0.0794,0.0232,1.6071,0.0825,0.0217,1.6071,0.084,0.0161,1.6042,0.0818,0.0175,1.6057,0.0828,0.0175,1.6042,0.0827,0.0145,1.6058,0.0795,0.0187,1.6041,0.0762,0.0201,1.6041,0.0766,0.0235,1.604,0.0794,0.0235,1.6055,0.0797,0.024,1.604,0.0807,0.0201,1.603,0.0765,0.0212,1.6041,0.0774,0.0212,1.6026,0.0772,0.0238,1.6028,0.0806,0.0236,1.6028,0.0812,0.0225,1.6029,0.0832,0.0229,1.6029,0.0828,0.0192,1.6029,0.0832,0.0192,1.6041,0.0835,0.0207,1.6029,0.0839,0.0156,1.6042,0.0812,0.0157,1.6025,0.081,0.0154,1.6042,0.0774,0.0155,1.6031,0.0774,0.0187,1.6031,0.0761,0.0159,1.6031,0.0766,0.0176,1.6028,0.0824,0.022,1.6029,0.0837,0.0235,1.6029,0.0819,0.0224,1.604,0.0783,0.0223,1.6025,0.0782,0.0174,1.6068,0.0828,0.021,1.6179,0.0819,0.0211,1.6179,0.0819,0.017,1.618,0.0797,0.0216,1.6174,0.0822,0.0204,1.6168,0.0832,0.02,1.6168,0.0826,0.021,1.6178,0.0817,0.0147,1.6143,0.0788,0.0173,1.6124,0.0809,0.0226,1.6087,0.0831,0.0168,1.618,0.0798,0.0165,1.6179,0.0799,0.0169,1.6162,0.0806,0.0218,1.6162,0.0832,0.0217,1.617,0.0819,0.0219,1.6163,0.0819,0.02,1.6169,0.0821,0.0218,1.617,0.0822,0.0203,1.617,0.0817,0.0166,1.6175,0.0789,0.0168,1.618,0.0795,0.0168,1.618,0.0797,0.0233,1.607,0.08,0.0229,1.6071,0.0829,0.0231,1.6055,0.0827,0.021,1.6072,0.0845,0.0221,1.6143,0.0834,0.0168,1.6143,0.0807,0.023,1.6086,0.0804,0.0232,1.604,0.0825,0.0234,1.6026,0.0793,0.0231,1.6029,0.0823,0.0214,1.6029,0.0838,0.0162,1.6025,0.0815,0.0173,1.6031,0.0762});
			return lpreol1r_coordinate_6_23_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return lpreol1r model
	 */
	public X3D 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 <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#handleArguments-java.lang.String:A-">X3D.handleArguments(args)</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#validationReport--">X3D.validationReport()</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        System.out.println("Build this X3D model, showing validation diagnostics...");
        X3D thisExampleX3dModel = new lpreol1r().getX3dModel();
//      System.out.println("X3D model construction complete.");
	
        // next handle command line arguments
        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(X3D.FILE_EXTENSION_X3D) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_CLASSICVRML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3DB) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_VRML97) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_EXI) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_GZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_ZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_HTML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_XHTML))
                        {
                                argumentsLoadNewModel = true;
                                fileName = arg;
                        }
                }
        }
        if      (argumentsLoadNewModel)
                System.out.println("WARNING: \"HumanoidAnimation.Skeleton.lpreol1r\" 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
                thisExampleX3dModel.handleArguments(args);
	
        if (validate)
        {
            //  System.out.println("--- TODO fix duplicated outputs ---"); // omit when duplicated outputs problem is solved/refactored
		String validationResults = thisExampleX3dModel.validationReport();
            //  System.out.println("-----------------------------------"); // omit when duplicated outputs problem is solved/refactored
                System.out.print("HumanoidAnimation.Skeleton.lpreol1r self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

                // experimental: test X3DJSAIL output files
                // Skeleton/lpreol1r_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "Skeleton/lpreol1r_JavaExport.x3d"; 
                String filenameX3DV = "Skeleton/lpreol1r_JavaExport.x3dv"; 
                String filenameJSON = "Skeleton/lpreol1r_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
