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

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] gett8disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {40,51,45,-1,51,40,52,-1,268,264,274,-1,268,266,264,-1,274,337,268,-1,337,274,271,-1,42,324,136,-1,324,42,107,-1,271,330,337,-1,330,271,178,-1,144,278,134,-1,278,144,59,-1,62,287,87,-1,62,64,287,-1,290,86,280,-1,290,58,86,-1,79,138,83,-1,138,79,56,-1,217,61,60,-1,326,61,217,-1,280,288,290,-1,288,280,169,-1,78,71,236,-1,77,71,78,-1,146,249,147,-1,146,295,249,-1,247,301,133,-1,247,246,301,-1,123,68,124,-1,68,123,36,-1,301,336,335,-1,246,336,301,-1,147,251,284,-1,249,251,147,-1,131,240,256,-1,240,131,283,-1,334,73,99,-1,73,334,74,-1,291,84,289,-1,285,84,291,-1,326,65,61,-1,286,65,326,-1,80,78,81,-1,142,78,80,-1,83,289,84,-1,289,83,138,-1,139,280,86,-1,139,279,280,-1,87,58,62,-1,87,86,58,-1,134,85,238,-1,85,134,278,-1,290,138,58,-1,289,138,290,-1,337,90,89,-1,90,337,330,-1,324,292,136,-1,293,292,324,-1,89,268,337,-1,89,137,268,-1,92,292,267,-1,292,92,136,-1,274,294,272,-1,274,264,294,-1,47,294,263,-1,47,50,294,-1,232,265,276,-1,232,231,265,-1,270,55,277,-1,270,137,55,-1,310,335,336,-1,310,215,335,-1,81,236,97,-1,81,78,236,-1,245,297,302,-1,297,245,298,-1,299,303,252,-1,35,303,299,-1,254,300,228,-1,300,254,242,-1,281,299,295,-1,281,257,299,-1,282,298,260,-1,282,258,298,-1,336,296,310,-1,336,259,296,-1,213,95,37,-1,304,95,213,-1,335,144,301,-1,335,60,144,-1,64,284,287,-1,147,284,64,-1,74,283,131,-1,283,74,334,-1,124,71,70,-1,124,68,71,-1,302,275,91,-1,302,297,275,-1,262,35,34,-1,303,35,262,-1,244,46,300,-1,244,41,46,-1,304,106,44,-1,304,152,106,-1,306,318,305,-1,306,203,318,-1,201,307,199,-1,201,319,307,-1,198,14,196,-1,198,15,14,-1,0,315,1,-1,0,121,315,-1,164,102,101,-1,164,8,102,-1,309,28,308,-1,309,29,28,-1,333,2,157,-1,2,333,25,-1,333,306,227,-1,306,333,314,-1,160,197,311,-1,160,328,197,-1,312,327,202,-1,313,327,312,-1,314,329,206,-1,159,329,314,-1,129,207,312,-1,129,128,207,-1,223,209,311,-1,223,225,209,-1,296,222,212,-1,221,222,296,-1,101,165,164,-1,313,165,101,-1,187,14,13,-1,187,226,14,-1,23,305,318,-1,23,22,305,-1,319,332,307,-1,319,194,332,-1,185,192,332,-1,320,192,185,-1,321,322,331,-1,320,322,321,-1,179,331,322,-1,179,323,331,-1,317,126,109,-1,13,126,317,-1,324,18,17,-1,324,107,18,-1,90,182,109,-1,90,330,182,-1,4,325,10,-1,4,156,325,-1,214,154,155,-1,308,154,214,-1,11,119,118,-1,119,11,12,-1,316,125,117,-1,316,173,125,-1,114,326,155,-1,114,286,326,-1,3,291,156,-1,3,285,291,-1,120,220,150,-1,120,31,220,-1,159,30,329,-1,159,158,30,-1,208,103,219,-1,208,327,103,-1,210,309,216,-1,210,211,309,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='t8disc_geometry' coordIndex field, scene-graph level=5, element #22, 2688 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 gett8disc_geometry_5_22_coordIndex()
		{
			MFInt32 t8disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(gett8disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(gett8disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(gett8disc_geometry_5_22_coordIndex_3()));
			return t8disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='t8disc_coordinate' point field, scene-graph level=6, element #22, 1014 total numbers made up of 338 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 gett8disc_coordinate_6_22_point()
		{
			MFVec3f t8disc_coordinate_6_22_point = new MFVec3f(new double[] {0.0039,1.3355,-0.0916,0.0067,1.3351,-0.0915,0.0065,1.3334,-0.0921,0.0042,1.3365,-0.0819,0.0079,1.3363,-0.0804,0.0063,1.3366,-0.0823,0.0116,1.3345,-0.083,0.0117,1.3345,-0.0794,0.0135,1.3347,-0.0818,0.0088,1.3358,-0.0747,0.0096,1.3359,-0.0779,0.0089,1.3364,-0.0806,0.0096,1.3358,-0.0812,0.0074,1.3289,-0.0648,0.0095,1.3291,-0.063,0.0076,1.3294,-0.0613,0.0062,1.3273,-0.0876,0.0027,1.3274,-0.0875,0.0025,1.3279,-0.0897,0.0059,1.3295,-0.0919,0.0061,1.3286,-0.0894,0.0077,1.3272,-0.0866,0.0093,1.3288,-0.0882,0.0106,1.3282,-0.0865,0.0029,1.3313,-0.0917,0.0062,1.3316,-0.0923,0.0058,1.3298,-0.0921,0.0112,1.3352,-0.0668,0.011,1.3354,-0.067,0.0111,1.3352,-0.0667,0.012,1.3342,-0.0867,0.0117,1.3345,-0.0866,0.0126,1.3342,-0.0837,-0.0157,1.3288,-0.0802,-0.0155,1.3286,-0.08,-0.0157,1.3288,-0.08,-0.0034,1.3335,-0.0919,-0.0029,1.3313,-0.0917,-0.0062,1.3316,-0.0923,-0.0061,1.3286,-0.0894,-0.0077,1.3287,-0.0891,-0.0086,1.3293,-0.0911,-0.0025,1.3279,-0.0897,-0.0026,1.3289,-0.091,0.0,1.3281,-0.0901,-0.0093,1.3288,-0.0882,-0.0109,1.329,-0.0893,-0.0119,1.3278,-0.0836,-0.0143,1.3282,-0.0835,-0.0123,1.3284,-0.0872,-0.0095,1.3269,-0.0837,-0.0077,1.3272,-0.0866,-0.007,1.3273,-0.0872,-0.0038,1.3293,-0.0625,-0.0076,1.3294,-0.0613,-0.0074,1.3289,-0.0648,-0.0089,1.3364,-0.0806,-0.0096,1.3358,-0.0812,-0.0096,1.3359,-0.0779,-0.0069,1.3351,-0.0658,-0.0041,1.3352,-0.0613,-0.0037,1.3352,-0.0639,-0.0117,1.3345,-0.0794,-0.0135,1.3347,-0.0818,-0.014,1.3348,-0.0787,-0.0035,1.3363,-0.0673,-0.0053,1.3359,-0.0687,-0.0116,1.3345,-0.083,-0.0039,1.3355,-0.0916,-0.0065,1.3334,-0.0921,0.0,1.3363,-0.0912,-0.0039,1.3358,-0.0914,0.0,1.3363,-0.0893,-0.0108,1.3349,-0.0858,-0.0117,1.3345,-0.0866,-0.0126,1.3342,-0.0837,-0.0039,1.3365,-0.0879,-0.0039,1.3361,-0.0899,-0.0064,1.336,-0.0889,-0.008,1.3368,-0.083,-0.0065,1.3368,-0.0858,-0.0082,1.3361,-0.0873,-0.0042,1.3364,-0.0847,-0.0063,1.3366,-0.0823,-0.0042,1.3365,-0.0819,-0.0103,1.3345,-0.0717,-0.0088,1.3358,-0.0747,-0.0111,1.3345,-0.0751,0.0,1.3293,-0.0615,-0.0035,1.3275,-0.0661,0.0,1.3278,-0.066,-0.0095,1.3291,-0.063,-0.0062,1.3273,-0.0876,-0.0089,1.327,-0.0851,-0.0106,1.3282,-0.0865,-0.0024,1.3292,-0.0912,-0.0058,1.3298,-0.0921,-0.0094,1.3353,-0.0898,-0.0095,1.3351,-0.0901,-0.0096,1.3352,-0.0897,-0.0129,1.334,-0.0838,0.0143,1.3347,-0.0787,0.014,1.3348,-0.0787,0.0143,1.3347,-0.0786,0.0034,1.3335,-0.0919,0.0086,1.3293,-0.0911,0.0026,1.3289,-0.091,0.0,1.3277,-0.0894,0.007,1.3273,-0.0872,0.0035,1.3275,-0.0661,0.0073,1.3357,-0.0712,0.0103,1.3345,-0.0717,0.0111,1.3345,-0.0751,0.0064,1.3359,-0.0697,0.0035,1.3363,-0.0673,0.0053,1.3359,-0.0687,0.0042,1.3364,-0.0847,0.0082,1.3361,-0.0873,0.008,1.3368,-0.083,0.0091,1.3358,-0.0845,0.0108,1.3349,-0.0858,0.0039,1.3358,-0.0914,0.0039,1.3361,-0.0899,0.0,1.3336,-0.0913,0.0,1.3361,-0.0914,0.0065,1.3368,-0.0858,0.0038,1.3293,-0.0625,0.0077,1.3287,-0.0891,0.0157,1.3288,-0.0802,0.0157,1.3288,-0.08,0.0155,1.3286,-0.08,-0.012,1.3342,-0.0867,-0.0112,1.3352,-0.0668,-0.0111,1.3352,-0.0667,-0.011,1.3354,-0.067,-0.0059,1.3295,-0.0919,-0.0027,1.3274,-0.0875,-0.0071,1.3279,-0.0676,-0.0079,1.3363,-0.0804,-0.0073,1.3357,-0.0712,-0.0064,1.3359,-0.0697,-0.0091,1.3358,-0.0845,-0.0054,1.3366,-0.087,-0.0067,1.3351,-0.0915,-0.0082,1.3354,-0.0636,-0.0041,1.3292,-0.0598,-0.0143,1.3347,-0.0787,-0.0143,1.3347,-0.0786,0.0129,1.334,-0.0838,0.0094,1.3353,-0.0898,0.0096,1.3352,-0.0897,0.0095,1.3351,-0.0901,0.0024,1.3292,-0.0912,0.0089,1.327,-0.0851,0.0069,1.3351,-0.0658,0.0037,1.3352,-0.0639,0.0043,1.3365,-0.0799,0.0094,1.3334,-0.0908,0.0113,1.3344,-0.0888,0.0116,1.3328,-0.0893,0.012,1.3334,-0.0662,0.013,1.3349,-0.0714,0.0138,1.3331,-0.0703,0.0138,1.3324,-0.0839,0.0138,1.3345,-0.0818,0.0149,1.3328,-0.0815,0.0,1.3365,-0.0871,0.0039,1.3365,-0.0879,0.0,1.3367,-0.0837,0.0,1.3367,-0.0735,0.0039,1.3363,-0.0708,0.0043,1.3365,-0.0742,0.0,1.3367,-0.0696,0.0054,1.3366,-0.087,0.0091,1.3349,-0.0686,0.0127,1.335,-0.0715,0.0,1.3292,-0.059,0.0041,1.3292,-0.0598,0.0,1.326,-0.075,0.0028,1.3261,-0.079,0.0032,1.3263,-0.0751,0.0,1.3261,-0.079,0.0033,1.3268,-0.0712,0.0067,1.3267,-0.0751,0.0069,1.3269,-0.0713,0.0106,1.3272,-0.0752,0.0104,1.3275,-0.0714,0.0101,1.3287,-0.0674,0.0096,1.3277,-0.0701,0.0118,1.3285,-0.0696,0.0083,1.3279,-0.0686,0.0143,1.3282,-0.0835,0.0132,1.328,-0.0795,0.0119,1.3278,-0.0836,0.0129,1.3284,-0.0715,0.0082,1.3315,-0.0614,0.0097,1.3293,-0.0628,0.0106,1.3313,-0.0638,0.0077,1.3296,-0.0611,0.0159,1.3289,-0.0757,0.0151,1.3308,-0.0725,0.0151,1.3286,-0.0715,0.0159,1.3309,-0.0766,0.0125,1.3287,-0.0873,0.0144,1.3304,-0.0839,0.0145,1.3285,-0.0836,0.0128,1.3305,-0.0874,0.0156,1.3308,-0.0809,0.0146,1.333,-0.0738,0.0142,1.331,-0.0694,0.0043,1.3333,-0.06,0.0084,1.3335,-0.0622,0.0043,1.3313,-0.0595,0.0,1.3309,-0.091,0.0041,1.3352,-0.0613,0.0,1.3351,-0.0604,0.0042,1.335,-0.061,0.0,1.3353,-0.0608,0.0134,1.335,-0.0751,0.0137,1.3349,-0.0751,0.0111,1.3347,-0.0886,0.0,1.3294,-0.0588,0.0042,1.3294,-0.0595,0.0124,1.3293,-0.0659,0.0138,1.3288,-0.0688,0.0141,1.329,-0.0688,0.0122,1.329,-0.066,0.0087,1.3296,-0.0913,-0.0125,1.3287,-0.0873,-0.0145,1.3285,-0.0836,-0.0141,1.329,-0.0688,-0.0149,1.3284,-0.0715,-0.0138,1.3288,-0.0688,-0.0151,1.3286,-0.0715,-0.0042,1.3294,-0.0595,-0.0077,1.3296,-0.0611,-0.0067,1.3353,-0.0912,-0.0138,1.3345,-0.0818,-0.0127,1.335,-0.0715,-0.013,1.3349,-0.0714,-0.0116,1.3328,-0.0893,-0.0091,1.3314,-0.0913,-0.0115,1.331,-0.0896,-0.0094,1.3334,-0.0908,-0.0087,1.3296,-0.0913,-0.0106,1.3313,-0.0638,-0.0084,1.3335,-0.0622,-0.0111,1.3334,-0.0651,-0.0082,1.3315,-0.0614,-0.0153,1.3329,-0.0776,-0.0151,1.3308,-0.0725,-0.0146,1.333,-0.0738,-0.0159,1.3309,-0.0766,-0.0138,1.3324,-0.0839,-0.0128,1.3305,-0.0874,-0.0144,1.3304,-0.0839,-0.0126,1.3325,-0.0871,-0.0156,1.3308,-0.0809,-0.0142,1.331,-0.0694,-0.0043,1.3313,-0.0595,-0.012,1.3334,-0.0662,-0.0135,1.3283,-0.0754,-0.0157,1.3286,-0.0757,-0.0132,1.328,-0.0795,-0.0106,1.3272,-0.0752,-0.0129,1.3284,-0.0715,-0.0104,1.3275,-0.0714,-0.0063,1.3266,-0.0838,-0.0069,1.3269,-0.0713,-0.0096,1.3277,-0.0701,-0.0083,1.3279,-0.0686,-0.0032,1.3263,-0.0751,-0.0066,1.3266,-0.0791,-0.0028,1.3261,-0.079,-0.0067,1.3267,-0.0751,-0.0122,1.329,-0.066,-0.0118,1.3285,-0.0696,-0.0101,1.3287,-0.0674,-0.0091,1.3349,-0.0686,-0.0039,1.3363,-0.0708,-0.0043,1.3365,-0.0742,-0.0149,1.3328,-0.0815,-0.0138,1.3331,-0.0703,-0.0113,1.3344,-0.0888,-0.0137,1.3349,-0.0751,0.0,1.3369,-0.0814,0.0,1.3365,-0.0664,-0.0134,1.335,-0.0751,0.0,1.3369,-0.0765,-0.0043,1.3365,-0.0799,-0.0043,1.3365,-0.077,0.0,1.3369,-0.0793,-0.0027,1.3266,-0.0837,0.0,1.3266,-0.0835,-0.0103,1.3268,-0.0793,-0.0153,1.3329,-0.0792,0.0,1.3313,-0.0589,-0.0124,1.3293,-0.0659,-0.0124,1.3313,-0.0659,-0.0158,1.3308,-0.0797,-0.0111,1.3292,-0.0894,-0.0084,1.3352,-0.0633,-0.0097,1.3293,-0.0628,-0.0159,1.3289,-0.0757,0.0,1.3284,-0.0904,0.0109,1.329,-0.0893,0.0111,1.3292,-0.0894,0.0157,1.3286,-0.0757,0.0082,1.3354,-0.0636,0.0084,1.3352,-0.0633,0.0,1.3334,-0.0595,0.0124,1.3313,-0.0659,0.0158,1.3308,-0.0797,0.0153,1.3329,-0.0792,0.0115,1.331,-0.0896,0.0067,1.3353,-0.0912,0.0064,1.336,-0.0889,0.0071,1.3279,-0.0676,0.0123,1.3284,-0.0872,0.0149,1.3284,-0.0715,0.0103,1.3268,-0.0793,0.0095,1.3269,-0.0837,0.0066,1.3266,-0.0791,0.0027,1.3266,-0.0837,0.0,1.3271,-0.0873,0.0043,1.3365,-0.077,0.0,1.3356,-0.0633,0.0153,1.3329,-0.0776,0.0111,1.3334,-0.0651,0.0126,1.3325,-0.0871,0.0,1.3267,-0.0712,0.0063,1.3266,-0.0838,0.0135,1.3283,-0.0754,0.0091,1.3314,-0.0913,-0.0111,1.3347,-0.0886,-0.0042,1.335,-0.061,-0.0043,1.3333,-0.06,-0.0033,1.3268,-0.0712});
			return t8disc_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 t8disc 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 t8disc().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.t8disc\" 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.t8disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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