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 rpreol1r.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.rpreol1r&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/rpreol1r.x3d">rpreol1r.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> TODO </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/rpreol1r.x3d">originals/rpreol1r.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/rpreol1r.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/rpreol1r.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 rpreol1r
{
	/** Default constructor to create this object. */
	public rpreol1r ()
	{
	  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("rpreol1r.x3d"))
    .addMeta(new meta().setName(meta.NAME_TODO       ).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"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/rpreol1r.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/rpreol1r.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("*TODO_add_title*"))
    .addChild(new TouchSensor().setDescription("tooth rpreol1r"))
    .addChild(new Transform("rpreol1r")
      .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("rpreol1r_geometry").setDEF("rpreol1r_geometry").setCreaseAngle(1.571).setCoordIndex(getrpreol1r_geometry_5_23_coordIndex())
          .setCoord(new Coordinate("rpreol1r_coordinate").setPoint(getrpreol1r_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[] getrpreol1r_geometry_5_23_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,6,7,8,-1,9,10,11,-1,12,13,9,-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,18,48,-1,49,50,51,-1,31,52,29,-1,53,54,55,-1,56,57,58,-1,59,60,58,-1,33,61,62,-1,63,64,65,-1,63,20,64,-1,66,64,67,-1,68,69,65,-1,50,18,17,-1,62,70,71,-1,72,73,74,-1,75,76,77,-1,78,8,79,-1,80,19,18,-1,56,81,82,-1,83,36,35,-1,34,84,22,-1,85,86,87,-1,88,89,90,-1,45,91,92,-1,93,94,95,-1,96,97,98,-1,99,100,101,-1,102,103,104,-1,105,106,107,-1,108,98,109,-1,110,48,111,-1,71,112,113,-1,114,115,116,-1,79,117,118,-1,119,120,121,-1,72,2,73,-1,122,123,124,-1,32,22,38,-1,30,29,50,-1,125,124,126,-1,14,118,127,-1,31,112,52,-1,128,129,130,-1,18,49,48,-1,131,132,111,-1,133,134,135,-1,136,137,138,-1,129,128,139,-1,36,44,46,-1,31,30,140,-1,141,142,143,-1,144,51,52,-1,145,146,147,-1,89,148,149,-1,150,151,12,-1,6,152,153,-1,154,155,156,-1,13,157,158,-1,149,120,159,-1,160,72,27,-1,161,159,162,-1,149,148,120,-1,9,13,158,-1,4,163,5,-1,153,7,6,-1,151,13,12,-1,164,89,149,-1,146,165,147,-1,166,118,117,-1,117,167,166,-1,51,29,52,-1,168,142,141,-1,24,3,25,-1,143,77,141,-1,22,32,34,-1,17,140,30,-1,36,46,37,-1,129,139,169,-1,136,138,170,-1,135,171,133,-1,131,172,132,-1,18,50,49,-1,164,173,174,-1,164,175,173,-1,128,130,176,-1,112,177,52,-1,118,54,127,-1,125,122,124,-1,29,51,50,-1,22,21,38,-1,122,178,123,-1,118,14,79,-1,114,88,115,-1,71,177,112,-1,110,111,132,-1,108,96,98,-1,105,107,103,-1,102,104,179,-1,180,181,182,-1,99,101,183,-1,96,184,97,-1,93,185,94,-1,45,186,91,-1,90,115,88,-1,85,187,86,-1,140,17,53,-1,83,188,36,-1,56,82,189,-1,80,18,47,-1,78,79,16,-1,143,75,77,-1,28,72,74,-1,70,126,71,-1,17,30,50,-1,68,190,69,-1,66,191,64,-1,192,59,58,-1,56,58,60,-1,53,19,54,-1,51,193,49,-1,47,48,110,-1,44,194,45,-1,41,43,195,-1,38,21,39,-1,35,37,196,-1,61,33,32,-1,27,72,28,-1,23,25,197,-1,198,27,199,-1,20,22,84,-1,19,53,17,-1,14,16,79,-1,9,11,12,-1,3,5,200,-1,0,2,201,-1,28,162,26,-1,143,202,75,-1,143,203,202,-1,204,205,206,-1,204,207,205,-1,208,73,209,-1,208,74,73,-1,121,148,210,-1,148,121,120,-1,211,13,151,-1,13,211,157,-1,154,163,4,-1,154,156,163,-1,153,212,167,-1,153,213,212,-1,8,117,79,-1,8,7,117,-1,214,206,215,-1,214,204,206,-1,216,0,217,-1,216,1,0,-1,218,164,149,-1,175,164,218,-1,192,219,59,-1,192,220,219,-1,190,165,146,-1,190,221,165,-1,66,222,223,-1,66,224,222,-1,225,226,168,-1,226,225,26,-1,199,26,225,-1,27,26,199,-1,181,152,6,-1,181,180,152,-1,119,26,162,-1,226,26,119,-1,227,141,77,-1,228,141,227,-1,198,229,230,-1,198,199,229,-1,231,232,233,-1,232,231,234,-1,235,100,99,-1,100,235,236,-1,237,129,169,-1,238,129,237,-1,239,138,137,-1,239,240,138,-1,134,234,135,-1,134,232,234,-1,241,242,243,-1,241,244,242,-1,96,245,184,-1,96,246,245,-1,247,131,111,-1,248,131,247,-1,92,249,106,-1,249,92,91,-1,174,89,164,-1,89,174,90,-1,250,216,85,-1,251,216,250,-1,86,252,87,-1,133,252,86,-1,128,253,136,-1,128,176,253,-1,166,254,55,-1,166,255,254,-1,256,140,53,-1,257,140,256,-1,116,258,144,-1,116,115,258,-1,15,127,259,-1,15,14,127,-1,260,261,262,-1,260,214,261,-1,263,264,265,-1,263,188,264,-1,61,38,233,-1,61,32,38,-1,266,77,76,-1,227,77,266,-1,162,120,119,-1,162,159,120,-1,229,207,267,-1,229,268,207,-1,147,163,269,-1,5,163,147,-1,270,271,272,-1,211,271,270,-1,263,194,44,-1,263,57,194,-1,273,274,275,-1,273,262,274,-1,176,173,253,-1,174,173,176,-1,261,62,276,-1,261,70,62,-1,277,237,278,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrpreol1r_geometry_5_23_coordIndex_2()
		{
			int[] value = {193,237,277,-1,279,132,280,-1,279,110,132,-1,281,236,235,-1,281,196,236,-1,40,43,231,-1,40,195,43,-1,171,242,282,-1,171,283,242,-1,245,170,284,-1,139,170,245,-1,248,285,131,-1,248,286,285,-1,287,106,249,-1,106,287,107,-1,288,289,290,-1,288,291,289,-1,292,293,294,-1,293,292,295,-1,296,180,182,-1,296,11,180,-1,297,298,299,-1,297,290,298,-1,300,301,295,-1,301,300,302,-1,94,303,95,-1,94,304,303,-1,109,305,306,-1,109,307,305,-1,308,309,310,-1,311,309,308,-1,312,183,101,-1,313,183,312,-1,313,289,183,-1,314,289,313,-1,104,107,315,-1,103,107,104,-1,285,310,309,-1,285,316,310,-1,307,98,317,-1,109,98,307,-1,318,304,94,-1,318,319,304,-1,300,292,320,-1,300,295,292,-1,318,243,321,-1,241,243,318,-1,294,322,292,-1,294,42,322,-1,183,291,99,-1,291,183,289,-1,287,323,311,-1,249,323,287,-1,324,286,248,-1,324,306,286,-1,94,241,318,-1,185,241,94,-1,282,244,240,-1,282,242,244,-1,234,43,325,-1,234,231,43,-1,326,235,327,-1,326,281,235,-1,92,46,45,-1,46,92,328,-1,277,49,193,-1,49,277,247,-1,329,225,228,-1,225,330,199,-1,329,330,225,-1,253,331,332,-1,173,331,253,-1,273,86,187,-1,273,275,86,-1,67,224,66,-1,224,67,333,-1,334,35,335,-1,334,83,35,-1,56,194,57,-1,56,189,194,-1,155,16,219,-1,155,78,16,-1,272,336,221,-1,271,336,272,-1,156,269,163,-1,156,220,269,-1,207,337,205,-1,268,337,207,-1,53,254,256,-1,53,55,254,-1,69,146,338,-1,190,146,69,-1,67,20,84,-1,20,67,64,-1,338,188,83,-1,188,338,264,-1,262,339,260,-1,339,262,273,-1,71,33,62,-1,113,33,71,-1,58,263,265,-1,58,57,263,-1,80,54,19,-1,80,127,54,-1,130,115,90,-1,115,130,258,-1,124,71,126,-1,124,177,71,-1,224,254,255,-1,224,333,254,-1,332,136,253,-1,137,136,332,-1,133,275,134,-1,133,86,275,-1,251,331,340,-1,251,250,331,-1,193,238,237,-1,51,238,193,-1,45,189,186,-1,194,189,45,-1,249,280,323,-1,249,91,280,-1,108,246,96,-1,108,278,246,-1,185,244,241,-1,185,341,244,-1,342,294,293,-1,294,342,325,-1,42,325,43,-1,42,294,325,-1,327,99,291,-1,99,327,235,-1,21,326,39,-1,21,343,326,-1,236,344,100,-1,344,236,345,-1,257,31,140,-1,112,31,257,-1,160,198,230,-1,27,198,160,-1,337,228,227,-1,329,228,337,-1,4,346,154,-1,347,346,4,-1,150,197,151,-1,150,23,197,-1,182,347,296,-1,346,347,182,-1,61,276,62,-1,233,276,61,-1,255,222,224,-1,255,212,222,-1,68,221,190,-1,68,272,221,-1,15,219,16,-1,15,59,219,-1,175,208,340,-1,175,218,208,-1,217,348,339,-1,217,0,348,-1,215,349,125,-1,215,206,349,-1,350,114,178,-1,114,350,351,-1,223,158,157,-1,223,222,158,-1,347,3,24,-1,347,4,3,-1,3,336,25,-1,3,200,336,-1,202,210,351,-1,210,202,121,-1,209,2,1,-1,209,73,2,-1,267,204,352,-1,204,267,207,-1,353,75,350,-1,353,76,75,-1,206,266,349,-1,206,205,266,-1,348,201,354,-1,348,0,201,-1,218,74,208,-1,218,161,74,-1,211,197,271,-1,151,197,211,-1,355,8,78,-1,355,6,8,-1,156,219,220,-1,219,156,155,-1,180,10,152,-1,180,11,10,-1,350,122,353,-1,178,122,350,-1,214,352,204,-1,214,260,352,-1,251,1,216,-1,251,209,1,-1,351,88,114,-1,88,351,210,-1,356,220,192,-1,356,269,220,-1,66,270,191,-1,66,223,270,-1,168,228,225,-1,141,228,168,-1,182,6,355,-1,182,181,6,-1,168,119,203,-1,168,226,119,-1,199,268,229,-1,199,330,268,-1,113,34,33,-1,113,357,34,-1,38,231,233,-1,38,40,231,-1,335,196,281,-1,335,35,196,-1,288,195,358,-1,288,41,195,-1,240,252,282,-1,239,252,240,-1,283,243,242,-1,359,243,283,-1,184,284,93,-1,184,245,284,-1,248,277,324,-1,248,247,277,-1,328,106,105,-1,106,328,92,-1,110,82,47,-1,82,110,279,-1,85,217,187,-1,216,217,85,-1,87,239,360,-1,252,239,87,-1,361,67,84,-1,361,333,67,-1,361,257,256,-1,357,257,361,-1,123,144,52,-1,123,116,144,-1,144,238,51,-1,238,144,258,-1,259,56,60,-1,81,56,259,-1,15,60,59,-1,15,259,60,-1,274,233,232,-1,233,274,276,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrpreol1r_geometry_5_23_coordIndex_3()
		{
			int[] value = {214,70,261,-1,214,215,70,-1,65,334,63,-1,334,65,69,-1,64,68,65,-1,191,68,64,-1,264,356,265,-1,145,356,264,-1,205,227,266,-1,337,227,205,-1,28,161,162,-1,28,74,161,-1,75,351,350,-1,75,202,351,-1,267,230,229,-1,230,267,354,-1,165,5,147,-1,200,5,165,-1,150,11,296,-1,11,150,12,-1,82,80,47,-1,81,80,82,-1,188,44,36,-1,188,263,44,-1,343,20,63,-1,20,343,21,-1,262,276,274,-1,262,261,276,-1,360,85,87,-1,250,85,360,-1,130,174,176,-1,90,174,130,-1,169,278,237,-1,169,246,278,-1,279,91,186,-1,279,280,91,-1,345,196,37,-1,196,345,236,-1,358,40,39,-1,40,358,195,-1,135,283,171,-1,135,342,283,-1,284,138,341,-1,170,138,284,-1,97,93,95,-1,184,93,97,-1,131,309,172,-1,131,285,309,-1,102,100,344,-1,100,102,101,-1,290,41,288,-1,41,290,297,-1,359,295,301,-1,359,293,295,-1,299,322,297,-1,362,322,299,-1,302,321,301,-1,321,302,363,-1,95,364,97,-1,95,303,364,-1,306,365,286,-1,306,305,365,-1,366,311,308,-1,287,311,366,-1,101,179,312,-1,179,101,102,-1,290,314,298,-1,290,289,314,-1,315,287,366,-1,107,287,315,-1,285,365,316,-1,285,286,365,-1,317,97,364,-1,98,97,317,-1,363,318,321,-1,318,363,319,-1,320,322,362,-1,320,292,322,-1,359,321,243,-1,359,301,321,-1,297,42,41,-1,42,297,322,-1,344,103,102,-1,344,105,103,-1,172,311,323,-1,172,309,311,-1,306,108,109,-1,324,108,306,-1,341,240,244,-1,138,240,341,-1,325,135,234,-1,135,325,342,-1,39,327,358,-1,39,326,327,-1,328,37,46,-1,37,328,345,-1,49,111,48,-1,49,247,111,-1,246,139,245,-1,169,139,246,-1,116,178,114,-1,178,116,123,-1,332,250,360,-1,331,250,332,-1,63,335,343,-1,63,334,335,-1,7,167,117,-1,7,153,167,-1,221,200,165,-1,336,200,221,-1,230,201,160,-1,230,354,201,-1,203,121,202,-1,203,119,121,-1,2,160,201,-1,72,160,2,-1,333,256,254,-1,333,361,256,-1,145,338,146,-1,145,264,338,-1,69,83,334,-1,83,69,338,-1,125,70,215,-1,125,126,70,-1,134,274,232,-1,134,275,274,-1,55,118,166,-1,118,55,54,-1,81,127,80,-1,81,259,127,-1,258,129,238,-1,129,258,130,-1,52,124,123,-1,124,52,177,-1,357,84,34,-1,357,361,84,-1,192,265,356,-1,192,58,265,-1,360,137,332,-1,239,137,360,-1,187,339,273,-1,217,339,187,-1,173,340,331,-1,175,340,173,-1,189,279,186,-1,189,82,279,-1,323,132,172,-1,323,280,132,-1,278,324,277,-1,108,324,278,-1,93,341,185,-1,93,284,341,-1,342,359,283,-1,293,359,342,-1,282,133,171,-1,252,133,282,-1,136,139,128,-1,136,170,139,-1,358,291,288,-1,291,358,327,-1,343,281,326,-1,343,335,281,-1,345,105,344,-1,105,345,328,-1,112,357,113,-1,112,257,357,-1,330,337,268,-1,330,329,337,-1,142,203,143,-1,142,168,203,-1,355,346,182,-1,346,355,154,-1,296,23,150,-1,296,24,23,-1,24,296,347,-1,167,255,166,-1,255,167,212,-1,191,272,68,-1,191,270,272,-1,145,269,356,-1,145,147,269,-1,210,89,88,-1,89,210,148,-1,340,209,251,-1,340,208,209,-1,348,260,339,-1,260,348,352,-1,125,353,122,-1,125,349,353,-1,212,158,222,-1,158,212,213,-1,223,211,270,-1,223,157,211,-1,152,213,153,-1,152,10,213,-1,154,78,155,-1,154,355,78,-1,271,25,336,-1,197,25,271,-1,213,9,158,-1,10,9,213,-1,159,218,149,-1,218,159,161,-1,354,352,348,-1,352,354,267,-1,349,76,353,-1,349,266,76,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rpreol1r_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 getrpreol1r_geometry_5_23_coordIndex()
		{
			MFInt32 rpreol1r_geometry_5_23_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrpreol1r_geometry_5_23_coordIndex_1()))
				.append(new MFInt32(getrpreol1r_geometry_5_23_coordIndex_2()))
				.append(new MFInt32(getrpreol1r_geometry_5_23_coordIndex_3()));
			return rpreol1r_geometry_5_23_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rpreol1r_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 getrpreol1r_coordinate_6_23_point()
		{
			MFVec3f rpreol1r_coordinate_6_23_point = new MFVec3f(new double[] {-0.0218,1.617,0.0819,-0.0217,1.617,0.0821,-0.0216,1.6174,0.0819,-0.0167,1.6179,0.0787,-0.0165,1.6179,0.0789,-0.0162,1.6176,0.0788,-0.0167,1.6178,0.0796,-0.0165,1.6175,0.0798,-0.0163,1.6176,0.0797,-0.0174,1.6178,0.0793,-0.0172,1.6179,0.0796,-0.0172,1.618,0.0793,-0.0173,1.618,0.0791,-0.0174,1.6178,0.079,-0.0155,1.616,0.08,-0.0153,1.6161,0.0798,-0.0158,1.6172,0.0797,-0.0169,1.6106,0.0815,-0.0161,1.6104,0.0814,-0.0158,1.6124,0.0809,-0.0175,1.6124,0.0779,-0.0183,1.6103,0.0777,-0.019,1.6105,0.0782,-0.0171,1.618,0.0788,-0.0169,1.618,0.0788,-0.0168,1.6179,0.0786,-0.0212,1.6179,0.0818,-0.0213,1.6179,0.0816,-0.0214,1.6177,0.0819,-0.0183,1.6105,0.0823,-0.0177,1.6095,0.0818,-0.0181,1.6107,0.0817,-0.0199,1.6097,0.0786,-0.0197,1.6107,0.0794,-0.0192,1.6107,0.0789,-0.0155,1.6104,0.0776,-0.015,1.6105,0.078,-0.0151,1.6089,0.0778,-0.0202,1.609,0.0784,-0.0186,1.6087,0.0771,-0.0206,1.6079,0.0779,-0.0211,1.6056,0.0772,-0.0224,1.6056,0.0783,-0.0223,1.6071,0.0784,-0.0147,1.6105,0.0786,-0.0145,1.6089,0.0789,-0.0146,1.6089,0.0784,-0.0155,1.6105,0.0812,-0.0159,1.6089,0.0815,-0.0175,1.6079,0.0823,-0.0176,1.609,0.082,-0.0189,1.6103,0.0831,-0.0191,1.6124,0.0823,-0.0166,1.6124,0.0809,-0.0156,1.6142,0.0804,-0.0162,1.6143,0.0806,-0.0146,1.6125,0.0799,-0.0145,1.6125,0.0793,-0.0145,1.6143,0.0793,-0.0152,1.6161,0.0795,-0.0146,1.6143,0.0796,-0.0205,1.6104,0.0792,-0.0205,1.6127,0.0803,-0.0167,1.6124,0.0775,-0.0169,1.6143,0.0779,-0.0162,1.6143,0.0776,-0.0173,1.6161,0.079,-0.0174,1.6143,0.0789,-0.0165,1.6162,0.0781,-0.0155,1.6143,0.0776,-0.0206,1.6143,0.0806,-0.0197,1.6127,0.0809,-0.0214,1.6177,0.0818,-0.0215,1.6174,0.082,-0.0214,1.6174,0.0821,-0.0203,1.6174,0.0819,-0.0203,1.6174,0.0815,-0.0206,1.6178,0.0814,-0.0162,1.6176,0.0795,-0.0159,1.6172,0.0798,-0.0153,1.6124,0.0807,-0.0149,1.6125,0.0804,-0.0148,1.6105,0.0807,-0.0152,1.6125,0.0779,-0.0181,1.6124,0.0788,-0.0223,1.6143,0.0826,-0.0227,1.6123,0.0822,-0.0223,1.6123,0.0827,-0.0206,1.6161,0.0831,-0.021,1.6161,0.0832,-0.0209,1.6144,0.0836,-0.0145,1.6074,0.0795,-0.0146,1.6074,0.0788,-0.0223,1.6056,0.0832,-0.0229,1.604,0.0827,-0.0224,1.604,0.0831,-0.0211,1.6056,0.084,-0.022,1.604,0.0835,-0.0213,1.604,0.0837,-0.0168,1.6057,0.076,-0.0158,1.6058,0.0766,-0.0158,1.6042,0.0765,-0.0154,1.6042,0.0772,-0.0149,1.6042,0.0778,-0.0152,1.6031,0.0778,-0.0148,1.6058,0.078,-0.0146,1.6058,0.0786,-0.0148,1.6042,0.0785,-0.0205,1.6056,0.084,-0.0207,1.604,0.0839,-0.0153,1.6089,0.0812,-0.0158,1.6073,0.0817,-0.0184,1.611,0.0808,-0.0189,1.611,0.0801,-0.0202,1.6161,0.0829,-0.0204,1.6143,0.0834,-0.0199,1.6143,0.0831,-0.0162,1.6171,0.08,-0.0158,1.6161,0.0803,-0.0211,1.6178,0.082,-0.0211,1.6174,0.0824,-0.0209,1.6174,0.0824,-0.0197,1.6161,0.0816,-0.0194,1.6143,0.0824,-0.0196,1.6141,0.0816,-0.0201,1.6161,0.0811,-0.0199,1.6143,0.0809,-0.0151,1.6142,0.0802,-0.0212,1.6103,0.0837,-0.0206,1.6103,0.0839,-0.0209,1.6125,0.0838,-0.0159,1.6057,0.0816,-0.0153,1.6073,0.0812,-0.0228,1.6102,0.0818,-0.0229,1.6101,0.0812,-0.0234,1.6085,0.0812,-0.0216,1.6103,0.0834,-0.0219,1.6102,0.083,-0.0223,1.6087,0.083,-0.0215,1.6087,0.0837,-0.0176,1.6107,0.0813,-0.0207,1.6179,0.0815,-0.0207,1.6179,0.0816,-0.0206,1.6178,0.0817,-0.0196,1.6125,0.0831,-0.0153,1.6162,0.0786,-0.0155,1.6162,0.0783,-0.0159,1.6171,0.0786,-0.021,1.6169,0.0827,-0.0212,1.617,0.0827,-0.0172,1.618,0.0789,-0.0174,1.6178,0.0787,-0.017,1.6179,0.0796,-0.0168,1.6175,0.0798,-0.0165,1.6179,0.0792,-0.0162,1.6176,0.0793,-0.0162,1.6176,0.0791,-0.0174,1.6174,0.079,-0.0174,1.6174,0.0793,-0.0212,1.6174,0.0823,-0.0215,1.6177,0.0816,-0.0213,1.6174,0.0822,-0.0213,1.6177,0.082,-0.0162,1.6176,0.0789,-0.0212,1.6162,0.0831,-0.0161,1.6171,0.0785,-0.0163,1.6162,0.0804,-0.0166,1.6171,0.08,-0.0208,1.6179,0.0818,-0.0208,1.6087,0.0841,-0.0219,1.6087,0.0833,-0.0233,1.6086,0.0817,-0.0153,1.6058,0.081,-0.0216,1.6144,0.0833,-0.0213,1.6144,0.0835,-0.0214,1.6162,0.0829,-0.0213,1.6124,0.0837,-0.0194,1.6125,0.0817,-0.0197,1.616,0.0823,-0.0155,1.6031,0.0771,-0.0171,1.618,0.0794,-0.0169,1.618,0.0794,-0.0168,1.618,0.0793,-0.0172,1.6042,0.0761,-0.0219,1.6056,0.0836,-0.0228,1.6055,0.0828,-0.0145,1.6089,0.0798,-0.0225,1.6143,0.0823,-0.0148,1.6125,0.0784,-0.0147,1.6105,0.08,-0.0159,1.6162,0.078,-0.017,1.6161,0.0783,-0.0151,1.6162,0.0792,-0.0189,1.6088,0.0832,-0.0146,1.6105,0.0792,-0.0209,1.6067,0.0775,-0.0154,1.6088,0.0773,-0.0172,1.6178,0.0786,-0.0213,1.6179,0.0815,-0.0212,1.6179,0.0814,-0.0164,1.6175,0.0786,-0.0216,1.6174,0.0818,-0.0206,1.6174,0.0822,-0.0208,1.6178,0.0819,-0.0213,1.6171,0.0809,-0.0209,1.6174,0.081,-0.0208,1.617,0.0809,-0.0213,1.6174,0.081,-0.0215,1.617,0.0824,-0.0216,1.617,0.0823,-0.0208,1.6168,0.0827,-0.0173,1.6174,0.0786,-0.0172,1.617,0.0798,-0.0172,1.6174,0.0797,-0.0214,1.6163,0.0808,-0.0207,1.6162,0.0808,-0.0219,1.6162,0.0824,-0.022,1.6162,0.0821,-0.0214,1.617,0.0826,-0.0158,1.6172,0.0794,-0.0158,1.6172,0.0791,-0.0164,1.6171,0.0782,-0.0174,1.6169,0.0793,-0.0174,1.617,0.0789,-0.0173,1.6161,0.0796,-0.021,1.6179,0.0816,-0.021,1.6179,0.0819,-0.0208,1.6178,0.0812,-0.0208,1.6179,0.0813,-0.0214,1.6177,0.0813,-0.0215,1.6177,0.0815,-0.022,1.6086,0.079,-0.0225,1.6101,0.0803,-0.0216,1.6102,0.0796,-0.023,1.6086,0.08,-0.0166,1.6073,0.0762,-0.0156,1.6073,0.0769,-0.0202,1.6087,0.084,-0.02,1.6103,0.0838,-0.0222,1.6102,0.0827,-0.0226,1.6087,0.0826,-0.0231,1.6055,0.0824,-0.0232,1.6071,0.0821,-0.0234,1.6055,0.082,-0.0229,1.6071,0.0825,-0.0217,1.6071,0.0836,-0.021,1.6072,0.0841,-0.0174,1.6068,0.0824,-0.0175,1.6057,0.0825,-0.0145,1.6058,0.0793,-0.0221,1.6143,0.0829,-0.0218,1.6162,0.0826,-0.0225,1.6102,0.0823,-0.0216,1.6124,0.0835,-0.0168,1.6143,0.0802,-0.0169,1.6162,0.0801,-0.0173,1.6124,0.0804,-0.0182,1.611,0.0806,-0.0203,1.6125,0.0836,-0.0148,1.6143,0.08,-0.0219,1.6163,0.0814,-0.0216,1.6143,0.0807,-0.0222,1.6143,0.0813,-0.0146,1.6125,0.0788,-0.0147,1.6143,0.0784,-0.0145,1.6144,0.0788,-0.0205,1.6174,0.0812,-0.0215,1.6174,0.0813,-0.0212,1.6177,0.0812,-0.0158,1.6172,0.0789,-0.0172,1.617,0.0784,-0.017,1.6174,0.0785,-0.0169,1.617,0.0783,-0.0225,1.6143,0.0818,-0.0224,1.6123,0.0809,-0.0228,1.6123,0.0817,-0.0216,1.6124,0.0803,-0.019,1.6072,0.0834,-0.0204,1.6072,0.0841,-0.0148,1.6089,0.0808,-0.0148,1.6073,0.0807,-0.0162,1.6087,0.0768,-0.0229,1.6086,0.0823,-0.0236,1.6071,0.0815,-0.0221,1.6071,0.0832,-0.0161,1.6042,0.0815,-0.0175,1.6042,0.0824,-0.0147,1.6042,0.0792,-0.0198,1.6056,0.0765,-0.0187,1.6041,0.0759,-0.0201,1.6041,0.0764,-0.0184,1.6057,0.0759,-0.0235,1.604,0.0792,-0.024,1.6055,0.0805,-0.0235,1.6055,0.0794,-0.024,1.604,0.0805,-0.017,1.618,0.0791,-0.0212,1.6041,0.0771,-0.0201,1.603,0.0763,-0.0212,1.6026,0.077,-0.0238,1.6028,0.0804,-0.0237,1.604,0.0811,-0.0236,1.6028,0.081,-0.0225,1.6029,0.0829,-0.0229,1.6029,0.0825,-0.0192,1.6029,0.0829,-0.0192,1.6041,0.0832,-0.0207,1.6029,0.0836,-0.0152,1.6025,0.0803,-0.0156,1.6042,0.081,-0.0157,1.6025,0.0808,-0.0151,1.6042,0.0804,-0.0159,1.6031,0.0764,-0.0173,1.6031,0.076,-0.0187,1.6031,0.0759,-0.015,1.603,0.0785,-0.0162,1.6025,0.0813,-0.0214,1.6029,0.0835,-0.0232,1.604,0.0822,-0.0231,1.6029,0.0821,-0.0234,1.6026,0.0791,-0.0235,1.604,0.0818,-0.0224,1.604,0.078,-0.0148,1.6058,0.0805,-0.0192,1.6056,0.0834,-0.0233,1.607,0.0797,-0.0175,1.6087,0.0766,-0.018,1.6072,0.0761,-0.0147,1.6074,0.0781,-0.021,1.6179,0.0813,-0.0211,1.6179,0.0813,-0.0219,1.6143,0.0831,-0.0219,1.6124,0.0833,-0.0173,1.6142,0.0796,-0.0159,1.6124,0.0775,-0.0162,1.6104,0.0772,-0.0166,1.6175,0.0784,-0.021,1.6178,0.0811,-0.015,1.6143,0.078,-0.022,1.6162,0.0817,-0.0216,1.6162,0.0828,-0.0226,1.6071,0.0829,-0.0238,1.6071,0.0809,-0.0173,1.6102,0.0771,-0.0153,1.6058,0.0773,-0.0152,1.6073,0.0775,-0.0168,1.618,0.0792,-0.0168,1.618,0.079,-0.0218,1.617,0.0816,-0.0203,1.617,0.0811,-0.02,1.6168,0.082,-0.0204,1.6168,0.0825,-0.0217,1.617,0.0813,-0.02,1.6169,0.0815,-0.0216,1.6174,0.0816,-0.0165,1.6179,0.0794,-0.0151,1.6162,0.0789,-0.0187,1.611,0.0799,-0.0194,1.6072,0.0767,-0.0238,1.6055,0.0814,-0.0221,1.6124,0.083,-0.0178,1.6124,0.0797,-0.0223,1.6025,0.078,-0.0235,1.6029,0.0817,-0.022,1.6029,0.0834,-0.0176,1.6028,0.0822,-0.015,1.6028,0.0791});
			return rpreol1r_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 rpreol1r 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 rpreol1r().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.rpreol1r\" 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.rpreol1r self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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