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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrmolr1lr_geometry_5_22_coordIndex_2()
		{
			int[] value = {295,99,279,-1,99,295,296,-1,58,279,109,-1,279,58,295,-1,297,96,298,-1,299,96,297,-1,300,66,106,-1,300,301,66,-1,302,303,304,-1,274,303,302,-1,52,305,306,-1,52,307,305,-1,110,59,51,-1,110,308,59,-1,109,16,269,-1,16,109,279,-1,268,53,267,-1,268,63,53,-1,265,276,264,-1,265,291,276,-1,309,65,111,-1,309,106,65,-1,303,272,310,-1,272,303,274,-1,310,249,270,-1,250,249,310,-1,89,311,90,-1,311,89,308,-1,312,267,278,-1,312,244,267,-1,277,266,264,-1,313,266,277,-1,253,309,251,-1,253,262,309,-1,314,315,316,-1,315,314,271,-1,317,181,180,-1,317,318,181,-1,263,252,319,-1,252,263,253,-1,242,271,249,-1,242,315,271,-1,160,104,247,-1,160,10,104,-1,246,320,245,-1,246,321,320,-1,232,322,243,-1,232,323,322,-1,242,324,315,-1,241,324,242,-1,238,254,237,-1,238,131,254,-1,234,252,236,-1,234,325,252,-1,232,326,323,-1,233,326,232,-1,231,327,247,-1,230,327,231,-1,112,246,227,-1,112,47,246,-1,113,325,234,-1,113,44,325,-1,223,210,241,-1,208,210,223,-1,238,71,74,-1,71,238,221,-1,113,220,218,-1,113,234,220,-1,217,233,215,-1,217,328,233,-1,214,329,230,-1,213,329,214,-1,124,112,125,-1,124,45,112,-1,218,43,113,-1,198,43,218,-1,210,40,39,-1,209,40,210,-1,206,102,26,-1,102,206,46,-1,328,204,202,-1,330,204,328,-1,329,199,201,-1,197,199,329,-1,0,23,198,-1,117,23,0,-1,32,35,20,-1,35,32,41,-1,164,184,207,-1,184,164,183,-1,195,330,193,-1,195,331,330,-1,30,138,332,-1,333,138,30,-1,75,188,334,-1,188,75,190,-1,20,333,30,-1,19,333,20,-1,335,187,152,-1,335,196,187,-1,135,161,133,-1,135,167,161,-1,118,166,11,-1,118,168,166,-1,171,119,178,-1,119,171,170,-1,115,176,173,-1,115,143,176,-1,318,171,177,-1,318,169,171,-1,168,336,167,-1,336,168,179,-1,92,183,164,-1,183,92,14,-1,160,118,10,-1,160,159,118,-1,101,134,88,-1,101,180,134,-1,219,163,178,-1,219,162,163,-1,185,122,120,-1,260,122,185,-1,256,156,87,-1,256,154,156,-1,337,258,338,-1,259,258,337,-1,189,290,188,-1,289,290,189,-1,143,285,176,-1,145,285,143,-1,140,289,189,-1,139,289,140,-1,282,78,22,-1,282,281,78,-1,339,135,132,-1,339,166,135,-1,117,2,175,-1,117,0,2,-1,200,91,127,-1,200,12,91,-1,126,116,124,-1,126,207,116,-1,148,94,146,-1,95,94,148,-1,174,280,21,-1,174,284,280,-1,84,184,120,-1,184,84,27,-1,95,13,82,-1,95,148,13,-1,1,178,119,-1,1,219,178,-1,36,340,144,-1,5,340,36,-1,21,282,22,-1,280,282,21,-1,283,18,80,-1,283,136,18,-1,333,141,138,-1,286,141,333,-1,340,288,287,-1,288,340,334,-1,152,257,335,-1,151,257,152,-1,155,259,337,-1,157,259,155,-1,86,158,255,-1,158,86,85,-1,341,125,228,-1,123,125,341,-1,228,161,341,-1,161,228,17,-1,134,98,88,-1,134,133,98,-1,11,7,9,-1,8,7,11,-1,93,211,342,-1,165,211,93,-1,132,343,339,-1,132,181,343,-1,172,344,170,-1,172,37,344,-1,344,175,2,-1,175,344,173,-1,343,163,6,-1,163,343,177,-1,128,179,159,-1,128,342,179,-1,148,14,13,-1,148,147,14,-1,156,195,182,-1,156,155,195,-1,345,150,186,-1,338,150,345,-1,144,115,36,-1,144,143,115,-1,189,76,140,-1,189,77,76,-1,204,186,191,-1,345,186,204,-1,25,194,26,-1,25,182,194,-1,83,197,196,-1,83,199,197,-1,31,332,209,-1,30,332,31,-1,79,33,43,-1,79,34,33,-1,103,77,190,-1,77,103,70,-1,203,192,213,-1,191,192,203,-1,194,217,205,-1,194,193,217,-1,29,124,116,-1,29,45,124,-1,32,208,114,-1,32,31,208,-1,3,172,97,-1,3,37,172,-1,201,129,327,-1,201,127,129,-1,326,203,212,-1,202,203,326,-1,206,216,346,-1,206,205,216,-1,97,169,130,-1,97,172,169,-1,324,38,222,-1,39,38,324,-1,42,224,347,-1,42,114,224,-1,346,226,321,-1,346,216,226,-1,336,123,341,-1,123,336,211,-1,348,214,229,-1,212,214,348,-1,347,349,319,-1,347,224,349,-1,162,220,235,-1,219,220,162,-1,239,222,221,-1,222,239,316,-1,224,240,349,-1,224,223,240,-1,226,244,312,-1,226,225,244,-1,228,15,17,-1,228,227,15,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrmolr1lr_geometry_5_22_coordIndex_3()
		{
			int[] value = {231,266,229,-1,231,248,266,-1,349,250,350,-1,349,240,250,-1,48,236,251,-1,235,236,48,-1,239,90,311,-1,239,237,90,-1,263,272,261,-1,263,350,272,-1,265,104,69,-1,248,104,265,-1,268,322,351,-1,243,322,268,-1,352,245,320,-1,245,352,269,-1,50,314,110,-1,271,314,50,-1,270,52,306,-1,270,50,52,-1,261,300,262,-1,261,273,300,-1,299,9,96,-1,69,9,299,-1,275,351,277,-1,351,275,107,-1,108,352,278,-1,352,108,56,-1,89,99,60,-1,89,88,99,-1,52,105,307,-1,52,51,105,-1,304,306,305,-1,303,306,304,-1,273,302,353,-1,273,274,302,-1,353,300,273,-1,300,353,301,-1,299,293,291,-1,299,297,293,-1,60,296,61,-1,60,99,296,-1,55,108,53,-1,108,55,62,-1,275,292,294,-1,275,276,292,-1,96,67,298,-1,96,65,67,-1,308,60,59,-1,308,89,60,-1,269,56,109,-1,269,352,56,-1,351,63,268,-1,351,107,63,-1,291,69,299,-1,265,69,291,-1,262,106,309,-1,262,300,106,-1,303,270,306,-1,310,270,303,-1,308,314,311,-1,314,308,110,-1,320,278,352,-1,320,312,278,-1,351,313,277,-1,322,313,351,-1,251,111,48,-1,251,309,111,-1,310,350,250,-1,350,310,272,-1,316,311,314,-1,316,239,311,-1,49,235,48,-1,162,235,49,-1,319,350,263,-1,319,349,350,-1,313,229,266,-1,348,229,313,-1,167,341,161,-1,341,167,336,-1,321,312,320,-1,321,226,312,-1,322,348,313,-1,323,348,322,-1,315,222,316,-1,324,222,315,-1,130,318,317,-1,130,169,318,-1,325,319,252,-1,325,347,319,-1,323,212,348,-1,326,212,323,-1,247,129,160,-1,327,129,247,-1,47,321,246,-1,47,346,321,-1,44,347,325,-1,44,42,347,-1,241,39,324,-1,210,39,241,-1,131,74,73,-1,74,131,238,-1,46,346,47,-1,46,206,346,-1,233,202,326,-1,328,202,233,-1,230,201,327,-1,329,201,230,-1,1,198,218,-1,0,198,1,-1,74,103,72,-1,103,74,71,-1,29,46,45,-1,29,102,46,-1,193,328,217,-1,193,330,328,-1,213,197,329,-1,192,197,213,-1,72,190,75,-1,190,72,103,-1,209,76,40,-1,332,76,209,-1,200,83,82,-1,83,200,199,-1,330,345,204,-1,331,345,330,-1,332,140,76,-1,138,140,332,-1,5,334,340,-1,334,5,75,-1,331,338,345,-1,337,338,331,-1,196,81,83,-1,335,81,196,-1,24,85,86,-1,85,24,28,-1,155,331,195,-1,155,337,331,-1,91,342,128,-1,91,93,342,-1,339,6,8,-1,6,339,343,-1,170,2,119,-1,2,170,344,-1,37,173,344,-1,37,115,173,-1,181,177,343,-1,181,318,177,-1,342,336,179,-1,211,336,342,-1,14,185,183,-1,185,14,147,-1,254,180,101,-1,254,317,180,-1,317,131,130,-1,317,254,131,-1,147,260,185,-1,149,260,147,-1,255,87,86,-1,255,256,87,-1,338,153,150,-1,258,153,338,-1,81,257,100,-1,257,81,335,-1,290,334,188,-1,290,288,334,-1,281,80,78,-1,281,283,80,-1,19,286,333,-1,137,286,19,-1,176,284,174,-1,285,284,176,-1,8,166,339,-1,11,166,8,-1,175,21,117,-1,21,175,174,-1,82,12,200,-1,82,13,12,-1,116,184,27,-1,207,184,116,-1,287,144,340,-1,287,142,144,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rmolr1lr_geometry' coordIndex field, scene-graph level=5, element #22, 2728 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 getrmolr1lr_geometry_5_22_coordIndex()
		{
			MFInt32 rmolr1lr_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrmolr1lr_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getrmolr1lr_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getrmolr1lr_geometry_5_22_coordIndex_3()));
			return rmolr1lr_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rmolr1lr_coordinate' point field, scene-graph level=6, element #22, 1062 total numbers made up of 354 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 getrmolr1lr_coordinate_6_22_point()
		{
			MFVec3f rmolr1lr_coordinate_6_22_point = new MFVec3f(new double[] {-0.0236,1.5752,0.0587,-0.0227,1.5765,0.0595,-0.0239,1.5752,0.0591,-0.0267,1.5755,0.0595,-0.027,1.5755,0.0593,-0.0266,1.5748,0.0587,-0.0211,1.5817,0.062,-0.0197,1.5837,0.0626,-0.02,1.5836,0.0628,-0.0196,1.5836,0.0633,-0.0202,1.5817,0.0636,-0.02,1.5836,0.063,-0.0231,1.5749,0.063,-0.0238,1.5738,0.0628,-0.0244,1.5739,0.0626,-0.0276,1.5825,0.0655,-0.0276,1.5845,0.0652,-0.0274,1.5826,0.0649,-0.0252,1.5746,0.057,-0.0254,1.5746,0.057,-0.0254,1.5751,0.0568,-0.0249,1.5743,0.0578,-0.0247,1.5744,0.0577,-0.024,1.5748,0.058,-0.0261,1.5739,0.0639,-0.0259,1.574,0.0643,-0.0264,1.5752,0.0649,-0.0259,1.5739,0.0632,-0.0261,1.574,0.0635,-0.0266,1.5753,0.064,-0.0258,1.5752,0.0568,-0.0257,1.5758,0.0569,-0.0252,1.5758,0.0568,-0.0241,1.5756,0.057,-0.0245,1.5751,0.057,-0.0249,1.5751,0.0568,-0.0264,1.5748,0.0588,-0.0258,1.5753,0.0596,-0.0276,1.5773,0.0586,-0.0271,1.5773,0.0582,-0.0268,1.5758,0.0574,-0.0248,1.5757,0.0568,-0.0243,1.5772,0.0574,-0.0237,1.5754,0.0576,-0.0233,1.577,0.0576,-0.0269,1.5768,0.0646,-0.0269,1.5767,0.0651,-0.027,1.5784,0.0656,-0.0204,1.5818,0.061,-0.0205,1.5817,0.0617,-0.0272,1.5847,0.0603,-0.0279,1.5865,0.061,-0.0271,1.5865,0.0602,-0.0243,1.5857,0.0682,-0.0229,1.5879,0.0685,-0.0245,1.5879,0.0685,-0.0269,1.5861,0.067,-0.0269,1.588,0.0677,-0.0276,1.5879,0.0666,-0.0282,1.5865,0.0621,-0.0282,1.5864,0.063,-0.0284,1.5881,0.0631,-0.0259,1.5878,0.0683,-0.0229,1.5855,0.0678,-0.0217,1.5877,0.0679,-0.0197,1.5855,0.0618,-0.0199,1.5873,0.0605,-0.0192,1.5868,0.0619,-0.0283,1.5882,0.0621,-0.0195,1.5836,0.0642,-0.0271,1.5758,0.0577,-0.0278,1.5772,0.0592,-0.0272,1.5756,0.0589,-0.0275,1.5768,0.0603,-0.0279,1.5769,0.06,-0.0269,1.5749,0.0585,-0.0266,1.5752,0.0572,-0.0268,1.5751,0.0575,-0.0248,1.5744,0.0574,-0.0242,1.575,0.0575,-0.0249,1.5745,0.0571,-0.0241,1.5731,0.063,-0.0235,1.5737,0.0629,-0.0233,1.5737,0.0631,-0.0254,1.5733,0.063,-0.0255,1.5733,0.0631,-0.0255,1.5733,0.0633,-0.0255,1.5733,0.0635,-0.0281,1.5846,0.0639,-0.0284,1.5847,0.0628,-0.0285,1.5824,0.0623,-0.0225,1.5763,0.0633,-0.024,1.575,0.0628,-0.0237,1.5764,0.0632,-0.0244,1.5731,0.0629,-0.0243,1.5732,0.0629,-0.0193,1.5854,0.063,-0.027,1.5768,0.0605,-0.0279,1.5846,0.0644,-0.0278,1.5863,0.0643,-0.0242,1.5731,0.063,-0.028,1.5823,0.063,-0.0265,1.5752,0.0644,-0.0272,1.5757,0.0583,-0.0198,1.5816,0.0644,-0.0278,1.5882,0.0611,-0.0201,1.5856,0.0607,-0.0217,1.5854,0.0676,-0.0259,1.5859,0.0681,-0.0271,1.5861,0.0661,-0.028,1.5848,0.0608,-0.0199,1.5838,0.0617,-0.0272,1.5784,0.065,-0.0227,1.5768,0.0583,-0.0249,1.5773,0.0575,-0.0257,1.5747,0.0588,-0.0264,1.5752,0.0636,-0.0241,1.5748,0.0583,-0.021,1.5818,0.0636,-0.0232,1.5764,0.0598,-0.0253,1.5733,0.0629,-0.0254,1.5733,0.063,-0.0253,1.5732,0.0629,-0.0267,1.5785,0.0643,-0.0268,1.5768,0.0641,-0.027,1.5785,0.0645,-0.0266,1.5768,0.0639,-0.0219,1.5762,0.0635,-0.0219,1.5779,0.0636,-0.0212,1.5778,0.0637,-0.0273,1.5783,0.0614,-0.0279,1.5784,0.0613,-0.0253,1.5838,0.0636,-0.0276,1.5844,0.0643,-0.0277,1.5844,0.0639,-0.0252,1.5838,0.0637,-0.0252,1.5745,0.0571,-0.0254,1.5745,0.0571,-0.0258,1.5746,0.0571,-0.0259,1.5745,0.0573,-0.026,1.5746,0.0572,-0.0257,1.5745,0.0572,-0.0258,1.5744,0.058,-0.0256,1.5744,0.0581,-0.0258,1.5744,0.0581,-0.0256,1.5743,0.058,-0.0245,1.5732,0.0629,-0.0246,1.5733,0.0627,-0.0244,1.5732,0.0628,-0.0246,1.5732,0.0628,-0.0241,1.5731,0.0636,-0.0241,1.5731,0.0634,-0.024,1.5731,0.0635,-0.0242,1.5731,0.0635,-0.0252,1.5732,0.0637,-0.025,1.5732,0.0638,-0.0253,1.5732,0.0638,-0.025,1.5732,0.0637,-0.0254,1.5733,0.0631,-0.0214,1.5799,0.0637,-0.0207,1.5798,0.0638,-0.0269,1.5825,0.0646,-0.021,1.5802,0.0611,-0.0216,1.5802,0.0615,-0.0254,1.5752,0.063,-0.0255,1.5766,0.0634,-0.0225,1.5835,0.0633,-0.0253,1.5823,0.064,-0.0226,1.582,0.0635,-0.0258,1.5781,0.0615,-0.024,1.5763,0.0602,-0.0236,1.5779,0.0611,-0.0258,1.5766,0.0605,-0.0248,1.5746,0.0587,-0.025,1.5743,0.058,-0.0244,1.5747,0.0585,-0.0251,1.5743,0.0581,-0.0231,1.5803,0.062,-0.0224,1.578,0.0606,-0.0229,1.58,0.0636,-0.0274,1.5822,0.0631,-0.0255,1.582,0.063,-0.0256,1.5739,0.0647,-0.0252,1.574,0.0627,-0.0258,1.574,0.063,-0.0251,1.5733,0.0628,-0.0236,1.5736,0.0642,-0.0233,1.5736,0.064,-0.0262,1.5745,0.0576,-0.0261,1.5746,0.0574,-0.0269,1.575,0.058,-0.0229,1.5747,0.0649,-0.0226,1.5747,0.0647,-0.025,1.575,0.0656,-0.0259,1.5751,0.0655,-0.0251,1.5738,0.0647,-0.0233,1.5736,0.0636,-0.0225,1.5747,0.0641,-0.0235,1.5753,0.0584,-0.0225,1.5748,0.0635,-0.0227,1.5748,0.0632,-0.0217,1.5761,0.0639,-0.0233,1.5762,0.066,-0.0222,1.5761,0.0656,-0.0237,1.5748,0.0653,-0.0261,1.5765,0.0664,-0.0267,1.5767,0.0656,-0.0262,1.5753,0.0634,-0.0256,1.5773,0.0577,-0.0263,1.5758,0.057,-0.0264,1.5773,0.0578,-0.0254,1.5783,0.0638,-0.0215,1.5777,0.0662,-0.0217,1.5761,0.0653,-0.021,1.5776,0.0659,-0.0249,1.578,0.0672,-0.0261,1.5782,0.0671,-0.025,1.5764,0.0664,-0.0225,1.5766,0.059,-0.0219,1.578,0.0602,-0.0217,1.5781,0.0597,-0.0282,1.5787,0.06,-0.028,1.5788,0.0593,-0.0255,1.5788,0.0581,-0.0246,1.5787,0.058,-0.0248,1.58,0.0677,-0.0262,1.5802,0.0676,-0.0275,1.5804,0.0654,-0.0273,1.5805,0.0649,-0.0204,1.5796,0.0662,-0.0209,1.5777,0.0651,-0.0203,1.5796,0.0654,-0.0236,1.5799,0.0674,-0.0238,1.5779,0.0669,-0.022,1.5782,0.0588,-0.0209,1.5802,0.0606,-0.0211,1.5803,0.0594,-0.0285,1.5808,0.0617,-0.0283,1.5785,0.0608,-0.0285,1.5809,0.0607,-0.0253,1.5809,0.0585,-0.0264,1.5788,0.0583,-0.0264,1.581,0.0587,-0.0234,1.5818,0.0676,-0.0247,1.582,0.0679,-0.0274,1.5824,0.0662,-0.0272,1.5804,0.0661,-0.0203,1.5796,0.0645,-0.0199,1.5816,0.0654,-0.0262,1.5827,0.0592,-0.025,1.5826,0.059,-0.0207,1.582,0.0599,-0.0219,1.5805,0.0585,-0.0215,1.5822,0.0588,-0.0281,1.5808,0.0623,-0.0254,1.5732,0.0633,-0.0254,1.5732,0.0635,-0.0241,1.5731,0.0632,-0.0245,1.5731,0.0636,-0.0247,1.5731,0.0636,-0.0251,1.5732,0.0629,-0.0228,1.5843,0.059,-0.0212,1.5841,0.0593,-0.023,1.5824,0.0586,-0.0196,1.5835,0.0663,-0.0195,1.5835,0.0653,-0.02,1.5815,0.0662,-0.0245,1.584,0.068,-0.0231,1.5838,0.0677,-0.0273,1.5844,0.066,-0.0261,1.5846,0.0596,-0.0273,1.5827,0.0599,-0.0238,1.5844,0.0591,-0.0226,1.586,0.0592,-0.0236,1.5861,0.0593,-0.0201,1.5852,0.0669,-0.0195,1.5852,0.0664,-0.0203,1.5835,0.0668,-0.0261,1.5842,0.0679,-0.0274,1.5862,0.0653,-0.025,1.5743,0.0578,-0.0249,1.5744,0.0574,-0.0249,1.5743,0.0577,-0.025,1.5744,0.0572,-0.0251,1.5743,0.0579,-0.0252,1.5743,0.0579,-0.0256,1.5745,0.0571,-0.0259,1.5744,0.0579,-0.026,1.5744,0.0578,-0.026,1.5745,0.0574,-0.0261,1.5745,0.0576,-0.0193,1.5852,0.0654,-0.0192,1.5869,0.0666,-0.019,1.5869,0.0657,-0.0201,1.5872,0.0671,-0.0279,1.5879,0.0655,-0.0281,1.5879,0.0645,-0.0189,1.5868,0.0644,-0.0189,1.5869,0.0632,-0.0192,1.5853,0.0643,-0.021,1.5858,0.0595,-0.0207,1.5874,0.0597,-0.0236,1.5879,0.0594,-0.0247,1.5862,0.0596,-0.0248,1.588,0.0597,-0.0259,1.5883,0.0598,-0.0259,1.5864,0.0596,-0.0269,1.5882,0.0603,-0.0284,1.5848,0.0619,-0.0202,1.5839,0.0605,-0.0249,1.5845,0.0594,-0.0284,1.5826,0.0613,-0.0263,1.5822,0.0678,-0.0206,1.5816,0.0667,-0.0281,1.5827,0.0604,-0.0275,1.581,0.0593,-0.0282,1.581,0.0599,-0.0275,1.5807,0.0625,-0.0256,1.5805,0.0624,-0.0234,1.5808,0.0582,-0.0272,1.5823,0.0669,-0.0271,1.5803,0.0668,-0.0222,1.5817,0.0673,-0.0225,1.5797,0.0672,-0.0273,1.5788,0.0588,-0.0226,1.5785,0.0581,-0.0229,1.5778,0.0667,-0.0209,1.5777,0.0643,-0.0241,1.5763,0.0662,-0.0216,1.576,0.0646,-0.0243,1.5749,0.0654,-0.0246,1.5737,0.0646,-0.0262,1.5752,0.0569,-0.0256,1.5746,0.057,-0.0262,1.5745,0.0579,-0.024,1.5731,0.0632,-0.0254,1.5803,0.064,-0.0247,1.5732,0.0638,-0.0245,1.5731,0.0637,-0.0225,1.5835,0.0632,-0.026,1.5744,0.058,-0.0267,1.5804,0.0645,-0.0233,1.5781,0.0635,-0.0228,1.5818,0.0626,-0.0245,1.5751,0.0593,-0.0241,1.5737,0.0645,-0.0268,1.5783,0.0663,-0.0239,1.5786,0.0579,-0.021,1.5796,0.0667,-0.0243,1.5808,0.0583,-0.024,1.5825,0.0588,-0.0219,1.5837,0.0674,-0.0271,1.5843,0.0669,-0.0222,1.5878,0.0594});
			return rmolr1lr_coordinate_6_22_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 r_molar1lr 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 r_molar1lr().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.r_molar1lr\" 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.r_molar1lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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