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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] gett2disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {40,265,262,-1,40,39,265,-1,274,260,316,-1,274,258,260,-1,301,315,160,-1,315,301,269,-1,52,146,41,-1,52,54,146,-1,89,156,91,-1,90,156,89,-1,156,90,49,-1,277,207,276,-1,278,207,277,-1,292,68,291,-1,292,306,68,-1,280,70,339,-1,153,70,280,-1,283,80,284,-1,283,84,80,-1,340,154,66,-1,340,86,154,-1,155,286,287,-1,155,298,286,-1,303,82,151,-1,303,289,82,-1,155,283,63,-1,287,283,155,-1,243,291,307,-1,243,245,291,-1,86,295,87,-1,340,295,86,-1,295,185,293,-1,185,295,188,-1,70,65,64,-1,70,69,65,-1,287,84,283,-1,287,85,84,-1,308,104,141,-1,104,308,313,-1,247,259,244,-1,314,259,247,-1,314,249,300,-1,314,247,249,-1,143,269,266,-1,143,315,269,-1,284,79,297,-1,80,79,284,-1,302,290,289,-1,290,302,329,-1,303,88,296,-1,299,88,303,-1,298,88,299,-1,251,304,103,-1,304,251,339,-1,293,329,302,-1,293,185,329,-1,295,325,188,-1,295,340,325,-1,246,339,251,-1,280,339,246,-1,243,279,248,-1,243,307,279,-1,299,151,150,-1,299,303,151,-1,65,298,155,-1,65,88,298,-1,66,325,340,-1,66,305,325,-1,84,78,80,-1,84,83,78,-1,64,339,70,-1,64,304,339,-1,67,291,68,-1,307,291,67,-1,94,91,156,-1,94,51,91,-1,209,57,158,-1,209,144,57,-1,56,54,57,-1,145,54,56,-1,321,242,261,-1,241,242,321,-1,313,102,104,-1,102,313,264,-1,309,316,260,-1,310,316,309,-1,262,162,40,-1,162,262,311,-1,267,43,42,-1,43,267,312,-1,270,313,308,-1,313,270,311,-1,309,300,271,-1,314,300,309,-1,312,253,43,-1,253,312,255,-1,257,76,75,-1,76,257,47,-1,98,152,74,-1,98,72,152,-1,256,50,45,-1,256,96,50,-1,160,297,79,-1,297,160,315,-1,141,103,142,-1,141,104,103,-1,41,272,39,-1,272,41,146,-1,145,316,310,-1,316,145,56,-1,55,275,274,-1,55,22,275,-1,317,135,318,-1,317,21,135,-1,215,170,213,-1,215,169,170,-1,106,140,139,-1,105,140,106,-1,320,38,37,-1,320,319,38,-1,19,113,112,-1,19,114,113,-1,29,130,30,-1,5,130,29,-1,34,231,33,-1,113,231,34,-1,336,321,273,-1,322,321,336,-1,176,337,179,-1,176,216,337,-1,338,212,218,-1,211,212,338,-1,136,338,233,-1,136,221,338,-1,337,140,223,-1,138,140,337,-1,225,317,318,-1,317,225,336,-1,320,181,108,-1,320,219,181,-1,170,23,139,-1,117,23,170,-1,232,168,206,-1,106,168,232,-1,207,205,208,-1,207,278,205,-1,131,292,192,-1,292,131,306,-1,129,328,323,-1,129,128,328,-1,324,184,333,-1,173,184,324,-1,126,191,127,-1,189,191,126,-1,334,124,183,-1,124,334,326,-1,6,327,182,-1,332,327,6,-1,190,200,133,-1,190,189,200,-1,328,236,235,-1,328,204,236,-1,131,305,306,-1,127,305,131,-1,335,133,12,-1,335,190,133,-1,330,335,331,-1,335,330,187,-1,203,166,38,-1,166,203,202,-1,331,332,330,-1,332,331,327,-1,130,324,110,-1,130,15,324,-1,165,212,36,-1,165,224,212,-1,227,238,237,-1,227,226,238,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='t2disc_geometry' coordIndex field, scene-graph level=5, element #22, 2712 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 gett2disc_geometry_5_22_coordIndex()
		{
			MFInt32 t2disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(gett2disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(gett2disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(gett2disc_geometry_5_22_coordIndex_3()));
			return t2disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='t2disc_coordinate' point field, scene-graph level=6, element #22, 1023 total numbers made up of 341 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 gett2disc_coordinate_6_22_point()
		{
			MFVec3f t2disc_coordinate_6_22_point = new MFVec3f(new double[] {0.0,1.478,-0.0631,0.0032,1.4779,-0.0634,0.0035,1.4771,-0.064,0.0032,1.478,-0.0632,0.0072,1.4779,-0.0631,0.0072,1.4783,-0.0647,0.0031,1.4783,-0.0604,0.0,1.478,-0.0615,0.0,1.4781,-0.0603,0.0109,1.4781,-0.0602,0.0113,1.4781,-0.0626,0.0095,1.4784,-0.0606,0.0088,1.4763,-0.0529,0.0093,1.4759,-0.053,0.0104,1.4768,-0.0563,0.0114,1.4782,-0.063,0.0105,1.4739,-0.064,0.0081,1.474,-0.0644,0.0099,1.4741,-0.0642,0.0109,1.4764,-0.0649,0.0,1.4685,-0.0479,0.0034,1.4685,-0.0474,0.0,1.4679,-0.0468,0.0104,1.4697,-0.0563,0.0084,1.4697,-0.0566,0.0083,1.4708,-0.0598,0.0004,1.4739,-0.0642,0.0043,1.475,-0.0647,0.0043,1.4739,-0.0644,0.0072,1.4782,-0.0649,0.0112,1.4787,-0.0643,0.0074,1.4778,-0.0653,0.0,1.4767,-0.0636,0.0038,1.4761,-0.0645,0.0076,1.4771,-0.0657,0.0112,1.478,-0.0647,0.0162,1.4755,-0.0575,0.0162,1.4756,-0.0576,0.0161,1.4757,-0.0575,-0.013,1.4696,-0.0562,-0.013,1.4696,-0.0563,-0.0128,1.4695,-0.0563,-0.014,1.4733,-0.0647,-0.014,1.4734,-0.0647,-0.0138,1.4732,-0.0647,-0.0078,1.4765,-0.0661,-0.0111,1.4773,-0.0652,-0.0076,1.4771,-0.0659,-0.0043,1.4739,-0.0646,-0.0081,1.474,-0.0646,-0.0078,1.4763,-0.066,-0.0108,1.4705,-0.06,-0.0104,1.4697,-0.0566,-0.0084,1.4697,-0.0568,-0.0086,1.4693,-0.0532,-0.0034,1.4685,-0.0475,-0.0072,1.4689,-0.0499,-0.0039,1.469,-0.0496,-0.0128,1.4751,-0.0648,-0.0105,1.4739,-0.0643,-0.0076,1.4751,-0.0502,-0.0071,1.4754,-0.0503,-0.0088,1.4763,-0.0532,-0.0135,1.476,-0.0586,-0.0126,1.4752,-0.0569,-0.0104,1.4768,-0.0566,-0.0022,1.4745,-0.0472,-0.0056,1.4741,-0.0478,-0.0023,1.4741,-0.0462,-0.0093,1.4759,-0.0532,-0.0107,1.4747,-0.0534,-0.0072,1.4779,-0.0633,-0.0072,1.4783,-0.0649,-0.0112,1.4787,-0.0644,-0.0032,1.4779,-0.0635,-0.0035,1.4771,-0.0641,-0.0074,1.4778,-0.0655,-0.0031,1.4779,-0.0619,-0.0114,1.4782,-0.0633,-0.0142,1.4783,-0.0634,-0.0132,1.4775,-0.0623,-0.0032,1.478,-0.0615,-0.0031,1.4783,-0.0605,-0.0113,1.4781,-0.0629,-0.0129,1.4775,-0.062,-0.0109,1.4781,-0.0605,-0.0057,1.475,-0.049,-0.006,1.4756,-0.0502,-0.0097,1.4771,-0.0566,-0.0108,1.4738,-0.0641,-0.0099,1.4741,-0.0644,-0.0108,1.4723,-0.0627,-0.0133,1.47,-0.06,-0.0109,1.4764,-0.0652,-0.0083,1.4708,-0.06,-0.0004,1.4739,-0.0642,-0.0043,1.475,-0.0648,-0.0112,1.4787,-0.0645,-0.0072,1.4782,-0.065,-0.0112,1.478,-0.0649,0.0,1.4738,-0.0641,0.0,1.474,-0.0642,-0.0148,1.4745,-0.0559,-0.0147,1.4747,-0.0559,-0.0148,1.4745,-0.056,0.0135,1.47,-0.0595,0.0133,1.47,-0.0596,0.0135,1.47,-0.0596,0.0142,1.4783,-0.0632,0.0142,1.4783,-0.0632,0.0142,1.4783,-0.0631,0.0111,1.4773,-0.0649,0.011,1.4766,-0.0649,0.0078,1.4765,-0.0659,0.0078,1.4763,-0.0658,0.0039,1.469,-0.0494,0.0042,1.4694,-0.0531,0.0086,1.4693,-0.0529,0.0128,1.4751,-0.0645,0.0108,1.4738,-0.0638,0.0043,1.4727,-0.0628,0.0081,1.4723,-0.0627,0.0076,1.4751,-0.05,0.0135,1.476,-0.0582,0.011,1.4772,-0.0577,0.0056,1.4741,-0.0476,0.0056,1.4747,-0.0483,0.0022,1.4745,-0.0471,0.0085,1.4744,-0.0497,0.0107,1.4747,-0.0531,0.0112,1.4787,-0.0641,0.0023,1.4741,-0.0462,0.0126,1.4752,-0.0566,0.0071,1.4754,-0.0501,0.0138,1.4732,-0.0643,0.0072,1.4689,-0.0496,0.014,1.4733,-0.0643,0.014,1.4734,-0.0644,0.013,1.4696,-0.0558,0.0128,1.4695,-0.0559,0.013,1.4696,-0.0559,-0.0162,1.4755,-0.058,-0.0161,1.4757,-0.0579,-0.0162,1.4756,-0.058,0.0,1.4688,-0.0497,-0.0081,1.4689,-0.0505,-0.011,1.4691,-0.0532,-0.0135,1.4714,-0.0632,-0.0072,1.4779,-0.0629,-0.0065,1.4752,-0.0496,-0.0095,1.4784,-0.0608,-0.007,1.4784,-0.0609,-0.0032,1.478,-0.0633,-0.0085,1.4744,-0.0499,-0.0056,1.4747,-0.0485,-0.011,1.4772,-0.058,-0.0081,1.4723,-0.063,-0.0043,1.4727,-0.0629,-0.0042,1.4694,-0.0532,-0.011,1.4766,-0.0652,-0.0142,1.4783,-0.0635,-0.0142,1.4783,-0.0635,-0.0135,1.47,-0.06,-0.0135,1.47,-0.06,0.0148,1.4745,-0.0555,0.0148,1.4745,-0.0555,0.0147,1.4747,-0.0555,0.0,1.4753,-0.0639,0.0108,1.4705,-0.0596,0.0081,1.4689,-0.0502,0.011,1.4691,-0.0529,0.0072,1.4779,-0.0627,0.0097,1.4771,-0.0563,0.0129,1.4775,-0.0617,0.0032,1.478,-0.0614,0.0031,1.4779,-0.0618,0.0107,1.4722,-0.0501,0.0126,1.4741,-0.0522,0.0102,1.4737,-0.0491,0.0129,1.4726,-0.0533,0.0138,1.4773,-0.0638,0.0143,1.4767,-0.0637,0.007,1.4784,-0.0607,0.0113,1.4777,-0.0591,0.0138,1.4768,-0.0602,0.0,1.477,-0.0537,0.0024,1.476,-0.0503,0.0025,1.4768,-0.0536,0.0,1.4762,-0.0505,0.0057,1.475,-0.0489,0.006,1.4756,-0.0501,0.0023,1.4749,-0.0476,0.0024,1.474,-0.0458,0.0054,1.4737,-0.0462,0.0056,1.4739,-0.0473,0.0025,1.4737,-0.0448,0.0069,1.4748,-0.049,0.0073,1.4743,-0.0485,0.0099,1.4783,-0.0593,0.0088,1.4784,-0.0597,0.0065,1.4752,-0.0494,0.0,1.478,-0.0619,0.0129,1.475,-0.0565,0.0139,1.4759,-0.0582,0.0075,1.4741,-0.0482,0.0042,1.4711,-0.06,0.0108,1.4723,-0.0624,0.0,1.47,-0.0571,0.0042,1.47,-0.0569,0.0,1.4694,-0.0533,0.0,1.4729,-0.063,0.0156,1.4741,-0.0593,0.0155,1.4736,-0.0582,0.0111,1.4692,-0.0527,0.0082,1.4705,-0.049,0.0081,1.469,-0.0501,0.011,1.4706,-0.0514,0.0141,1.4714,-0.0582,0.0146,1.4717,-0.0589,0.0159,1.4756,-0.0616,0.0142,1.4749,-0.0642,0.015,1.4744,-0.063,0.0144,1.4729,-0.0555,0.0138,1.4711,-0.0557,0.0146,1.473,-0.0568,0.0068,1.4704,-0.0482,0.0082,1.4721,-0.0481,0.0062,1.472,-0.047,0.0134,1.4763,-0.0642,0.0129,1.4752,-0.0645,0.0,1.4781,-0.063,0.0042,1.4752,-0.0647,0.0135,1.4714,-0.0628,0.0136,1.4714,-0.0627,0.0125,1.4742,-0.0522,0.0102,1.4739,-0.0491,0.008,1.4739,-0.0474,0.0055,1.4736,-0.0461,0.008,1.4737,-0.0474,0.0025,1.4736,-0.0447,0.0,1.4735,-0.0447,0.0,1.4734,-0.0446,-0.0025,1.4736,-0.0448,-0.0054,1.4737,-0.0464,-0.0055,1.4736,-0.0463,-0.0025,1.4737,-0.0449,-0.0102,1.4739,-0.0495,-0.008,1.4737,-0.0476,-0.008,1.4739,-0.0477,-0.0102,1.4737,-0.0494,-0.0126,1.4741,-0.0526,-0.0125,1.4742,-0.0526,-0.0136,1.4714,-0.0631,-0.0129,1.4752,-0.0648,-0.0138,1.4773,-0.0641,-0.0134,1.4763,-0.0646,-0.0042,1.4752,-0.0648,-0.0038,1.4761,-0.0646,-0.0032,1.4701,-0.0463,-0.0062,1.472,-0.0472,-0.0068,1.4704,-0.0484,-0.0029,1.4719,-0.0454,-0.0138,1.4711,-0.0561,-0.0129,1.4726,-0.0537,-0.0144,1.4729,-0.0559,-0.0131,1.471,-0.0549,-0.0156,1.4741,-0.0597,-0.015,1.4744,-0.0634,-0.0147,1.4727,-0.0615,-0.0159,1.4756,-0.062,-0.0146,1.4717,-0.0593,-0.011,1.4706,-0.0517,-0.0111,1.4692,-0.0531,0.0,1.4697,-0.0458,-0.0034,1.4686,-0.0473,0.0,1.468,-0.0467,-0.0042,1.47,-0.0571,-0.0042,1.4711,-0.0602,0.0,1.4713,-0.0602,-0.0075,1.4741,-0.0484,-0.0089,1.4742,-0.0498,-0.0073,1.4743,-0.0487,-0.0139,1.4759,-0.0586,-0.0138,1.4768,-0.0606,-0.0142,1.4768,-0.0606,-0.0069,1.4748,-0.0492,-0.0101,1.478,-0.059,-0.0113,1.4777,-0.0594,-0.0099,1.4783,-0.0596,-0.0031,1.4784,-0.0598,0.0,1.4783,-0.0596,-0.0024,1.474,-0.0459,0.0,1.4737,-0.0455,-0.0025,1.4768,-0.0537,-0.0063,1.4765,-0.0534,-0.0024,1.476,-0.0503,-0.0066,1.4775,-0.0568,-0.0164,1.4768,-0.0604,-0.0099,1.4776,-0.0578,-0.0088,1.4784,-0.06,-0.0107,1.4722,-0.0505,-0.0143,1.4767,-0.0641,-0.0028,1.4777,-0.0571,-0.0069,1.4785,-0.0601,-0.0129,1.475,-0.0568,0.0,1.4746,-0.047,0.0,1.4739,-0.0459,-0.0056,1.4739,-0.0474,-0.0155,1.4736,-0.0586,-0.0082,1.4705,-0.0493,-0.0081,1.469,-0.0503,-0.0141,1.4714,-0.0586,-0.0142,1.4749,-0.0645,-0.0146,1.473,-0.0572,-0.0082,1.4721,-0.0483,-0.0164,1.4767,-0.0605,-0.0073,1.469,-0.0498,0.0034,1.4686,-0.0472,0.0073,1.469,-0.0495,0.0164,1.4768,-0.06,0.0164,1.4767,-0.0601,0.0,1.4716,-0.0451,0.0029,1.4719,-0.0453,0.0111,1.4745,-0.053,0.0132,1.4775,-0.062,0.0,1.4749,-0.0475,0.0099,1.4776,-0.0576,0.0069,1.4785,-0.0599,0.0089,1.4742,-0.0495,0.0,1.4778,-0.0571,0.0028,1.4777,-0.057,0.0066,1.4775,-0.0567,0.0031,1.4784,-0.0597,0.0142,1.4768,-0.0603,0.0101,1.478,-0.0587,0.0063,1.4765,-0.0532,0.0032,1.4701,-0.0462,0.0131,1.471,-0.0545,0.0147,1.4727,-0.0611,-0.0111,1.4745,-0.0533,-0.0023,1.4749,-0.0477});
			return t2disc_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 t2disc 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 t2disc().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.t2disc\" 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.t2disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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