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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getrmolar3c_geometry_5_22_coordIndex_3()
		{
			int[] value = {284,350,282,-1,350,284,351,-1,352,288,286,-1,353,288,352,-1,327,290,225,-1,327,354,290,-1,355,293,356,-1,355,291,293,-1,248,234,133,-1,248,303,234,-1,12,227,13,-1,12,233,227,-1,25,327,23,-1,327,25,166,-1,41,42,219,-1,40,42,41,-1,270,167,47,-1,167,270,322,-1,318,122,53,-1,265,122,318,-1,297,324,27,-1,297,300,324,-1,348,61,259,-1,348,269,61,-1,250,216,64,-1,216,250,195,-1,63,44,37,-1,63,45,44,-1,329,193,106,-1,193,329,328,-1,180,257,4,-1,180,120,257,-1,69,106,108,-1,106,69,329,-1,110,198,204,-1,110,72,198,-1,99,81,192,-1,99,196,81,-1,85,256,334,-1,85,84,256,-1,86,142,139,-1,86,87,142,-1,252,331,189,-1,333,331,252,-1,307,331,333,-1,304,331,307,-1,92,183,253,-1,92,83,183,-1,94,190,95,-1,94,310,190,-1,87,79,143,-1,79,87,80,-1,131,153,132,-1,188,153,131,-1,350,305,311,-1,350,335,305,-1,313,92,91,-1,255,92,313,-1,314,91,117,-1,313,91,314,-1,5,306,3,-1,306,5,304,-1,330,120,119,-1,205,120,330,-1,208,60,302,-1,208,210,60,-1,269,344,316,-1,348,344,269,-1,319,53,214,-1,53,319,318,-1,299,340,322,-1,299,2,340,-1,27,124,297,-1,124,27,26,-1,168,165,261,-1,286,165,168,-1,24,325,323,-1,325,24,246,-1,295,161,237,-1,295,326,161,-1,126,224,127,-1,126,23,224,-1,138,43,89,-1,138,42,43,-1,16,141,20,-1,141,16,15,-1,141,102,20,-1,103,102,141,-1,223,337,162,-1,223,245,337,-1,13,228,336,-1,13,227,228,-1,356,162,337,-1,356,163,162,-1,323,25,24,-1,323,261,25,-1,167,286,168,-1,167,352,286,-1,300,169,325,-1,170,169,300,-1,316,276,298,-1,316,344,276,-1,319,216,301,-1,216,319,214,-1,302,194,208,-1,302,195,194,-1,304,197,331,-1,304,5,197,-1,356,332,163,-1,332,356,293,-1,313,332,312,-1,332,313,314,-1,334,285,282,-1,334,256,285,-1,254,252,186,-1,254,267,252,-1,3,280,279,-1,306,280,3,-1,202,128,135,-1,129,128,202,-1,105,310,94,-1,105,78,310,-1,258,315,174,-1,258,95,315,-1,310,186,190,-1,310,184,186,-1,11,328,7,-1,11,181,328,-1,311,282,350,-1,311,334,282,-1,252,308,333,-1,308,252,267,-1,140,268,191,-1,268,140,183,-1,197,174,315,-1,177,174,197,-1,200,73,201,-1,200,247,73,-1,67,108,129,-1,108,67,69,-1,330,242,251,-1,236,242,330,-1,181,193,328,-1,194,193,181,-1,275,121,209,-1,171,121,275,-1,50,115,122,-1,115,50,38,-1,336,14,13,-1,14,336,271,-1,320,265,318,-1,321,265,320,-1,322,352,167,-1,352,322,340,-1,122,51,53,-1,122,115,51,-1,326,336,228,-1,326,295,336,-1,232,324,246,-1,232,231,324,-1,51,213,52,-1,51,46,213,-1,232,264,233,-1,264,232,272,-1,69,8,329,-1,69,133,8,-1,204,248,111,-1,204,199,248,-1,54,357,346,-1,57,357,54,-1,337,355,356,-1,337,338,355,-1,354,166,339,-1,327,166,354,-1,340,353,352,-1,340,341,353,-1,351,335,350,-1,335,351,342,-1,349,239,179,-1,239,349,240,-1,259,347,348,-1,259,345,347,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='rmolar3c_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 getrmolar3c_geometry_5_22_coordIndex()
		{
			MFInt32 rmolar3c_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getrmolar3c_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getrmolar3c_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getrmolar3c_geometry_5_22_coordIndex_3()));
			return rmolar3c_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='rmolar3c_coordinate' point field, scene-graph level=6, element #22, 1074 total numbers made up of 358 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 getrmolar3c_coordinate_6_22_point()
		{
			MFVec3f rmolar3c_coordinate_6_22_point = new MFVec3f(new double[] {-0.0283,1.6055,0.0436,-0.0283,1.6055,0.0436,-0.0283,1.6051,0.0435,-0.0326,1.6034,0.0488,-0.0331,1.6035,0.0483,-0.0326,1.6016,0.049,-0.0315,1.5988,0.0456,-0.0315,1.5987,0.0454,-0.0314,1.5986,0.0454,-0.0317,1.5993,0.0456,-0.0323,1.6009,0.0458,-0.0317,1.5993,0.0454,-0.0247,1.5985,0.0437,-0.0246,1.5982,0.044,-0.0252,1.5978,0.0441,-0.0276,1.5986,0.0476,-0.0273,1.5986,0.0473,-0.0271,1.5984,0.0476,-0.0264,1.5979,0.0473,-0.0273,1.5986,0.047,-0.0285,1.5994,0.0467,-0.029,1.6001,0.0457,-0.028,1.599,0.0459,-0.0232,1.6024,0.0434,-0.0237,1.6006,0.0428,-0.0234,1.6027,0.043,-0.0255,1.5983,0.0432,-0.0253,1.5983,0.0431,-0.0253,1.598,0.0437,-0.0266,1.5994,0.0432,-0.0259,1.5984,0.0433,-0.0259,1.5981,0.0439,-0.026,1.5988,0.0428,-0.0266,1.5995,0.0427,-0.027,1.5994,0.0423,-0.0272,1.5995,0.0423,-0.027,1.5996,0.0421,-0.0277,1.6006,0.0435,-0.0279,1.5995,0.0422,-0.025,1.5973,0.0449,-0.0254,1.5972,0.0451,-0.0255,1.5973,0.0445,-0.0258,1.5971,0.0453,-0.0253,1.5971,0.0455,-0.029,1.5998,0.0424,-0.0296,1.6,0.0431,-0.0296,1.5995,0.0427,-0.0265,1.6018,0.0419,-0.027,1.6002,0.042,-0.0279,1.6004,0.0421,-0.0279,1.5999,0.0421,-0.0295,1.5995,0.0424,-0.0302,1.5991,0.0425,-0.0298,1.5998,0.0424,-0.0328,1.6052,0.0466,-0.033,1.604,0.0465,-0.0332,1.6037,0.047,-0.0328,1.6054,0.0468,-0.0329,1.6051,0.0474,-0.0316,1.6024,0.0433,-0.032,1.6025,0.0439,-0.0319,1.6045,0.0445,-0.0297,1.5995,0.0432,-0.028,1.6006,0.0437,-0.0309,1.5988,0.0428,-0.0304,1.5988,0.0428,-0.0306,1.5985,0.0433,-0.0303,1.5988,0.045,-0.0306,1.599,0.0453,-0.0311,1.5984,0.0449,-0.0291,1.6,0.046,-0.0289,1.5998,0.0462,-0.0299,1.5995,0.0466,-0.0312,1.5976,0.0472,-0.031,1.5979,0.0471,-0.0311,1.5974,0.0479,-0.0304,1.5984,0.0492,-0.0305,1.5984,0.0497,-0.0307,1.5981,0.0494,-0.0285,1.5988,0.0489,-0.0282,1.5987,0.0488,-0.0286,1.5987,0.0492,-0.0293,1.5996,0.0498,-0.0285,1.5997,0.0495,-0.0285,1.6014,0.0496,-0.0293,1.6014,0.0498,-0.0279,1.5987,0.0488,-0.0282,1.5989,0.0483,-0.0248,1.5972,0.0458,-0.0251,1.5974,0.047,-0.0273,1.5987,0.0489,-0.0263,1.5991,0.0488,-0.0279,1.5999,0.0493,-0.0315,1.5973,0.0481,-0.0312,1.5976,0.0489,-0.0316,1.5977,0.0491,-0.0299,1.5982,0.0482,-0.0297,1.5987,0.0486,-0.0303,1.5983,0.049,-0.029,1.5988,0.0487,-0.0301,1.5986,0.0492,-0.0293,1.5989,0.0487,-0.0284,1.5993,0.0473,-0.0284,1.5992,0.0475,-0.0307,1.5978,0.0486,-0.0306,1.598,0.049,-0.0311,1.5981,0.044,-0.0309,1.5984,0.0433,-0.0308,1.5982,0.044,-0.0285,1.5993,0.0471,-0.03,1.5995,0.0461,-0.0307,1.5989,0.0461,-0.0307,1.5991,0.0458,-0.0292,1.6002,0.0456,-0.0292,1.6002,0.0457,-0.0287,1.5999,0.0422,-0.0243,1.598,0.047,-0.0252,1.5983,0.048,-0.0247,1.5975,0.0469,-0.0328,1.6019,0.0467,-0.033,1.6015,0.0475,-0.0324,1.6044,0.0451,-0.0287,1.6001,0.0422,-0.0265,1.5993,0.0426,-0.0255,1.5986,0.0426,-0.0239,1.5992,0.0439,-0.0236,1.6002,0.0436,-0.0233,1.6001,0.0442,-0.0298,1.5992,0.0436,-0.03,1.5987,0.0442,-0.0307,1.5979,0.0473,-0.0303,1.5982,0.0471,-0.0301,1.5979,0.0476,-0.0313,1.5988,0.0456,-0.0282,1.6001,0.044,-0.0284,1.6001,0.044,-0.0281,1.6004,0.0438,-0.0263,1.5976,0.0478,-0.0256,1.5974,0.047,-0.0278,1.5986,0.0488,-0.0286,1.5987,0.0493,-0.0284,1.5993,0.047,-0.0281,1.5989,0.0482,-0.0283,1.5991,0.0477,-0.0269,1.598,0.0452,-0.0273,1.5982,0.0454,-0.0273,1.5982,0.0451,-0.029,1.6002,0.0456,-0.0281,1.5991,0.0456,-0.0282,1.5992,0.0454,-0.029,1.6002,0.0455,-0.0272,1.5981,0.0456,-0.027,1.5979,0.0454,-0.0286,1.5994,0.0469,-0.0257,1.5979,0.048,-0.0266,1.5984,0.0486,-0.0274,1.6005,0.0436,-0.0274,1.6004,0.0437,-0.0276,1.6006,0.0436,-0.0259,1.5978,0.0441,-0.0269,1.5988,0.044,-0.024,1.5979,0.0461,-0.0226,1.6019,0.0458,-0.0231,1.6018,0.047,-0.0236,1.6003,0.0471,-0.0238,1.6045,0.0431,-0.0235,1.6043,0.0433,-0.0264,1.6034,0.0425,-0.0249,1.6032,0.0422,-0.0252,1.5996,0.0418,-0.0256,1.5991,0.0419,-0.0322,1.6056,0.0453,-0.0325,1.6025,0.0453,-0.0326,1.6024,0.046,-0.0324,1.5981,0.0485,-0.0325,1.5984,0.0479,-0.0321,1.5979,0.0476,-0.0326,1.5999,0.0488,-0.0327,1.6,0.048,-0.0329,1.605,0.0481,-0.0333,1.6034,0.0477,-0.0318,1.5993,0.0449,-0.0323,1.6009,0.0454,-0.0286,1.5989,0.0494,-0.0306,1.5983,0.0498,-0.03,1.5984,0.0498,-0.0309,1.5984,0.05,-0.0297,1.5991,0.0467,-0.0288,1.5997,0.0464,-0.0314,1.5983,0.0498,-0.0312,1.5981,0.0496,-0.0295,1.5987,0.0497,-0.0299,1.5986,0.0495,-0.0316,1.5988,0.0442,-0.0318,1.5994,0.0442,-0.0316,1.5994,0.0435,-0.0288,1.5988,0.0488,-0.0323,1.5998,0.0492,-0.0305,1.5987,0.0469,-0.0311,1.5982,0.0466,-0.0316,1.5979,0.0467,-0.0315,1.5975,0.0474,-0.0288,1.5996,0.0443,-0.0292,1.6,0.045,-0.0307,1.5987,0.0465,-0.0328,1.6001,0.0474,-0.0325,1.5989,0.0473,-0.0323,1.6008,0.0451,-0.0321,1.6008,0.0444,-0.0327,1.6042,0.0458,-0.0323,1.6027,0.0447,-0.0277,1.6006,0.0438,-0.0301,1.5992,0.0431,-0.0301,1.5992,0.0429,-0.0308,1.5994,0.0427,-0.0258,1.5989,0.042,-0.0312,1.5995,0.0429,-0.0259,1.5975,0.0444,-0.0272,1.5984,0.0442,-0.0258,1.5972,0.0447,-0.026,1.599,0.0422,-0.0275,1.6005,0.0434,-0.0254,1.5981,0.0437,-0.0227,1.6022,0.0449,-0.0229,1.6023,0.0441,-0.0231,1.6039,0.0441,-0.0267,1.5979,0.0476,-0.0242,1.5987,0.0439,-0.0241,1.5985,0.0442,-0.0254,1.598,0.0439,-0.0255,1.5977,0.0441,-0.0247,1.5985,0.0434,-0.0242,1.599,0.0433,-0.0243,1.5989,0.0437,-0.0315,1.5986,0.0457,-0.0316,1.5987,0.0457,-0.0324,1.6007,0.0462,-0.0245,1.5975,0.0459,-0.0328,1.6053,0.0472,-0.0329,1.6051,0.0475,-0.0328,1.6055,0.0474,-0.0324,1.6014,0.0458,-0.0318,1.5992,0.0459,-0.027,1.5981,0.0483,-0.0286,1.5996,0.0443,-0.0229,1.6036,0.045,-0.0243,1.5993,0.0428,-0.0314,1.598,0.0466,-0.0313,1.5984,0.0461,-0.0321,1.5984,0.047,-0.0313,1.5988,0.0435,-0.032,1.5988,0.0464,-0.0309,1.5987,0.05,-0.0278,1.5989,0.049,-0.0302,1.5988,0.0501,-0.0281,1.6013,0.0495,-0.0283,1.603,0.0494,-0.0329,1.6015,0.0482,-0.032,1.5976,0.0483,-0.0318,1.6055,0.0449,-0.025,1.6016,0.0419,-0.0237,1.6029,0.0426,-0.0231,1.6,0.046,-0.0266,1.5993,0.0438,-0.0239,1.5995,0.0436,-0.0288,1.6006,0.0422,-0.0267,1.598,0.0468,-0.0303,1.599,0.0501,-0.0294,1.599,0.0498,-0.0314,1.6045,0.0439,-0.0276,1.6019,0.0423,-0.0251,1.5976,0.0443,-0.024,1.5994,0.0433,-0.0324,1.6058,0.0461,-0.0321,1.6061,0.0454,-0.0325,1.6054,0.0459,-0.0293,1.6052,0.0436,-0.0293,1.6056,0.0437,-0.032,1.6049,0.0489,-0.0326,1.6047,0.0486,-0.0322,1.6045,0.0489,-0.0324,1.6051,0.0486,-0.0297,1.6042,0.0494,-0.0285,1.6044,0.0491,-0.0297,1.6046,0.0493,-0.0285,1.604,0.0492,-0.025,1.6047,0.0426,-0.0238,1.6049,0.0433,-0.0249,1.6051,0.0428,-0.023,1.6041,0.045,-0.0231,1.6043,0.0442,-0.0242,1.6041,0.0479,-0.0262,1.6039,0.0487,-0.0242,1.6037,0.0479,-0.0262,1.6043,0.0487,-0.0244,1.5976,0.0449,-0.0231,1.5999,0.0448,-0.0252,1.5986,0.0423,-0.0293,1.6039,0.0431,-0.0283,1.6038,0.0429,-0.025,1.5988,0.0422,-0.0316,1.6006,0.0431,-0.032,1.6007,0.0437,-0.0315,1.5983,0.0462,-0.0319,1.6015,0.0496,-0.0314,1.6032,0.0495,-0.0321,1.6033,0.0491,-0.0313,1.6015,0.0498,-0.0304,1.5994,0.0501,-0.0306,1.6015,0.05,-0.0308,1.598,0.0495,-0.0305,1.603,0.0498,-0.0264,1.6028,0.049,-0.0264,1.6011,0.049,-0.0247,1.6008,0.0483,-0.0319,1.598,0.0492,-0.0302,1.604,0.0433,-0.0304,1.6023,0.0427,-0.0296,1.6005,0.0424,-0.0305,1.6004,0.0426,-0.0296,1.6023,0.0426,-0.0287,1.6022,0.0425,-0.0273,1.6036,0.0427,-0.0239,1.601,0.0422,-0.0248,1.5986,0.0429,-0.0245,1.5994,0.0422,-0.024,1.598,0.045,-0.0233,1.6042,0.0436,-0.0316,1.5987,0.0449,-0.0313,1.5982,0.0447,-0.0326,1.6005,0.0466,-0.0318,1.5997,0.0496,-0.0242,1.6023,0.048,-0.0311,1.5995,0.05,-0.0295,1.603,0.0496,-0.0314,1.6044,0.0493,-0.0245,1.598,0.0442,-0.0228,1.6037,0.0459,-0.0229,1.6041,0.0459,-0.0235,1.6047,0.0435,-0.0273,1.6051,0.0432,-0.0273,1.6055,0.0433,-0.0313,1.6048,0.0493,-0.0303,1.6056,0.0439,-0.0304,1.6052,0.0438,-0.0317,1.6059,0.0449,-0.0326,1.6056,0.0466,-0.0313,1.6057,0.0443,-0.0314,1.6053,0.0443,-0.0327,1.6054,0.0482,-0.0306,1.6042,0.0497,-0.0306,1.6047,0.0496,-0.0263,1.6049,0.0429,-0.0263,1.6053,0.043,-0.0233,1.6045,0.0438,-0.0231,1.604,0.047,-0.0231,1.6036,0.047,-0.0327,1.6056,0.0466});
			return rmolar3c_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_molar3c 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_molar3c().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_molar3c\" 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_molar3c self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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