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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getlmolr1lr_geometry_5_22_coordIndex_2()
		{
			int[] value = {251,265,264,-1,66,265,251,-1,262,239,291,-1,262,261,239,-1,259,292,257,-1,292,259,237,-1,112,254,69,-1,112,253,254,-1,293,266,268,-1,269,266,293,-1,264,252,251,-1,264,294,252,-1,295,68,69,-1,68,295,296,-1,293,246,245,-1,293,297,246,-1,298,259,256,-1,259,298,299,-1,154,300,157,-1,301,300,154,-1,261,241,239,-1,261,302,241,-1,299,237,259,-1,237,299,228,-1,303,236,252,-1,236,303,234,-1,250,304,248,-1,250,305,304,-1,246,220,229,-1,246,306,220,-1,307,228,299,-1,228,307,226,-1,308,225,242,-1,225,308,223,-1,241,71,221,-1,241,309,71,-1,306,110,220,-1,306,76,110,-1,79,219,234,-1,219,79,217,-1,41,233,5,-1,215,233,41,-1,309,72,71,-1,309,310,72,-1,311,210,226,-1,210,311,212,-1,312,209,223,-1,209,312,207,-1,206,102,205,-1,102,206,101,-1,44,41,42,-1,118,41,44,-1,72,34,111,-1,72,35,34,-1,212,188,199,-1,212,187,188,-1,313,197,207,-1,197,313,195,-1,194,42,40,-1,44,42,194,-1,33,193,36,-1,193,33,185,-1,203,119,21,-1,203,34,119,-1,181,187,314,-1,187,181,189,-1,32,185,33,-1,185,32,184,-1,315,39,316,-1,40,39,315,-1,148,189,181,-1,189,148,147,-1,9,317,106,-1,317,9,318,-1,22,18,20,-1,119,18,22,-1,189,179,177,-1,189,147,179,-1,319,129,320,-1,319,175,129,-1,321,174,96,-1,321,172,174,-1,1,171,170,-1,322,171,1,-1,126,169,131,-1,142,169,126,-1,168,305,322,-1,168,167,305,-1,300,135,132,-1,321,135,300,-1,190,161,163,-1,319,161,190,-1,103,296,170,-1,103,68,296,-1,92,159,104,-1,157,159,92,-1,174,308,242,-1,308,174,173,-1,19,323,20,-1,19,151,323,-1,324,148,180,-1,148,324,146,-1,325,9,11,-1,318,9,325,-1,315,144,145,-1,315,326,144,-1,27,137,30,-1,27,327,137,-1,328,91,186,-1,91,328,329,-1,127,142,126,-1,142,127,140,-1,135,99,133,-1,99,135,95,-1,89,131,87,-1,126,131,89,-1,320,24,85,-1,320,129,24,-1,128,203,21,-1,203,128,191,-1,183,330,316,-1,183,331,330,-1,98,14,23,-1,98,121,14,-1,202,156,153,-1,202,332,156,-1,173,333,308,-1,173,334,333,-1,304,5,233,-1,304,124,5,-1,159,134,158,-1,134,159,132,-1,91,335,26,-1,91,329,335,-1,139,184,32,-1,184,139,336,-1,141,331,183,-1,141,143,331,-1,176,337,130,-1,176,338,337,-1,339,180,340,-1,180,339,324,-1,179,152,150,-1,179,341,152,-1,12,176,13,-1,176,12,338,-1,233,248,304,-1,233,231,248,-1,249,231,120,-1,249,248,231,-1,13,175,192,-1,176,175,13,-1,301,162,172,-1,162,301,160,-1,171,165,164,-1,171,250,165,-1,169,80,166,-1,169,108,80,-1,100,168,0,-1,166,168,100,-1,103,133,99,-1,164,133,103,-1,162,334,173,-1,162,161,334,-1,134,249,158,-1,249,134,165,-1,178,19,86,-1,178,150,19,-1,14,192,128,-1,13,192,14,-1,340,182,342,-1,182,340,180,-1,107,30,29,-1,107,27,30,-1,38,145,31,-1,38,194,145,-1,342,198,195,-1,198,342,182,-1,188,178,200,-1,188,177,178,-1,195,317,342,-1,195,313,317,-1,75,28,206,-1,75,29,28,-1,84,333,85,-1,312,333,84,-1,198,311,196,-1,311,198,314,-1,201,105,310,-1,201,200,105,-1,191,163,332,-1,190,163,191,-1,193,204,217,-1,204,193,82,-1,332,160,156,-1,163,160,332,-1,197,307,208,-1,307,197,196,-1,211,201,343,-1,211,199,201,-1,2,205,102,-1,2,213,205,-1,43,216,118,-1,303,216,43,-1,218,109,344,-1,218,204,109,-1,345,343,302,-1,345,211,343,-1,153,222,70,-1,155,222,153,-1,209,298,224,-1,298,209,208,-1,227,211,345,-1,227,210,211,-1,295,214,213,-1,295,230,214,-1,216,232,215,-1,294,232,216,-1,219,346,235,-1,346,219,218,-1,238,345,263,-1,238,227,345,-1,240,222,94,-1,240,221,222,-1,347,225,224,-1,347,46,225,-1,244,346,268,-1,244,235,346,-1,229,254,247,-1,254,229,230,-1,232,120,231,-1,15,120,232,-1,323,98,97,-1,151,98,323,-1,11,339,325,-1,11,324,339,-1,122,324,11,-1,122,146,324,-1,337,146,122,-1,337,149,146,-1,338,149,337,-1,12,149,338,-1,12,341,149,-1,12,152,341,-1,121,152,12,-1,121,151,152,-1,151,121,98,-1,348,247,255,-1,348,245,247,-1,347,258,272,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getlmolr1lr_geometry_5_22_coordIndex_3()
		{
			int[] value = {258,347,256,-1,238,260,274,-1,260,238,263,-1,275,94,93,-1,275,240,94,-1,243,267,67,-1,267,243,244,-1,349,269,348,-1,349,271,269,-1,112,6,51,-1,6,112,7,-1,258,64,63,-1,64,258,257,-1,262,114,260,-1,350,114,262,-1,276,104,123,-1,276,93,104,-1,137,125,136,-1,327,125,137,-1,327,127,125,-1,335,127,327,-1,335,140,127,-1,335,143,140,-1,329,143,335,-1,328,143,329,-1,336,143,328,-1,336,331,143,-1,139,331,336,-1,139,330,331,-1,139,326,330,-1,138,326,139,-1,144,326,138,-1,113,273,63,-1,113,351,273,-1,350,59,114,-1,352,59,350,-1,290,54,116,-1,290,123,54,-1,57,352,350,-1,115,352,57,-1,351,286,273,-1,351,284,286,-1,282,353,349,-1,283,353,282,-1,280,349,353,-1,280,271,349,-1,278,281,277,-1,281,278,270,-1,48,65,279,-1,48,50,65,-1,123,16,54,-1,123,17,16,-1,291,350,262,-1,57,350,291,-1,292,64,257,-1,288,64,292,-1,8,286,6,-1,286,8,47,-1,282,348,255,-1,282,349,348,-1,65,267,278,-1,65,67,267,-1,251,67,66,-1,67,251,243,-1,240,291,239,-1,275,291,240,-1,237,274,292,-1,274,237,238,-1,46,272,47,-1,272,46,347,-1,269,245,348,-1,269,293,245,-1,15,294,264,-1,15,232,294,-1,230,69,254,-1,69,230,295,-1,268,297,293,-1,268,346,297,-1,256,224,298,-1,256,347,224,-1,94,155,92,-1,94,222,155,-1,263,302,261,-1,263,345,302,-1,346,344,297,-1,346,218,344,-1,303,294,216,-1,252,294,303,-1,213,296,295,-1,296,213,2,-1,297,306,246,-1,297,344,306,-1,208,299,298,-1,299,208,307,-1,156,301,154,-1,160,301,156,-1,302,309,241,-1,302,343,309,-1,344,76,306,-1,344,109,76,-1,43,234,303,-1,234,43,79,-1,305,124,304,-1,305,167,124,-1,343,310,309,-1,343,201,310,-1,196,226,307,-1,226,196,311,-1,308,312,223,-1,308,333,312,-1,167,3,124,-1,167,80,3,-1,76,74,110,-1,76,78,74,-1,36,217,79,-1,217,36,193,-1,35,310,105,-1,72,310,35,-1,314,212,311,-1,212,314,187,-1,84,207,312,-1,207,84,313,-1,28,101,206,-1,101,28,87,-1,25,77,90,-1,78,77,25,-1,313,106,317,-1,313,84,106,-1,200,86,105,-1,200,178,86,-1,182,314,198,-1,314,182,181,-1,145,40,315,-1,194,40,145,-1,186,90,83,-1,90,186,91,-1,342,318,340,-1,342,317,318,-1,157,132,159,-1,157,300,132,-1,161,320,334,-1,161,319,320,-1,135,96,95,-1,135,321,96,-1,0,322,1,-1,168,322,0,-1,142,108,169,-1,142,141,108,-1,322,250,171,-1,322,305,250,-1,301,321,300,-1,172,321,301,-1,192,319,190,-1,175,319,192,-1,96,242,45,-1,96,174,242,-1,158,120,17,-1,158,249,120,-1,170,2,1,-1,170,296,2,-1,97,20,323,-1,22,20,97,-1,149,179,147,-1,179,149,341,-1,325,340,318,-1,340,325,339,-1,326,316,330,-1,315,316,326,-1,336,186,184,-1,186,336,328,-1,26,327,27,-1,26,335,327,-1,136,89,88,-1,89,136,125,-1,316,81,183,-1,81,316,39,-1,334,85,333,-1,334,320,85,-1,203,332,202,-1,203,191,332,-1,122,130,337,-1,130,122,10,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='lmolr1lr_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 getlmolr1lr_geometry_5_22_coordIndex()
		{
			MFInt32 lmolr1lr_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getlmolr1lr_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getlmolr1lr_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getlmolr1lr_geometry_5_22_coordIndex_3()));
			return lmolr1lr_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='lmolr1lr_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 getlmolr1lr_coordinate_6_22_point()
		{
			MFVec3f lmolr1lr_coordinate_6_22_point = new MFVec3f(new double[] {0.0232,1.5764,0.0598,0.0224,1.578,0.0606,0.0219,1.578,0.0602,0.0267,1.5755,0.0595,0.027,1.5755,0.0593,0.0275,1.5768,0.0603,0.0193,1.5854,0.063,0.0197,1.5837,0.0626,0.0196,1.5836,0.0633,0.0241,1.5731,0.063,0.0243,1.5732,0.0629,0.0242,1.5731,0.063,0.0251,1.5732,0.0629,0.0251,1.5733,0.0628,0.0253,1.5733,0.0629,0.0285,1.5824,0.0623,0.0284,1.5847,0.0628,0.0281,1.5846,0.0639,0.0261,1.5739,0.0639,0.0255,1.5733,0.0635,0.0255,1.5733,0.0633,0.0259,1.5739,0.0632,0.0255,1.5733,0.0631,0.0254,1.5733,0.063,0.0235,1.5737,0.0629,0.0249,1.5751,0.0568,0.0252,1.5746,0.057,0.0249,1.5745,0.0571,0.024,1.5748,0.058,0.0242,1.575,0.0575,0.0248,1.5744,0.0574,0.0261,1.5746,0.0574,0.026,1.5746,0.0572,0.0266,1.5752,0.0572,0.0266,1.5753,0.064,0.0265,1.5752,0.0644,0.0268,1.5758,0.0574,0.0271,1.5758,0.0577,0.0268,1.5751,0.0575,0.0266,1.5748,0.0587,0.0269,1.5749,0.0585,0.0279,1.5769,0.06,0.0272,1.5756,0.0589,0.0276,1.5773,0.0586,0.0272,1.5757,0.0583,0.0202,1.5817,0.0636,0.0198,1.5816,0.0644,0.0195,1.5836,0.0642,0.0278,1.5882,0.0611,0.0282,1.5865,0.0621,0.0279,1.5865,0.061,0.0197,1.5855,0.0618,0.0192,1.5868,0.0619,0.0199,1.5873,0.0605,0.0282,1.5864,0.063,0.0283,1.5882,0.0621,0.0276,1.5879,0.0666,0.0269,1.5861,0.067,0.0271,1.5861,0.0661,0.0245,1.5879,0.0685,0.0229,1.5879,0.0685,0.0229,1.5855,0.0678,0.0201,1.5872,0.0671,0.0195,1.5852,0.0664,0.0201,1.5852,0.0669,0.0271,1.5865,0.0602,0.028,1.5848,0.0608,0.0272,1.5847,0.0603,0.0205,1.5817,0.0617,0.0204,1.5818,0.061,0.0272,1.5784,0.065,0.027,1.5784,0.0656,0.0269,1.5767,0.0651,0.0227,1.5768,0.0583,0.0241,1.5756,0.057,0.0237,1.5754,0.0576,0.0243,1.5772,0.0574,0.0252,1.5758,0.0568,0.0248,1.5757,0.0568,0.0271,1.5773,0.0582,0.0258,1.5753,0.0596,0.0264,1.5748,0.0588,0.0257,1.5758,0.0569,0.0258,1.5752,0.0568,0.0225,1.5748,0.0635,0.0227,1.5748,0.0632,0.0259,1.574,0.0643,0.0241,1.5748,0.0583,0.0247,1.5744,0.0577,0.0249,1.5743,0.0578,0.0254,1.5751,0.0568,0.0254,1.5746,0.057,0.0274,1.5826,0.0649,0.0276,1.5845,0.0652,0.0276,1.5825,0.0655,0.02,1.5836,0.063,0.021,1.5818,0.0636,0.0254,1.5733,0.0631,0.0254,1.5733,0.063,0.02,1.5836,0.0628,0.0239,1.5752,0.0591,0.0236,1.5752,0.0587,0.0227,1.5765,0.0595,0.0211,1.5817,0.062,0.0279,1.5846,0.0644,0.0264,1.5752,0.0649,0.0233,1.5737,0.0631,0.0245,1.5751,0.057,0.0257,1.5747,0.0588,0.0249,1.5773,0.0575,0.0233,1.577,0.0576,0.0269,1.5768,0.0646,0.0199,1.5838,0.0617,0.0192,1.5869,0.0666,0.0243,1.5857,0.0682,0.0269,1.588,0.0677,0.0284,1.5881,0.0631,0.0201,1.5856,0.0607,0.0278,1.5772,0.0592,0.0261,1.574,0.0635,0.028,1.5823,0.063,0.0253,1.5732,0.0629,0.0244,1.5731,0.0629,0.0278,1.5863,0.0643,0.027,1.5768,0.0605,0.025,1.5743,0.0578,0.025,1.5743,0.058,0.0251,1.5743,0.0579,0.0258,1.574,0.063,0.0238,1.5738,0.0628,0.0244,1.5732,0.0628,0.0244,1.5747,0.0585,0.0252,1.5838,0.0637,0.0225,1.5835,0.0632,0.0253,1.5838,0.0636,0.0225,1.5835,0.0633,0.0249,1.5743,0.0577,0.0249,1.5744,0.0574,0.026,1.5745,0.0574,0.0259,1.5745,0.0573,0.0252,1.5743,0.0579,0.0256,1.5744,0.0581,0.0251,1.5743,0.0581,0.0256,1.5743,0.058,0.0261,1.5745,0.0576,0.0262,1.5745,0.0576,0.0245,1.5731,0.0636,0.0247,1.5732,0.0638,0.0245,1.5731,0.0637,0.0247,1.5731,0.0636,0.0253,1.5732,0.0638,0.0254,1.5732,0.0635,0.0252,1.5732,0.0637,0.027,1.5785,0.0645,0.0267,1.5804,0.0645,0.0273,1.5805,0.0649,0.0267,1.5785,0.0643,0.0269,1.5825,0.0646,0.0277,1.5844,0.0639,0.0276,1.5844,0.0643,0.0254,1.5783,0.0638,0.0237,1.5764,0.0632,0.0233,1.5781,0.0635,0.0255,1.5766,0.0634,0.0228,1.5818,0.0626,0.0255,1.582,0.063,0.0245,1.5751,0.0593,0.0258,1.5766,0.0605,0.024,1.5763,0.0602,0.0248,1.5746,0.0587,0.0216,1.5802,0.0615,0.0231,1.5803,0.062,0.0229,1.58,0.0636,0.0219,1.5779,0.0636,0.0214,1.5799,0.0637,0.0244,1.5739,0.0626,0.0246,1.5733,0.0627,0.0251,1.5738,0.0647,0.0256,1.5739,0.0647,0.025,1.5732,0.0638,0.0241,1.5731,0.0636,0.0241,1.5737,0.0645,0.0236,1.5736,0.0642,0.0258,1.5744,0.0581,0.0258,1.5746,0.0571,0.0262,1.5752,0.0569,0.0256,1.5746,0.057,0.0243,1.5749,0.0654,0.025,1.575,0.0656,0.0246,1.5737,0.0646,0.0254,1.5752,0.063,0.0262,1.5753,0.0634,0.0252,1.574,0.0627,0.0263,1.5758,0.057,0.0269,1.575,0.058,0.0226,1.5747,0.0647,0.0222,1.5761,0.0656,0.0217,1.5761,0.0653,0.0229,1.5747,0.0649,0.025,1.5764,0.0664,0.0259,1.5751,0.0655,0.0261,1.5765,0.0664,0.0268,1.5768,0.0641,0.0264,1.5752,0.0636,0.0256,1.5773,0.0577,0.0225,1.5766,0.059,0.0235,1.5753,0.0584,0.0216,1.576,0.0646,0.021,1.5776,0.0659,0.0209,1.5777,0.0651,0.0238,1.5779,0.0669,0.0249,1.578,0.0672,0.0241,1.5763,0.0662,0.0217,1.5781,0.0597,0.022,1.5782,0.0588,0.0283,1.5785,0.0608,0.0282,1.5787,0.06,0.0264,1.5773,0.0578,0.0255,1.5788,0.0581,0.0264,1.5788,0.0583,0.0226,1.5785,0.0581,0.0272,1.5804,0.0661,0.0275,1.5804,0.0654,0.0209,1.5777,0.0643,0.0203,1.5796,0.0654,0.0203,1.5796,0.0645,0.0229,1.5778,0.0667,0.0236,1.5799,0.0674,0.0225,1.5797,0.0672,0.0219,1.5805,0.0585,0.0211,1.5803,0.0594,0.0281,1.5808,0.0623,0.0285,1.5808,0.0617,0.0279,1.5784,0.0613,0.0273,1.5788,0.0588,0.0264,1.581,0.0587,0.0275,1.581,0.0593,0.0222,1.5817,0.0673,0.0234,1.5818,0.0676,0.0272,1.5823,0.0669,0.0274,1.5824,0.0662,0.0271,1.5803,0.0668,0.0207,1.5798,0.0638,0.0273,1.5827,0.0599,0.0262,1.5827,0.0592,0.023,1.5824,0.0586,0.0234,1.5808,0.0582,0.0215,1.5822,0.0588,0.0275,1.5807,0.0625,0.0274,1.5822,0.0631,0.0256,1.5805,0.0624,0.0281,1.5827,0.0604,0.0282,1.581,0.0599,0.0202,1.5839,0.0605,0.0207,1.582,0.0599,0.0212,1.5841,0.0593,0.02,1.5815,0.0662,0.0203,1.5835,0.0668,0.0196,1.5835,0.0663,0.0206,1.5816,0.0667,0.0245,1.584,0.068,0.0263,1.5822,0.0678,0.0261,1.5842,0.0679,0.0247,1.582,0.0679,0.0284,1.5826,0.0613,0.0284,1.5848,0.0619,0.0249,1.5845,0.0594,0.0261,1.5846,0.0596,0.025,1.5826,0.059,0.0238,1.5844,0.0591,0.0247,1.5862,0.0596,0.0236,1.5861,0.0593,0.0195,1.5835,0.0653,0.0193,1.5852,0.0654,0.0231,1.5838,0.0677,0.0273,1.5844,0.066,0.0274,1.5862,0.0653,0.0259,1.5883,0.0598,0.0259,1.5864,0.0596,0.0269,1.5882,0.0603,0.0236,1.5879,0.0594,0.0248,1.588,0.0597,0.021,1.5858,0.0595,0.0207,1.5874,0.0597,0.0189,1.5868,0.0644,0.0189,1.5869,0.0632,0.0192,1.5853,0.0643,0.0217,1.5877,0.0679,0.0217,1.5854,0.0676,0.0279,1.5879,0.0655,0.0281,1.5879,0.0645,0.0271,1.5843,0.0669,0.0219,1.5837,0.0674,0.024,1.5825,0.0588,0.0285,1.5809,0.0607,0.0209,1.5802,0.0606,0.021,1.5802,0.0611,0.0243,1.5808,0.0583,0.0204,1.5796,0.0662,0.021,1.5796,0.0667,0.0253,1.5823,0.064,0.0254,1.5803,0.064,0.0262,1.5802,0.0676,0.028,1.5788,0.0593,0.0273,1.5783,0.0614,0.0258,1.5781,0.0615,0.0239,1.5786,0.0579,0.0215,1.5777,0.0662,0.0212,1.5778,0.0637,0.0268,1.5783,0.0663,0.0267,1.5767,0.0656,0.0233,1.5762,0.066,0.0217,1.5761,0.0639,0.0225,1.5747,0.0641,0.0237,1.5748,0.0653,0.0262,1.5745,0.0579,0.026,1.5744,0.058,0.0233,1.5736,0.0636,0.024,1.5731,0.0632,0.024,1.575,0.0628,0.0231,1.5749,0.063,0.0226,1.582,0.0635,0.0236,1.5779,0.0611,0.0254,1.5732,0.0633,0.0242,1.5731,0.0635,0.0241,1.5731,0.0632,0.026,1.5744,0.0578,0.025,1.5744,0.0572,0.0256,1.5745,0.0571,0.0254,1.5745,0.0571,0.0259,1.5744,0.0579,0.0258,1.5744,0.058,0.0266,1.5768,0.0639,0.0219,1.5762,0.0635,0.0225,1.5763,0.0633,0.0252,1.5745,0.0571,0.0257,1.5745,0.0572,0.0245,1.5732,0.0629,0.0246,1.5732,0.0628,0.0241,1.5731,0.0634,0.024,1.5731,0.0635,0.025,1.5732,0.0637,0.0233,1.5736,0.064,0.0261,1.5782,0.0671,0.0246,1.5787,0.058,0.0248,1.58,0.0677,0.0253,1.5809,0.0585,0.0199,1.5816,0.0654,0.0228,1.5843,0.059,0.0226,1.586,0.0592,0.0259,1.5859,0.0681,0.019,1.5869,0.0657,0.0259,1.5878,0.0683,0.0222,1.5878,0.0594});
			return lmolr1lr_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 l_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 l_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.l_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.l_molar1lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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