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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl4disc_geometry_5_22_coordIndex_2()
		{
			int[] value = {313,214,314,-1,315,214,313,-1,316,115,186,-1,316,313,115,-1,165,121,163,-1,116,121,165,-1,185,124,39,-1,185,317,124,-1,312,318,188,-1,319,318,312,-1,320,321,322,-1,321,320,184,-1,238,323,236,-1,324,323,238,-1,234,325,232,-1,326,325,234,-1,107,109,104,-1,109,107,106,-1,107,327,168,-1,327,107,183,-1,104,328,183,-1,103,328,104,-1,103,329,328,-1,329,103,330,-1,327,101,100,-1,101,327,331,-1,332,99,169,-1,99,332,170,-1,333,60,166,-1,60,333,61,-1,98,64,96,-1,98,62,64,-1,95,332,171,-1,332,95,170,-1,97,334,222,-1,335,334,97,-1,71,230,227,-1,230,71,336,-1,337,225,224,-1,225,337,338,-1,76,339,338,-1,339,76,75,-1,340,341,80,-1,342,341,340,-1,74,81,343,-1,74,344,81,-1,176,338,337,-1,76,338,176,-1,344,180,84,-1,180,344,345,-1,346,180,172,-1,346,177,180,-1,179,347,348,-1,179,349,347,-1,92,179,87,-1,179,92,349,-1,86,178,88,-1,178,86,85,-1,178,181,83,-1,178,85,181,-1,69,345,70,-1,69,180,345,-1,74,345,344,-1,74,176,345,-1,82,348,182,-1,181,348,82,-1,80,343,81,-1,341,343,80,-1,329,78,350,-1,330,78,329,-1,350,175,174,-1,175,350,78,-1,343,173,74,-1,174,173,343,-1,73,173,175,-1,75,173,73,-1,338,351,225,-1,351,338,339,-1,336,238,230,-1,238,336,324,-1,56,222,57,-1,97,222,56,-1,64,335,97,-1,63,335,64,-1,96,59,98,-1,60,59,96,-1,325,61,333,-1,61,325,105,-1,100,168,327,-1,100,59,168,-1,331,340,101,-1,340,331,342,-1,326,105,325,-1,106,105,326,-1,232,333,352,-1,325,333,232,-1,236,110,353,-1,323,110,236,-1,317,53,124,-1,310,53,317,-1,38,321,184,-1,23,321,38,-1,188,52,312,-1,52,188,38,-1,185,354,317,-1,185,112,354,-1,314,115,313,-1,314,116,115,-1,47,49,46,-1,164,49,47,-1,355,187,44,-1,355,356,187,-1,315,316,201,-1,315,313,316,-1,309,322,357,-1,309,308,322,-1,307,358,359,-1,307,306,358,-1,141,305,162,-1,357,305,141,-1,26,34,31,-1,26,36,34,-1,137,190,303,-1,30,190,137,-1,27,210,28,-1,27,301,210,-1,303,207,150,-1,303,360,207,-1,251,297,361,-1,295,297,251,-1,294,284,293,-1,294,250,284,-1,259,264,262,-1,259,362,264,-1,266,363,17,-1,265,363,266,-1,272,154,270,-1,203,154,272,-1,364,298,240,-1,298,364,365,-1,366,19,18,-1,366,276,19,-1,274,199,286,-1,200,199,274,-1,288,363,265,-1,288,290,363,-1,273,226,282,-1,159,226,273,-1,269,155,280,-1,156,155,269,-1,279,20,283,-1,279,277,20,-1,275,286,281,-1,275,274,286,-1,271,367,368,-1,271,270,367,-1,289,145,268,-1,146,145,289,-1,195,369,147,-1,195,266,369,-1,264,197,221,-1,197,264,256,-1,261,15,153,-1,15,261,16,-1,205,290,258,-1,205,370,290,-1,371,257,293,-1,371,198,257,-1,233,255,296,-1,233,253,255,-1,212,372,361,-1,212,211,372,-1,14,208,12,-1,208,14,249,-1,292,206,373,-1,206,292,374,-1,365,229,228,-1,229,365,244,-1,240,215,364,-1,242,215,240,-1,146,91,90,-1,91,146,375,-1,252,234,231,-1,376,234,252,-1,230,235,228,-1,230,238,235,-1,225,377,223,-1,225,351,377,-1,58,198,371,-1,58,57,198,-1,94,147,66,-1,94,195,147,-1,378,93,156,-1,379,93,378,-1,242,218,215,-1,358,218,242,-1,380,43,192,-1,44,43,380,-1,213,239,211,-1,213,359,239,-1,194,209,29,-1,209,194,12,-1,206,138,373,-1,136,138,206,-1,193,142,161,-1,142,193,381,-1,1,143,2,-1,1,40,143,-1,203,125,154,-1,120,125,203,-1,201,204,199,-1,201,118,204,-1,382,0,202,-1,41,0,382,-1,205,54,370,-1,55,54,205,-1,260,3,5,-1,24,3,260,-1,150,208,151,-1,150,207,208,-1,212,28,210,-1,28,212,383,-1,18,315,366,-1,214,315,18,-1,217,355,384,-1,216,355,217,-1,219,158,157,-1,68,158,219,-1,89,7,220,-1,89,8,7,-1,222,263,221,-1,222,334,263,-1,158,226,159,-1,158,224,226,-1,385,229,245,-1,385,227,229,-1,352,233,232,-1,352,253,233,-1,237,353,246,-1,236,353,237,-1,211,241,372,-1,211,239,241,-1,285,384,278,-1,217,384,285,-1,298,237,247,-1,235,237,298,-1,149,250,294,-1,149,151,250,-1,194,297,13,-1,194,383,297,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl4disc_geometry_5_22_coordIndex_3()
		{
			int[] value = {231,251,252,-1,231,295,251,-1,10,284,254,-1,10,9,284,-1,202,367,382,-1,202,386,367,-1,17,381,193,-1,381,17,363,-1,260,362,259,-1,260,5,362,-1,263,291,262,-1,263,148,291,-1,375,265,196,-1,375,288,265,-1,387,220,7,-1,220,387,267,-1,272,280,287,-1,269,280,272,-1,276,282,19,-1,273,282,276,-1,378,368,6,-1,378,271,368,-1,157,281,219,-1,157,275,281,-1,283,377,279,-1,223,377,283,-1,386,267,387,-1,144,267,386,-1,203,287,204,-1,203,272,287,-1,278,380,277,-1,384,380,278,-1,277,192,20,-1,380,192,277,-1,258,268,160,-1,268,258,289,-1,291,16,261,-1,369,16,291,-1,257,374,292,-1,256,374,257,-1,296,14,13,-1,255,14,296,-1,372,247,248,-1,372,241,247,-1,26,152,36,-1,152,26,25,-1,139,301,27,-1,139,299,301,-1,128,126,127,-1,126,128,131,-1,304,29,209,-1,304,191,29,-1,300,359,213,-1,300,307,359,-1,133,304,360,-1,133,132,304,-1,309,34,189,-1,309,33,34,-1,129,21,302,-1,22,21,129,-1,321,22,305,-1,22,321,23,-1,53,189,35,-1,189,53,310,-1,1,42,39,-1,0,42,1,-1,356,122,187,-1,356,311,122,-1,114,163,50,-1,165,163,114,-1,43,314,214,-1,43,45,314,-1,218,319,216,-1,218,318,319,-1,186,119,316,-1,119,186,49,-1,185,42,46,-1,185,39,42,-1,184,123,51,-1,123,184,320,-1,358,318,218,-1,358,306,318,-1,322,354,320,-1,322,308,354,-1,376,326,234,-1,376,167,326,-1,323,108,110,-1,102,108,323,-1,331,183,328,-1,331,327,183,-1,328,342,331,-1,342,328,329,-1,169,347,332,-1,169,388,347,-1,166,352,333,-1,166,11,352,-1,347,171,332,-1,347,349,171,-1,334,67,66,-1,67,334,335,-1,72,227,385,-1,227,72,71,-1,79,324,336,-1,324,79,389,-1,75,72,339,-1,72,75,73,-1,78,389,79,-1,78,330,389,-1,182,340,80,-1,340,182,388,-1,84,81,344,-1,81,84,82,-1,345,337,70,-1,176,337,345,-1,177,84,180,-1,177,83,84,-1,348,85,179,-1,181,85,348,-1,8,346,379,-1,346,8,88,-1,379,172,93,-1,172,379,346,-1,88,177,346,-1,177,88,178,-1,224,70,337,-1,224,158,70,-1,347,182,348,-1,347,388,182,-1,342,350,341,-1,329,350,342,-1,174,341,350,-1,174,343,341,-1,77,336,71,-1,336,77,79,-1,339,385,351,-1,339,72,385,-1,171,92,65,-1,349,92,171,-1,63,67,335,-1,95,67,63,-1,170,63,62,-1,170,95,63,-1,60,111,166,-1,60,96,111,-1,100,98,59,-1,99,98,100,-1,340,169,101,-1,388,169,340,-1,389,103,102,-1,389,330,103,-1,167,106,326,-1,109,106,167,-1,324,102,323,-1,389,102,324,-1,353,167,376,-1,110,167,353,-1,308,317,354,-1,308,310,317,-1,306,188,318,-1,306,37,188,-1,112,320,354,-1,112,123,320,-1,51,50,163,-1,123,50,51,-1,116,45,121,-1,45,116,314,-1,49,125,119,-1,49,117,125,-1,117,49,164,-1,216,356,355,-1,216,319,356,-1,316,118,201,-1,118,316,119,-1,319,311,356,-1,319,312,311,-1,187,121,45,-1,187,122,121,-1,142,53,35,-1,142,54,53,-1,321,357,322,-1,305,357,321,-1,307,302,21,-1,302,307,300,-1,357,33,309,-1,357,141,33,-1,140,131,128,-1,131,140,132,-1,133,303,190,-1,133,360,303,-1,209,360,304,-1,360,209,207,-1,190,126,133,-1,190,32,126,-1,130,299,139,-1,302,130,129,-1,130,302,299,-1,248,361,372,-1,251,361,248,-1,255,249,14,-1,254,249,255,-1,362,256,264,-1,362,374,256,-1,266,16,369,-1,266,17,16,-1,270,382,367,-1,154,382,270,-1,365,285,244,-1,365,364,285,-1,276,200,274,-1,366,200,276,-1,386,368,367,-1,386,387,368,-1,243,377,245,-1,377,243,279,-1,275,159,273,-1,157,159,275,-1,156,271,378,-1,156,269,271,-1,19,283,20,-1,282,283,19,-1,281,287,280,-1,281,286,287,-1,387,6,368,-1,7,6,387,-1,289,375,146,-1,375,289,288,-1,148,369,291,-1,148,147,369,-1,5,374,362,-1,5,206,374,-1,290,381,363,-1,370,381,290,-1,202,144,386,-1,202,2,144,-1,293,9,371,-1,9,293,284,-1,231,296,295,-1,231,233,296,-1,383,361,297,-1,383,212,361,-1,373,294,292,-1,373,149,294,-1,228,298,365,-1,228,235,298,-1,364,217,285,-1,215,217,364,-1,91,196,94,-1,91,375,196,-1,246,376,252,-1,353,376,246,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getl4disc_geometry_5_22_coordIndex_4()
		{
			int[] value = {253,11,10,-1,352,11,253,-1,351,245,377,-1,351,385,245,-1,11,371,9,-1,11,58,371,-1,148,334,66,-1,334,148,263,-1,6,379,378,-1,8,379,6,-1,359,242,239,-1,359,358,242,-1,44,384,355,-1,44,380,384,-1,366,201,200,-1,315,201,366,-1,29,383,194,-1,29,28,383,-1,373,150,149,-1,138,150,373,-1,25,260,153,-1,25,24,260,-1,54,381,370,-1,54,142,381,-1,117,382,154,-1,117,41,382,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l4disc_geometry' coordIndex field, scene-graph level=5, element #22, 3104 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 getl4disc_geometry_5_22_coordIndex()
		{
			MFInt32 l4disc_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl4disc_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl4disc_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl4disc_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getl4disc_geometry_5_22_coordIndex_4()));
			return l4disc_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l4disc_coordinate' point field, scene-graph level=6, element #22, 1170 total numbers made up of 390 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 getl4disc_coordinate_6_22_point()
		{
			MFVec3f l4disc_coordinate_6_22_point = new MFVec3f(new double[] {0.0134,1.0573,-0.0433,0.0112,1.0577,-0.0434,0.0112,1.0578,-0.0435,-0.0187,1.0549,-0.0419,-0.019,1.0548,-0.0417,-0.0188,1.0551,-0.0419,0.0149,1.0658,-0.0424,0.0149,1.0658,-0.0424,0.0149,1.0658,-0.0423,-0.0293,1.0618,-0.0289,-0.0293,1.0618,-0.0288,-0.0292,1.0618,-0.0288,-0.0259,1.0502,-0.0265,-0.0254,1.053,-0.0206,-0.0272,1.0537,-0.0256,-0.0112,1.0578,-0.0435,-0.0114,1.0605,-0.0437,-0.0074,1.0596,-0.044,0.0259,1.0502,-0.0265,0.0272,1.0537,-0.0256,0.0254,1.053,-0.0206,-0.0053,1.049,-0.0172,-0.0052,1.0489,-0.0214,0.0,1.049,-0.0208,-0.0155,1.0562,-0.0428,-0.0134,1.0573,-0.0433,-0.0125,1.0554,-0.0422,-0.017,1.05,-0.0202,-0.0201,1.0483,-0.0186,-0.0234,1.0495,-0.0224,-0.0176,1.0526,-0.0386,-0.0133,1.052,-0.0376,-0.0158,1.051,-0.0354,-0.0082,1.0514,-0.0347,-0.0081,1.053,-0.0387,-0.0049,1.0555,-0.0417,-0.0086,1.0561,-0.0423,0.0,1.0484,-0.0175,0.0052,1.0489,-0.0214,0.0086,1.0561,-0.0423,0.0082,1.0567,-0.0439,0.0155,1.0562,-0.0428,0.0125,1.0554,-0.0422,0.0234,1.0495,-0.0224,0.0201,1.0483,-0.0186,0.0199,1.0504,-0.0237,0.0133,1.052,-0.0376,0.0153,1.054,-0.041,0.0158,1.051,-0.0354,0.0176,1.0526,-0.0386,0.0116,1.0503,-0.0334,0.0096,1.0496,-0.0276,0.0092,1.049,-0.0222,0.0,1.0559,-0.0409,0.0,1.0568,-0.0434,0.0046,1.0567,-0.0437,-0.0222,1.0628,-0.0363,-0.0235,1.0636,-0.0374,-0.0273,1.0629,-0.0343,-0.0169,1.0646,-0.0283,-0.0206,1.0624,-0.0291,-0.02,1.0617,-0.0248,-0.0145,1.0653,-0.0337,-0.0136,1.0651,-0.0381,-0.0167,1.0645,-0.0365,-0.0073,1.0647,-0.0413,-0.0118,1.0655,-0.0423,-0.0125,1.0645,-0.0412,0.0273,1.0629,-0.0343,0.0261,1.062,-0.0338,0.0275,1.0612,-0.0285,0.0122,1.0599,-0.0106,0.0168,1.0601,-0.0123,0.0146,1.0611,-0.0167,0.0165,1.0633,-0.0244,0.0167,1.0612,-0.0189,0.0193,1.0613,-0.0225,0.0119,1.0605,-0.0155,0.0055,1.0626,-0.0174,0.0059,1.0606,-0.0134,0.0059,1.0647,-0.0286,0.0125,1.0648,-0.0284,0.0123,1.0655,-0.0314,0.0145,1.0653,-0.0337,0.0162,1.065,-0.0312,0.0125,1.0651,-0.0382,0.0125,1.0645,-0.0412,0.0073,1.0647,-0.0413,0.0149,1.0644,-0.0405,0.0118,1.0655,-0.0423,0.006,1.0649,-0.042,0.0,1.0648,-0.0423,0.0,1.0639,-0.0412,0.0235,1.0636,-0.0374,-0.006,1.0649,-0.042,-0.0125,1.0651,-0.0382,-0.0196,1.0633,-0.0328,-0.0181,1.0639,-0.039,-0.0162,1.065,-0.0312,-0.0123,1.0655,-0.0314,-0.0125,1.0648,-0.0284,-0.0059,1.0647,-0.0286,-0.0059,1.0606,-0.0134,-0.0055,1.0626,-0.0174,-0.0114,1.0625,-0.018,-0.0193,1.0613,-0.0225,-0.0167,1.0612,-0.0189,-0.0142,1.0626,-0.021,-0.0119,1.0605,-0.0155,-0.0146,1.0611,-0.0167,-0.0122,1.0599,-0.0106,-0.0261,1.062,-0.0338,0.0082,1.0514,-0.0347,0.0125,1.0496,-0.024,0.016,1.0505,-0.0324,0.0192,1.0512,-0.0317,0.0183,1.0507,-0.0283,0.0187,1.0549,-0.0419,0.0248,1.0532,-0.0389,0.0215,1.0533,-0.0391,0.0221,1.0539,-0.0402,0.0165,1.0503,-0.0253,0.015,1.0498,-0.022,0.0082,1.0503,-0.0305,0.0049,1.0555,-0.0417,0.019,1.0548,-0.0417,-0.016,1.0505,-0.0324,-0.0116,1.0503,-0.0334,-0.0138,1.0492,-0.0281,-0.0092,1.049,-0.0222,-0.0125,1.0496,-0.024,-0.0156,1.0496,-0.0296,-0.0183,1.0507,-0.0283,-0.0192,1.0512,-0.0317,-0.0153,1.054,-0.041,-0.0166,1.0533,-0.0397,-0.0221,1.0539,-0.0402,-0.0215,1.0533,-0.0391,-0.0248,1.0532,-0.0389,-0.015,1.0498,-0.022,-0.0165,1.0503,-0.0253,-0.0082,1.0503,-0.0305,-0.0046,1.0567,-0.0437,0.0082,1.0569,-0.044,0.0114,1.0605,-0.0437,0.006,1.0649,-0.0422,0.006,1.0649,-0.0422,-0.0118,1.0655,-0.0424,-0.0119,1.0655,-0.0424,-0.0277,1.0521,-0.0353,-0.0276,1.052,-0.0352,-0.0278,1.0521,-0.0352,-0.0112,1.0577,-0.0434,-0.0134,1.0575,-0.0433,0.0188,1.0551,-0.0419,0.0236,1.0635,-0.0375,0.0236,1.0635,-0.0375,0.0293,1.0618,-0.0289,0.0292,1.0618,-0.0288,0.0293,1.0618,-0.0288,0.0074,1.0596,-0.044,-0.0082,1.0567,-0.0439,-0.0096,1.0496,-0.0276,0.0138,1.0492,-0.0281,0.0166,1.0533,-0.0397,0.0156,1.0496,-0.0296,-0.0275,1.0612,-0.0285,-0.0168,1.0601,-0.0123,-0.0165,1.0633,-0.0244,-0.0053,1.0648,-0.0316,-0.0123,1.0653,-0.0345,-0.0066,1.0642,-0.0381,0.0222,1.0628,-0.0363,0.0142,1.0626,-0.021,0.0117,1.0631,-0.0208,0.0114,1.0625,-0.018,0.02,1.0617,-0.0248,0.0167,1.0645,-0.0365,0.0136,1.0651,-0.0381,0.0066,1.0642,-0.0381,0.0196,1.0633,-0.0328,0.0123,1.0653,-0.0345,0.0053,1.0648,-0.0316,-0.0117,1.0631,-0.0208,0.0054,1.0499,-0.0257,0.0081,1.053,-0.0387,0.0188,1.0516,-0.035,0.017,1.05,-0.0202,0.0053,1.049,-0.0172,-0.0045,1.0534,-0.0384,-0.0188,1.0516,-0.035,-0.0199,1.0504,-0.0237,0.0235,1.0496,-0.0223,-0.0082,1.0569,-0.044,-0.0235,1.0496,-0.0223,-0.006,1.0649,-0.0422,-0.006,1.0649,-0.0422,-0.0236,1.0635,-0.0375,-0.0236,1.0635,-0.0375,0.0277,1.0521,-0.0353,0.0278,1.0521,-0.0352,0.0276,1.052,-0.0352,0.0134,1.0575,-0.0433,0.0221,1.0541,-0.0403,0.0249,1.0533,-0.0389,0.0046,1.0569,-0.0438,-0.0221,1.0541,-0.0403,-0.0271,1.0512,-0.0308,-0.0272,1.0513,-0.0308,-0.0257,1.0501,-0.0265,-0.0161,1.0475,-0.0158,-0.0112,1.0469,-0.0137,-0.0162,1.0475,-0.0157,-0.0112,1.0469,-0.0138,0.0257,1.0501,-0.0265,0.0064,1.0469,-0.013,0.0112,1.0469,-0.0138,0.0112,1.0469,-0.0137,0.0064,1.0468,-0.0132,0.0274,1.0629,-0.0343,0.0118,1.0655,-0.0424,-0.0193,1.065,-0.0406,-0.0192,1.065,-0.0405,0.0263,1.0611,-0.019,0.0281,1.0614,-0.0243,0.0262,1.0612,-0.0191,0.0282,1.0613,-0.0243,0.0125,1.0605,-0.0096,0.0063,1.0606,-0.0076,0.0126,1.0605,-0.0095,0.0063,1.0607,-0.0077,-0.0222,1.0605,-0.0144,-0.0262,1.0612,-0.0191,-0.0263,1.0611,-0.019,-0.0221,1.0606,-0.0145,0.0,1.0607,-0.0071,-0.0063,1.0607,-0.0077,-0.0063,1.0606,-0.0076,0.0,1.0608,-0.0072,-0.0064,1.0469,-0.013,0.0,1.0507,-0.0095,-0.0066,1.051,-0.01,0.0,1.0465,-0.0125,0.0178,1.0558,-0.0117,0.0125,1.0556,-0.0097,0.0178,1.0606,-0.0113,-0.0126,1.0605,-0.0095,-0.0065,1.0556,-0.0082,-0.0125,1.0556,-0.0097,-0.0285,1.0546,-0.03,-0.0289,1.0552,-0.0332,-0.0178,1.0558,-0.0117,-0.0178,1.0606,-0.0113,-0.0282,1.0613,-0.0243,-0.0292,1.0582,-0.0294,-0.028,1.0575,-0.0248,-0.0235,1.0605,-0.0389,-0.0244,1.0603,-0.0384,0.005,1.0596,-0.0439,-0.0155,1.0595,-0.0433,-0.0156,1.0563,-0.0429,-0.013,1.0602,-0.0437,-0.0153,1.0627,-0.0432,-0.0149,1.0658,-0.0424,-0.0194,1.0618,-0.0416,-0.0055,1.0624,-0.0433,-0.0067,1.0624,-0.0434,0.0116,1.0631,-0.0434,0.0067,1.0624,-0.0434,0.0235,1.0605,-0.0389,0.0192,1.0584,-0.0421,0.0194,1.0618,-0.0416,0.0229,1.0573,-0.0399,0.0292,1.0582,-0.0294,0.0289,1.0552,-0.0332,0.0294,1.0585,-0.031,0.0285,1.0546,-0.03,0.0217,1.0519,-0.0163,0.0173,1.0514,-0.0132,0.0224,1.056,-0.0149,0.0244,1.0603,-0.0384,0.0281,1.0594,-0.035,0.028,1.0575,-0.0248,0.0264,1.0569,-0.0195,-0.0294,1.0585,-0.031,0.012,1.051,-0.0111,0.0282,1.0557,-0.0353,0.0248,1.0568,-0.0389,0.0,1.0623,-0.0434,0.0055,1.0624,-0.0433,0.0,1.0596,-0.0437,-0.0124,1.0629,-0.0434,-0.0248,1.0568,-0.0389,-0.0281,1.0594,-0.035,-0.0282,1.0557,-0.0353,-0.0224,1.056,-0.0149,-0.0264,1.0569,-0.0195,-0.0217,1.0519,-0.0163,0.0,1.0555,-0.0077,-0.0125,1.0496,-0.0197,-0.0099,1.0489,-0.0164,-0.0142,1.0494,-0.0179,-0.0096,1.0491,-0.0186,-0.0236,1.0523,-0.0356,-0.022,1.0512,-0.0272,-0.0054,1.0499,-0.0257,0.0,1.048,-0.0151,-0.0059,1.0488,-0.0155,0.0,1.0524,-0.0343,-0.0048,1.0519,-0.0341,0.0,1.0536,-0.0379,0.0125,1.0496,-0.0197,0.0096,1.0491,-0.0186,0.0236,1.0518,-0.0312,0.022,1.0512,-0.0272,0.0271,1.0512,-0.0308,0.0236,1.0523,-0.0356,0.0045,1.0534,-0.0384,0.0059,1.0488,-0.0155,0.0099,1.0489,-0.0164,0.0054,1.0509,-0.0302,0.0,1.0501,-0.0244,0.0,1.0512,-0.0295,-0.0059,1.06,-0.0091,0.0,1.0598,-0.0092,-0.0241,1.0604,-0.0199,-0.0205,1.0599,-0.0154,-0.0118,1.064,-0.0243,-0.0056,1.063,-0.0212,0.0,1.0629,-0.0207,0.0,1.0624,-0.0166,-0.0059,1.0638,-0.0238,-0.0068,1.0648,-0.0345,-0.0259,1.0606,-0.0244,-0.0149,1.0658,-0.0423,-0.0149,1.0644,-0.0405,0.0059,1.06,-0.0091,0.0259,1.0606,-0.0244,0.0241,1.0604,-0.0199,0.0205,1.0599,-0.0154,0.0,1.0641,-0.0277,0.0059,1.0638,-0.0238,0.0,1.0636,-0.0243,0.0118,1.064,-0.0243,0.0169,1.0646,-0.0283,0.0206,1.0624,-0.0291,0.0181,1.0639,-0.039,0.0,1.0641,-0.034,0.0068,1.0648,-0.0345,0.0,1.0639,-0.0371,0.0056,1.063,-0.0212,0.0221,1.0606,-0.0145,-0.0281,1.0614,-0.0243,-0.0125,1.0605,-0.0096,0.0048,1.0519,-0.0341,0.0161,1.0475,-0.0158,0.0142,1.0494,-0.0179,-0.0054,1.0509,-0.0302,0.0,1.0464,-0.0127,-0.0064,1.0468,-0.0132,-0.0236,1.0518,-0.0312,-0.0173,1.0514,-0.0132,-0.0192,1.0584,-0.0421,-0.005,1.0596,-0.0439,0.0066,1.051,-0.01,0.0065,1.0556,-0.0082,0.0272,1.0513,-0.0308,0.0155,1.0595,-0.0433,0.0153,1.0627,-0.0431,-0.0116,1.0631,-0.0434,0.0,1.057,-0.0435,-0.0274,1.0629,-0.0343,-0.012,1.051,-0.0111,-0.0249,1.0533,-0.0389,-0.0229,1.0573,-0.0399,0.0,1.0648,-0.0424,-0.0177,1.0606,-0.0114,0.0222,1.0605,-0.0144,0.0193,1.065,-0.0406,0.0192,1.065,-0.0405,0.0202,1.0484,-0.0185,-0.0046,1.0569,-0.0438,0.0156,1.0563,-0.0429,-0.0202,1.0484,-0.0185,0.0162,1.0475,-0.0157,0.0177,1.0606,-0.0114,0.014,1.0603,-0.0437,0.0145,1.0631,-0.0433,0.0,1.0643,-0.0309,0.0,1.0611,-0.0135});
			return l4disc_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 l4disc 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 l4disc().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.l4disc\" 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.l4disc self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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