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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getrmolr3lr_geometry_5_22_coordIndex_2()
		{
			int[] value = {95,300,299,-1,78,300,95,-1,78,136,300,-1,78,134,136,-1,78,139,134,-1,78,138,139,-1,271,280,282,-1,271,270,280,-1,301,268,278,-1,302,268,301,-1,303,304,285,-1,2,304,303,-1,2,24,304,-1,260,287,259,-1,260,305,287,-1,275,83,168,-1,275,5,83,-1,55,5,275,-1,306,61,307,-1,62,61,306,-1,267,306,308,-1,267,62,306,-1,309,310,311,-1,264,310,309,-1,278,57,59,-1,278,268,57,-1,312,313,314,-1,313,312,283,-1,308,315,316,-1,315,308,306,-1,292,309,317,-1,292,294,309,-1,305,290,287,-1,318,290,305,-1,312,286,283,-1,319,286,312,-1,281,320,321,-1,281,280,320,-1,59,322,277,-1,322,59,58,-1,51,275,52,-1,51,273,275,-1,244,271,323,-1,244,269,271,-1,302,246,268,-1,241,246,302,-1,64,24,65,-1,64,304,24,-1,249,267,324,-1,249,266,267,-1,264,325,310,-1,263,325,264,-1,304,326,313,-1,64,326,304,-1,234,261,327,-1,234,251,261,-1,250,328,231,-1,328,250,169,-1,329,111,60,-1,329,228,111,-1,263,238,325,-1,237,238,263,-1,330,90,331,-1,330,132,90,-1,222,269,244,-1,222,332,269,-1,241,225,246,-1,243,225,241,-1,68,238,108,-1,68,333,238,-1,153,334,335,-1,153,336,334,-1,232,337,230,-1,232,109,337,-1,215,240,338,-1,215,339,240,-1,226,116,340,-1,212,116,226,-1,41,63,341,-1,41,110,63,-1,332,46,216,-1,46,332,222,-1,221,342,239,-1,206,342,221,-1,155,336,153,-1,155,157,336,-1,117,109,232,-1,117,38,109,-1,217,339,215,-1,217,198,339,-1,42,212,211,-1,42,116,212,-1,209,117,208,-1,209,37,117,-1,49,207,204,-1,187,207,49,-1,66,202,67,-1,185,202,66,-1,189,157,155,-1,189,156,157,-1,70,199,45,-1,343,199,70,-1,344,198,217,-1,344,196,198,-1,42,345,195,-1,345,42,211,-1,346,151,148,-1,151,346,161,-1,347,193,199,-1,347,174,193,-1,348,191,196,-1,348,170,191,-1,30,349,119,-1,30,17,349,-1,33,76,186,-1,32,76,33,-1,205,180,183,-1,178,180,205,-1,119,201,177,-1,119,349,201,-1,350,182,128,-1,182,350,107,-1,351,181,178,-1,125,181,351,-1,137,352,135,-1,137,177,352,-1,161,102,151,-1,102,161,160,-1,141,174,347,-1,141,80,174,-1,170,353,172,-1,353,170,348,-1,3,331,90,-1,54,331,3,-1,81,354,12,-1,81,167,354,-1,355,96,84,-1,356,96,355,-1,165,357,163,-1,357,165,354,-1,356,130,96,-1,130,356,334,-1,26,158,156,-1,25,158,26,-1,18,155,19,-1,18,189,155,-1,355,4,123,-1,84,4,355,-1,120,154,233,-1,120,19,154,-1,341,152,224,-1,152,341,63,-1,104,151,102,-1,151,104,149,-1,253,21,358,-1,253,22,21,-1,172,145,142,-1,255,145,172,-1,257,141,359,-1,257,140,141,-1,138,29,28,-1,138,78,29,-1,77,0,360,-1,77,1,0,-1,118,81,35,-1,118,166,81,-1,158,122,10,-1,73,122,158,-1,101,297,182,-1,100,297,101,-1,125,299,181,-1,124,299,125,-1,179,136,133,-1,300,136,179,-1,298,74,106,-1,298,126,74,-1,99,71,25,-1,101,71,99,-1,8,130,9,-1,8,129,130,-1,132,6,90,-1,132,131,6,-1,135,139,137,-1,134,139,135,-1,104,258,175,-1,103,258,104,-1,121,256,353,-1,15,256,121,-1,144,252,361,-1,143,252,144,-1,147,254,160,-1,146,254,147,-1,150,362,148,-1,150,363,362,-1,236,92,91,-1,236,364,92,-1,154,335,364,-1,154,153,335,-1,79,188,98,-1,79,86,188,-1,336,10,9,-1,10,336,157,-1,167,161,346,-1,161,167,159,-1,7,164,105,-1,164,7,162,-1,13,162,131,-1,13,165,162,-1,20,159,166,-1,20,147,159,-1,171,144,365,-1,142,144,171,-1,366,16,121,-1,16,366,173,-1,175,367,176,-1,175,359,367,-1,34,361,358,-1,361,34,368,-1,180,133,184,-1,179,133,180,-1,32,89,88,-1,89,32,31,-1,86,26,188,-1,86,27,26,-1,185,352,202,-1,184,352,185,-1,187,351,207,-1,75,351,187,-1,37,350,31,-1,350,37,209,-1,190,365,345,-1,171,365,190,-1,173,344,192,-1,173,366,344,-1,194,367,343,-1,176,367,194,-1,36,368,34,-1,368,36,195,-1,191,213,197,-1,191,190,213,-1,193,214,115,-1,193,192,214,-1,363,194,39,-1,150,194,363,-1,203,349,369,-1,201,349,203,-1,206,183,342,-1,205,183,206,-1,33,48,38,-1,33,186,48,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrmolr3lr_geometry_5_22_coordIndex_3()
		{
			int[] value = {39,341,363,-1,39,41,341,-1,370,213,210,-1,197,213,370,-1,115,216,46,-1,115,214,216,-1,229,200,208,-1,200,229,218,-1,219,369,235,-1,203,369,219,-1,114,204,220,-1,49,204,114,-1,40,223,371,-1,40,47,223,-1,44,132,330,-1,44,69,132,-1,243,210,225,-1,370,210,243,-1,50,228,329,-1,50,114,228,-1,231,218,229,-1,218,231,328,-1,327,235,234,-1,219,235,327,-1,372,239,237,-1,221,239,372,-1,338,242,272,-1,338,240,242,-1,371,245,326,-1,371,223,245,-1,226,373,247,-1,226,340,373,-1,248,372,265,-1,227,372,248,-1,266,230,337,-1,230,266,249,-1,335,356,374,-1,335,334,356,-1,325,333,375,-1,238,333,325,-1,295,261,259,-1,375,261,295,-1,296,265,262,-1,248,265,296,-1,376,169,250,-1,169,376,168,-1,247,112,57,-1,247,373,112,-1,272,377,270,-1,272,242,377,-1,53,316,113,-1,316,53,308,-1,56,274,378,-1,274,56,55,-1,379,278,276,-1,379,301,278,-1,380,282,279,-1,380,381,282,-1,285,382,303,-1,284,382,285,-1,289,383,311,-1,288,383,289,-1,291,384,307,-1,293,384,291,-1,324,308,53,-1,267,308,324,-1,320,302,301,-1,320,377,302,-1,112,56,58,-1,112,54,56,-1,296,307,61,-1,296,291,307,-1,376,53,52,-1,324,53,376,-1,294,264,309,-1,262,264,294,-1,295,311,310,-1,295,289,311,-1,93,305,260,-1,2,305,93,-1,2,303,305,-1,313,285,304,-1,313,283,285,-1,280,377,320,-1,280,270,377,-1,381,271,282,-1,323,271,381,-1,314,381,312,-1,314,323,381,-1,54,5,55,-1,54,3,5,-1,52,168,376,-1,52,275,168,-1,315,307,384,-1,315,306,307,-1,317,311,383,-1,317,309,311,-1,303,318,305,-1,382,318,303,-1,312,380,319,-1,380,312,381,-1,321,301,379,-1,321,320,301,-1,58,378,322,-1,378,58,56,-1,245,323,314,-1,245,244,323,-1,377,241,302,-1,242,241,377,-1,373,54,112,-1,373,331,54,-1,250,324,376,-1,250,249,324,-1,111,296,61,-1,111,248,296,-1,310,375,295,-1,325,375,310,-1,326,314,313,-1,326,245,314,-1,327,375,333,-1,327,261,375,-1,169,129,328,-1,129,169,82,-1,337,60,266,-1,337,329,60,-1,265,237,263,-1,372,237,265,-1,331,340,330,-1,340,331,373,-1,110,326,64,-1,110,371,326,-1,332,272,269,-1,332,338,272,-1,227,221,372,-1,220,221,227,-1,219,333,68,-1,219,327,333,-1,328,8,218,-1,8,328,129,-1,109,329,337,-1,109,50,329,-1,240,370,243,-1,339,370,240,-1,116,330,340,-1,116,44,330,-1,110,40,371,-1,41,40,110,-1,216,338,332,-1,216,215,338,-1,239,66,108,-1,342,66,239,-1,120,235,369,-1,120,233,235,-1,208,232,229,-1,208,117,232,-1,339,197,370,-1,198,197,339,-1,163,362,224,-1,362,163,357,-1,186,49,48,-1,186,187,49,-1,342,185,66,-1,183,185,342,-1,369,17,120,-1,349,17,369,-1,39,343,70,-1,194,343,39,-1,192,217,214,-1,192,344,217,-1,213,345,211,-1,190,345,213,-1,357,148,362,-1,148,357,346,-1,367,199,343,-1,367,347,199,-1,366,196,344,-1,366,348,196,-1,365,195,345,-1,365,368,195,-1,209,107,350,-1,107,209,72,-1,207,178,205,-1,351,178,207,-1,202,177,201,-1,352,177,202,-1,128,31,350,-1,128,89,31,-1,75,125,351,-1,74,125,75,-1,184,135,352,-1,133,135,184,-1,358,118,34,-1,358,21,118,-1,359,347,367,-1,359,141,347,-1,121,348,366,-1,121,353,348,-1,368,144,361,-1,144,368,365,-1,374,355,360,-1,356,355,374,-1,12,165,13,-1,12,354,165,-1,7,77,123,-1,105,77,7,-1,167,357,354,-1,346,357,167,-1,334,9,130,-1,9,334,336,-1,98,189,18,-1,98,188,189,-1,364,374,92,-1,364,335,374,-1,364,233,154,-1,236,233,364,-1,224,363,341,-1,224,362,363,-1,160,103,102,-1,254,103,160,-1,253,361,252,-1,253,358,361,-1,353,255,172,-1,256,255,353,-1,258,359,175,-1,258,257,359,-1,78,86,79,-1,78,95,86,-1,360,123,77,-1,360,355,123,-1,21,166,118,-1,21,20,166,-1,25,73,158,-1,71,73,25,-1,128,297,127,-1,297,128,182,-1,94,106,88,-1,94,298,106,-1,300,181,299,-1,300,179,181,-1,92,360,0,-1,92,374,360,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rmolr3lr_geometry' coordIndex field, scene-graph level=5, element #22, 2964 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 getrmolr3lr_geometry_5_22_coordIndex()
		{
			MFInt32 rmolr3lr_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrmolr3lr_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getrmolr3lr_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getrmolr3lr_geometry_5_22_coordIndex_3()));
			return rmolr3lr_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rmolr3lr_coordinate' point field, scene-graph level=6, element #22, 1155 total numbers made up of 385 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 getrmolr3lr_coordinate_6_22_point()
		{
			MFVec3f rmolr3lr_coordinate_6_22_point = new MFVec3f(new double[] {-0.0244,1.5905,0.0424,-0.0244,1.5905,0.0424,-0.0243,1.5907,0.0425,-0.0326,1.5905,0.0438,-0.0325,1.5904,0.0439,-0.0326,1.5906,0.044,-0.032,1.5895,0.0433,-0.0297,1.5896,0.0431,-0.0313,1.5863,0.043,-0.0309,1.5864,0.0427,-0.0305,1.5841,0.0415,-0.031,1.5847,0.0409,-0.0308,1.5847,0.0412,-0.0311,1.5865,0.0419,-0.0286,1.5821,0.0383,-0.0287,1.582,0.0383,-0.0285,1.5823,0.0381,-0.0276,1.5826,0.0408,-0.0279,1.5827,0.0404,-0.027,1.5844,0.041,-0.0294,1.5816,0.0392,-0.0295,1.5816,0.0391,-0.0293,1.5816,0.039,-0.025,1.5898,0.0421,-0.0244,1.5906,0.0421,-0.0302,1.5815,0.0405,-0.0297,1.5815,0.0402,-0.03,1.5812,0.0403,-0.029,1.5811,0.0406,-0.029,1.5811,0.0405,-0.0283,1.5816,0.0404,-0.0303,1.5813,0.0417,-0.0303,1.5812,0.042,-0.03,1.582,0.043,-0.0301,1.5825,0.0394,-0.0304,1.5831,0.0401,-0.0304,1.5831,0.0398,-0.0303,1.582,0.0425,-0.0303,1.5837,0.0444,-0.0266,1.5851,0.0396,-0.0261,1.5871,0.0395,-0.0258,1.5869,0.0402,-0.0307,1.5849,0.0397,-0.0309,1.5848,0.0405,-0.0315,1.5866,0.0413,-0.027,1.5853,0.0385,-0.0267,1.5871,0.0388,-0.0265,1.5871,0.0391,-0.0299,1.5837,0.0448,-0.0293,1.5837,0.0448,-0.0302,1.5858,0.0456,-0.0325,1.592,0.0456,-0.0324,1.5912,0.0454,-0.0321,1.591,0.046,-0.0326,1.5906,0.0433,-0.0327,1.5914,0.0442,-0.0326,1.5916,0.0436,-0.0319,1.591,0.0415,-0.0324,1.5921,0.0425,-0.0321,1.5923,0.0416,-0.0308,1.5891,0.0462,-0.0297,1.5899,0.0465,-0.0309,1.5899,0.0466,-0.0253,1.5884,0.0413,-0.0247,1.59,0.0412,-0.0247,1.5899,0.0418,-0.0271,1.5838,0.044,-0.0266,1.584,0.0437,-0.0257,1.5862,0.0444,-0.0315,1.5865,0.0417,-0.0268,1.5853,0.0389,-0.0304,1.5815,0.0406,-0.0305,1.5822,0.0413,-0.0305,1.5823,0.041,-0.0299,1.5809,0.0415,-0.0297,1.5812,0.0421,-0.03,1.5812,0.0421,-0.0272,1.5902,0.0428,-0.0293,1.581,0.0406,-0.0292,1.5811,0.0404,-0.0284,1.5823,0.0382,-0.0301,1.5831,0.0403,-0.0323,1.5896,0.044,-0.0325,1.5905,0.0441,-0.0324,1.5904,0.044,-0.0299,1.581,0.0405,-0.0295,1.5812,0.0403,-0.0301,1.5809,0.041,-0.0303,1.5809,0.0413,-0.0303,1.581,0.0411,-0.0323,1.5896,0.0431,-0.0245,1.5896,0.0427,-0.0251,1.5897,0.0425,-0.0243,1.5905,0.0426,-0.0301,1.5809,0.0411,-0.0296,1.581,0.0404,-0.032,1.5897,0.0437,-0.0285,1.5821,0.0383,-0.0286,1.5817,0.0402,-0.0301,1.5811,0.0405,-0.0302,1.5809,0.0406,-0.0303,1.5811,0.0406,-0.0284,1.582,0.0391,-0.0284,1.5819,0.0388,-0.0282,1.5821,0.0389,-0.0271,1.5897,0.0427,-0.0301,1.5809,0.0414,-0.0304,1.5814,0.0408,-0.0263,1.586,0.0447,-0.0308,1.5858,0.0452,-0.0253,1.5885,0.0407,-0.0296,1.589,0.0462,-0.0324,1.5908,0.0422,-0.0321,1.5918,0.0462,-0.0293,1.5858,0.0456,-0.0271,1.5854,0.0382,-0.0314,1.5867,0.0404,-0.0305,1.5837,0.0437,-0.03,1.5824,0.0397,-0.0283,1.5815,0.0408,-0.0266,1.5844,0.0412,-0.0287,1.5822,0.0381,-0.0307,1.584,0.0418,-0.0297,1.5902,0.0433,-0.0298,1.5809,0.0412,-0.0297,1.5809,0.0415,-0.0299,1.5809,0.0412,-0.0302,1.5809,0.0409,-0.0304,1.581,0.0409,-0.0319,1.5881,0.0436,-0.0315,1.5882,0.0434,-0.0315,1.588,0.0426,-0.032,1.5881,0.0424,-0.0292,1.5809,0.0412,-0.0293,1.5809,0.0409,-0.0291,1.581,0.0411,-0.0294,1.5809,0.041,-0.029,1.581,0.0408,-0.0292,1.581,0.0406,-0.0292,1.5809,0.0408,-0.0285,1.5821,0.0384,-0.0283,1.5822,0.0383,-0.0292,1.582,0.0383,-0.0292,1.5818,0.0385,-0.0294,1.5819,0.0385,-0.0291,1.5818,0.0384,-0.029,1.5817,0.039,-0.0291,1.5817,0.0393,-0.0274,1.5833,0.0397,-0.0278,1.5826,0.0391,-0.0272,1.5833,0.0395,-0.028,1.5825,0.0394,-0.0257,1.5884,0.0417,-0.0275,1.5865,0.0419,-0.0262,1.5867,0.0418,-0.028,1.5843,0.0409,-0.0295,1.5825,0.0405,-0.0293,1.5841,0.0412,-0.0303,1.5824,0.0408,-0.0292,1.5823,0.0398,-0.0286,1.5819,0.0392,-0.0285,1.5823,0.0396,-0.0297,1.5881,0.0426,-0.0276,1.5866,0.0417,-0.0275,1.5882,0.0422,-0.0296,1.5865,0.042,-0.0298,1.5824,0.0398,-0.0293,1.5831,0.0403,-0.0325,1.5904,0.0445,-0.0323,1.5895,0.0443,-0.0291,1.5827,0.0381,-0.0295,1.5826,0.0383,-0.0291,1.5821,0.0382,-0.0282,1.5828,0.038,-0.028,1.5828,0.0381,-0.0282,1.5822,0.0387,-0.0277,1.5827,0.0388,-0.0283,1.5814,0.0413,-0.0291,1.5812,0.042,-0.0294,1.5809,0.0413,-0.0289,1.5813,0.0419,-0.0295,1.5809,0.0414,-0.0304,1.5811,0.0407,-0.0283,1.5821,0.0429,-0.0286,1.5813,0.0417,-0.0279,1.5822,0.0427,-0.0298,1.582,0.0433,-0.0294,1.582,0.0433,-0.0291,1.5816,0.0402,-0.0286,1.5825,0.0403,-0.0295,1.5834,0.0383,-0.0291,1.5835,0.0381,-0.0278,1.5836,0.0379,-0.0275,1.5836,0.038,-0.0271,1.5834,0.039,-0.0303,1.5832,0.0392,-0.0287,1.5835,0.038,-0.0292,1.5851,0.0383,-0.0286,1.5852,0.0382,-0.0274,1.5836,0.0382,-0.0307,1.5839,0.0421,-0.0275,1.5823,0.0421,-0.0277,1.5823,0.0425,-0.0264,1.5841,0.0431,-0.0287,1.5837,0.0448,-0.0286,1.5821,0.0431,-0.0281,1.5837,0.0445,-0.029,1.5821,0.0433,-0.0307,1.5838,0.0429,-0.0305,1.5821,0.0418,-0.0302,1.5869,0.0391,-0.0303,1.585,0.0391,-0.0311,1.5868,0.0398,-0.0298,1.5851,0.0386,-0.0274,1.5853,0.0381,-0.0278,1.5871,0.0386,-0.0271,1.5871,0.0387,-0.028,1.5853,0.0381,-0.0313,1.5862,0.0434,-0.0254,1.5863,0.0438,-0.0285,1.5858,0.0455,-0.0277,1.5858,0.0453,-0.0264,1.5887,0.0394,-0.0261,1.5887,0.0396,-0.0263,1.5868,0.0412,-0.0305,1.5886,0.0398,-0.0315,1.5885,0.0404,-0.0285,1.5876,0.0458,-0.0295,1.5876,0.0459,-0.0313,1.5861,0.044,-0.0316,1.5878,0.0451,-0.0318,1.5879,0.0445,-0.0311,1.586,0.0446,-0.0255,1.5866,0.042,-0.0248,1.5882,0.0431,-0.0254,1.5865,0.0427,-0.025,1.5883,0.0424,-0.0267,1.5877,0.0453,-0.0259,1.5877,0.0451,-0.027,1.5859,0.045,-0.0287,1.5886,0.0393,-0.0296,1.5902,0.0401,-0.0286,1.5902,0.0399,-0.0296,1.5886,0.0395,-0.0258,1.5902,0.0399,-0.0255,1.5902,0.0401,-0.0307,1.5902,0.0405,-0.0317,1.5901,0.0411,-0.0285,1.589,0.0461,-0.0319,1.5893,0.0454,-0.0322,1.5894,0.0449,-0.0243,1.5895,0.0433,-0.0293,1.5817,0.0387,-0.0294,1.5816,0.039,-0.0287,1.5818,0.039,-0.029,1.5819,0.0383,-0.0288,1.582,0.0383,-0.0285,1.582,0.0385,-0.0284,1.582,0.0387,-0.0241,1.5901,0.0445,-0.0241,1.5903,0.0434,-0.0244,1.5893,0.0444,-0.0274,1.5899,0.0462,-0.0265,1.5891,0.0456,-0.0264,1.5899,0.0458,-0.0275,1.589,0.0459,-0.0316,1.5891,0.0459,-0.0318,1.59,0.0463,-0.0308,1.591,0.0408,-0.0264,1.5903,0.0398,-0.0274,1.5911,0.04,-0.0262,1.5911,0.04,-0.0275,1.5903,0.0398,-0.0326,1.592,0.045,-0.0327,1.5922,0.0445,-0.0325,1.5913,0.0448,-0.031,1.5933,0.0409,-0.0323,1.5934,0.0418,-0.0309,1.5923,0.0408,-0.0261,1.5925,0.0402,-0.0274,1.5919,0.04,-0.0273,1.5926,0.04,-0.0262,1.5919,0.0401,-0.0247,1.5916,0.0409,-0.0242,1.592,0.0419,-0.0242,1.5914,0.0417,-0.0247,1.5922,0.041,-0.0239,1.591,0.0448,-0.0244,1.5916,0.0456,-0.0245,1.5909,0.0454,-0.0238,1.5917,0.045,-0.0284,1.5906,0.0468,-0.0274,1.5912,0.0467,-0.0284,1.5913,0.047,-0.0274,1.5906,0.0465,-0.0246,1.59,0.0451,-0.0285,1.5899,0.0464,-0.0302,1.5809,0.0407,-0.03,1.5808,0.0412,-0.0296,1.5809,0.0411,-0.0295,1.5809,0.0411,-0.0297,1.5922,0.0405,-0.0297,1.5911,0.0404,-0.0241,1.5913,0.0426,-0.0244,1.5907,0.0416,-0.0239,1.5911,0.0437,-0.0308,1.5907,0.047,-0.0295,1.5907,0.0469,-0.0317,1.5909,0.0466,-0.0263,1.5907,0.0462,-0.0254,1.5899,0.0455,-0.0252,1.5908,0.0458,-0.0251,1.5917,0.0404,-0.0249,1.5909,0.0408,-0.0253,1.591,0.0404,-0.0306,1.5914,0.0472,-0.0316,1.5916,0.0469,-0.0263,1.5913,0.0464,-0.0237,1.5918,0.0439,-0.025,1.5922,0.0405,-0.0286,1.5921,0.0403,-0.0286,1.5929,0.0403,-0.0325,1.5931,0.0427,-0.0257,1.5911,0.0402,-0.0321,1.5901,0.0457,-0.0256,1.5891,0.0453,-0.0251,1.5901,0.0405,-0.0248,1.5879,0.0441,-0.0318,1.5881,0.044,-0.0305,1.5876,0.046,-0.0321,1.5882,0.0421,-0.0324,1.5899,0.0428,-0.0268,1.5887,0.0392,-0.0252,1.5878,0.0447,-0.0296,1.5882,0.0429,-0.0273,1.5883,0.0425,-0.0294,1.5863,0.0423,-0.0312,1.5876,0.0457,-0.0278,1.5887,0.0392,-0.0287,1.587,0.0387,-0.0319,1.5884,0.0411,-0.0258,1.5868,0.0408,-0.0276,1.5838,0.0442,-0.0273,1.5835,0.0385,-0.0282,1.5836,0.0379,-0.03,1.5833,0.0388,-0.0281,1.5831,0.0401,-0.0279,1.5828,0.0382,-0.0288,1.5827,0.0381,-0.0276,1.5825,0.0412,-0.0304,1.5814,0.0412,-0.0294,1.5812,0.0421,-0.0284,1.5814,0.0416,-0.0289,1.5821,0.0382,-0.0296,1.5847,0.0413,-0.0297,1.5902,0.0433,-0.0298,1.5897,0.0433,-0.0281,1.5848,0.041,-0.0295,1.5816,0.039,-0.0282,1.5822,0.0384,-0.0272,1.5902,0.0429,-0.0295,1.5818,0.0387,-0.0269,1.585,0.0405,-0.0266,1.585,0.0402,-0.0255,1.5884,0.0423,-0.0298,1.5826,0.0386,-0.0285,1.5828,0.038,-0.0278,1.5827,0.0384,-0.03,1.5825,0.039,-0.0265,1.5843,0.042,-0.0294,1.5869,0.0388,-0.0257,1.5886,0.04,-0.0276,1.5876,0.0456,-0.0322,1.59,0.0418,-0.0272,1.5897,0.0428,-0.0248,1.5892,0.0449,-0.0324,1.5903,0.0451,-0.0286,1.5911,0.0402,-0.0327,1.5925,0.0437,-0.0298,1.5932,0.0405,-0.0254,1.5923,0.0403,-0.0255,1.5917,0.0402,-0.024,1.5919,0.0427,-0.025,1.5915,0.046,-0.0294,1.5915,0.0472});
			return rmolr3lr_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_molar3lr 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_molar3lr().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_molar3lr\" 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_molar3lr self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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