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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getl_rib4_geometry_5_22_coordIndex_2()
		{
			int[] value = {174,170,171,-1,287,288,289,-1,288,290,289,-1,156,283,157,-1,156,62,283,-1,282,61,69,-1,85,13,235,-1,235,191,85,-1,7,248,10,-1,248,245,10,-1,186,251,250,-1,186,188,251,-1,170,47,46,-1,170,174,47,-1,182,291,178,-1,182,180,291,-1,33,35,86,-1,143,142,154,-1,154,167,143,-1,81,106,292,-1,292,214,81,-1,213,293,25,-1,137,294,138,-1,17,116,106,-1,17,19,116,-1,197,193,192,-1,197,19,193,-1,241,32,34,-1,241,39,32,-1,38,35,32,-1,295,296,297,-1,296,298,299,-1,298,296,295,-1,10,44,252,-1,10,245,44,-1,41,39,241,-1,41,247,39,-1,106,118,292,-1,106,116,118,-1,300,301,302,-1,300,303,301,-1,302,304,300,-1,302,305,304,-1,302,306,305,-1,21,293,22,-1,21,25,293,-1,18,35,193,-1,35,18,91,-1,40,194,38,-1,237,194,40,-1,180,307,291,-1,180,244,307,-1,252,43,308,-1,44,43,252,-1,183,178,177,-1,183,182,178,-1,253,309,172,-1,309,253,310,-1,46,168,170,-1,168,46,254,-1,244,250,307,-1,244,186,250,-1,251,248,7,-1,188,248,251,-1,311,312,249,-1,312,311,313,-1,191,239,34,-1,191,235,239,-1,157,314,52,-1,315,314,157,-1,61,283,62,-1,282,283,61,-1,290,316,257,-1,288,316,290,-1,51,287,289,-1,50,287,51,-1,317,318,319,-1,318,317,281,-1,320,321,309,-1,321,320,322,-1,291,312,323,-1,307,312,291,-1,200,179,275,-1,179,200,243,-1,285,324,284,-1,324,285,325,-1,277,284,324,-1,284,277,278,-1,65,1,0,-1,65,279,1,-1,64,69,280,-1,64,282,69,-1,68,151,69,-1,68,150,151,-1,147,278,277,-1,278,147,152,-1,279,145,1,-1,279,149,145,-1,268,233,110,-1,233,268,276,-1,231,120,326,-1,231,121,120,-1,123,225,274,-1,229,225,123,-1,270,327,113,-1,101,327,270,-1,272,269,271,-1,269,272,98,-1,11,328,29,-1,11,95,328,-1,236,198,199,-1,236,329,198,-1,196,267,330,-1,266,267,196,-1,331,332,333,-1,334,332,331,-1,118,335,336,-1,115,335,118,-1,232,264,230,-1,337,264,232,-1,338,189,190,-1,338,234,189,-1,93,189,234,-1,189,93,94,-1,27,11,29,-1,11,27,14,-1,107,272,82,-1,272,107,108,-1,327,109,83,-1,327,105,109,-1,271,206,205,-1,206,271,269,-1,117,330,115,-1,117,196,330,-1,339,340,341,-1,339,342,340,-1,343,344,345,-1,343,346,344,-1,335,333,337,-1,335,331,333,-1,208,78,76,-1,208,221,78,-1,224,340,342,-1,347,340,224,-1,263,216,215,-1,263,209,216,-1,125,274,228,-1,125,348,274,-1,349,264,350,-1,265,264,349,-1,129,226,265,-1,129,227,226,-1,222,212,223,-1,222,351,212,-1,259,134,211,-1,134,259,136,-1,352,262,261,-1,352,353,262,-1,227,354,228,-1,227,260,354,-1,355,126,354,-1,126,355,356,-1,131,357,260,-1,131,358,357,-1,359,132,135,-1,132,359,360,-1,136,220,361,-1,136,259,220,-1,262,139,258,-1,262,140,139,-1,362,353,127,-1,353,362,363,-1,355,306,302,-1,355,357,306,-1,300,360,359,-1,300,304,360,-1,325,319,318,-1,364,319,325,-1,285,365,366,-1,365,285,63,-1,157,66,315,-1,157,283,66,-1,364,53,319,-1,53,364,367,-1,368,366,365,-1,369,366,368,-1,55,370,371,-1,370,55,56,-1,372,367,369,-1,373,367,372,-1,368,51,374,-1,368,49,51,-1,375,371,370,-1,375,314,371,-1,144,373,376,-1,144,54,373,-1,377,372,374,-1,378,372,377,-1,287,375,379,-1,287,50,375,-1,379,288,287,-1,288,379,297,-1,142,376,155,-1,144,376,142,-1,163,378,377,-1,160,378,163,-1,257,163,290,-1,161,163,257,-1,159,295,297,-1,295,159,165,-1,316,299,286,-1,316,296,299,-1,321,162,173,-1,321,153,162,-1,164,5,298,-1,5,164,255,-1,256,322,320,-1,256,166,322,-1,37,256,311,-1,37,255,256,-1,175,310,253,-1,175,323,310,-1,307,249,312,-1,249,307,250,-1,36,7,9,-1,7,36,251,-1,188,246,248,-1,242,246,188,-1,57,243,200,-1,57,187,243,-1,202,184,380,-1,202,181,184,-1,247,40,39,-1,247,246,40,-1,238,187,57,-1,238,185,187,-1,239,380,240,-1,380,239,338,-1,117,19,197,-1,117,116,19,-1,329,70,276,-1,329,236,70,-1,201,72,73,-1,201,203,72,-1,90,31,30,-1,189,31,90,-1,95,273,328,-1,273,95,97,-1,268,329,276,-1,266,329,268,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getl_rib4_geometry_5_22_coordIndex_3()
		{
			int[] value = {347,22,340,-1,347,20,22,-1,115,331,335,-1,115,330,331,-1,343,124,348,-1,343,345,124,-1,337,350,264,-1,337,333,350,-1,218,134,133,-1,218,216,134,-1,350,218,349,-1,217,218,350,-1,358,306,357,-1,358,305,306,-1,219,361,220,-1,219,303,361,-1,351,210,212,-1,210,351,261,-1,301,362,356,-1,301,381,362,-1,222,342,344,-1,222,224,342,-1,128,348,125,-1,128,343,348,-1,345,122,124,-1,345,339,122,-1,261,346,352,-1,351,346,261,-1,362,294,363,-1,362,381,294,-1,360,305,358,-1,360,304,305,-1,349,133,130,-1,349,218,133,-1,332,215,217,-1,332,79,215,-1,75,334,267,-1,334,75,74,-1,292,336,326,-1,292,118,336,-1,341,213,119,-1,341,293,213,-1,208,20,347,-1,208,111,20,-1,263,221,223,-1,78,221,263,-1,97,112,273,-1,97,114,112,-1,204,328,273,-1,204,88,328,-1,202,73,275,-1,73,202,201,-1,233,203,204,-1,233,72,203,-1,57,195,238,-1,59,195,57,-1,199,197,192,-1,198,197,199,-1,92,18,17,-1,18,92,91,-1,380,190,202,-1,338,190,380,-1,239,234,338,-1,239,235,234,-1,240,184,42,-1,240,380,184,-1,275,181,202,-1,275,179,181,-1,178,323,175,-1,178,291,323,-1,311,320,313,-1,256,320,311,-1,255,3,5,-1,3,255,37,-1,48,254,46,-1,48,176,254,-1,309,173,172,-1,309,321,173,-1,299,174,286,-1,299,4,174,-1,169,162,161,-1,173,162,169,-1,166,154,322,-1,166,167,154,-1,164,295,165,-1,298,295,164,-1,153,160,162,-1,153,155,160,-1,296,288,297,-1,316,288,296,-1,160,376,378,-1,155,376,160,-1,158,297,379,-1,297,158,159,-1,377,290,163,-1,377,289,290,-1,370,379,375,-1,379,370,158,-1,289,374,51,-1,377,374,289,-1,373,378,376,-1,373,372,378,-1,56,158,370,-1,141,158,56,-1,375,52,314,-1,50,52,375,-1,369,374,372,-1,369,368,374,-1,367,54,53,-1,54,367,373,-1,314,382,371,-1,314,315,382,-1,49,365,156,-1,368,365,49,-1,369,364,366,-1,367,364,369,-1,317,371,382,-1,371,317,55,-1,315,67,382,-1,315,66,67,-1,156,63,62,-1,156,365,63,-1,325,366,364,-1,366,325,285,-1,281,382,67,-1,317,382,281,-1,151,280,69,-1,148,280,151,-1,176,308,177,-1,308,176,48,-1,363,137,140,-1,137,363,294,-1,356,302,301,-1,356,355,302,-1,303,359,361,-1,300,359,303,-1,356,127,126,-1,356,362,127,-1,353,140,262,-1,353,363,140,-1,258,220,259,-1,258,139,220,-1,361,135,136,-1,135,361,359,-1,132,358,131,-1,132,360,358,-1,260,355,354,-1,260,357,355,-1,135,130,133,-1,130,135,132,-1,354,125,228,-1,125,354,126,-1,127,352,128,-1,352,127,353,-1,351,344,346,-1,222,344,351,-1,265,130,129,-1,265,349,130,-1,274,124,123,-1,274,348,124,-1,209,134,216,-1,209,211,134,-1,339,119,122,-1,339,341,119,-1,221,347,224,-1,208,347,221,-1,74,332,334,-1,332,74,79,-1,326,232,231,-1,326,336,232,-1,341,22,293,-1,340,22,341,-1,345,342,339,-1,345,344,342,-1,128,346,343,-1,128,352,346,-1,270,114,207,-1,114,270,113,-1,109,26,83,-1,26,109,102,-1,23,107,82,-1,23,103,107,-1,101,105,327,-1,101,100,105,-1,94,31,189,-1,31,94,28,-1,215,78,263,-1,78,215,79,-1,336,337,232,-1,335,337,336,-1,217,333,332,-1,217,350,333,-1,330,334,331,-1,267,334,330,-1,266,198,329,-1,266,196,198,-1,11,85,95,-1,13,85,11,-1,88,29,328,-1,88,30,29,-1,327,21,113,-1,327,83,21,-1,80,272,271,-1,80,82,272,-1,121,229,123,-1,231,229,121,-1,326,214,292,-1,326,120,214,-1,148,279,280,-1,279,148,149,-1,1,324,2,-1,1,277,324,-1,284,68,60,-1,284,278,68,-1,324,318,2,-1,324,325,318,-1,243,180,179,-1,243,244,180,-1,310,320,309,-1,320,310,313,-1,322,153,321,-1,153,322,154,-1,281,2,318,-1,281,0,2,-1,319,55,317,-1,319,53,55,-1,257,286,171,-1,316,286,257,-1,45,308,48,-1,45,252,308,-1,42,241,240,-1,41,241,42,-1,45,6,8,-1,45,47,6,-1,311,36,37,-1,249,36,311,-1,172,254,253,-1,172,168,254,-1,177,43,183,-1,43,177,308,-1,313,323,312,-1,323,313,310,-1,38,193,35,-1,194,193,38,-1,246,237,40,-1,242,237,246,-1,31,27,29,-1,31,28,27,-1,214,24,81,-1,24,214,213,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getl_rib4_geometry_5_22_coordIndex_4()
		{
			int[] value = {303,381,301,-1,303,219,381,-1,219,294,381,-1,219,138,294,-1,14,12,11,-1,14,16,12,-1,44,247,41,-1,44,245,247,-1,3,8,6,-1,9,8,3,-1,299,5,4,-1,5,299,298,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='l_rib4_geometry' coordIndex field, scene-graph level=5, element #22, 3048 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 getl_rib4_geometry_5_22_coordIndex()
		{
			MFInt32 l_rib4_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getl_rib4_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getl_rib4_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getl_rib4_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getl_rib4_geometry_5_22_coordIndex_4()));
			return l_rib4_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='l_rib4_coordinate' point field, scene-graph level=6, element #22, 1149 total numbers made up of 383 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 getl_rib4_coordinate_6_22_point()
		{
			MFVec3f l_rib4_coordinate_6_22_point = new MFVec3f(new double[] {0.0595,1.3418,0.0664,0.0594,1.3409,0.0672,0.0598,1.3423,0.0668,0.1362,1.3884,-0.0378,0.1397,1.3797,-0.0232,0.1376,1.3801,-0.0224,0.1379,1.3877,-0.0392,0.1188,1.4082,-0.0667,0.1322,1.3964,-0.0552,0.1307,1.397,-0.0535,0.1196,1.4076,-0.0685,0.033,1.4525,-0.0862,0.0365,1.4506,-0.0885,0.036,1.4502,-0.0888,0.0348,1.4525,-0.0863,0.0373,1.4523,-0.0867,0.0368,1.4513,-0.0878,0.0347,1.4453,-0.0839,0.0374,1.4463,-0.0847,0.0352,1.4468,-0.0827,0.0257,1.4515,-0.0766,0.0271,1.45,-0.0789,0.0257,1.4496,-0.0771,0.0295,1.4471,-0.0803,0.029,1.4474,-0.0798,0.0276,1.4483,-0.079,0.0278,1.4482,-0.0795,0.0352,1.4541,-0.0848,0.0373,1.4537,-0.0859,0.0337,1.4553,-0.0833,0.0366,1.4552,-0.0843,0.037,1.4545,-0.0853,0.0508,1.446,-0.0891,0.0414,1.447,-0.0886,0.0501,1.446,-0.0902,0.0413,1.4466,-0.0874,0.1295,1.3989,-0.0496,0.1337,1.3903,-0.0341,0.0514,1.4455,-0.088,0.061,1.4433,-0.0901,0.0617,1.4431,-0.0887,0.0727,1.4368,-0.0928,0.0727,1.4375,-0.0932,0.1016,1.4205,-0.0833,0.1012,1.4199,-0.0825,0.1331,1.3955,-0.0569,0.1399,1.3869,-0.0411,0.1389,1.3867,-0.041,0.134,1.3956,-0.0571,0.08,1.3298,0.064,0.0932,1.3362,0.053,0.0933,1.3367,0.0538,0.0801,1.3299,0.0628,0.0717,1.3478,0.0609,0.086,1.3555,0.0514,0.0718,1.3476,0.0601,0.0858,1.3553,0.0506,0.0643,1.4478,-0.0865,0.0542,1.4513,-0.0852,0.0542,1.4497,-0.0853,0.0652,1.3263,0.0727,0.0645,1.3238,0.0717,0.0678,1.3241,0.0713,0.0682,1.3267,0.0716,0.063,1.3291,0.0683,0.0615,1.3361,0.0669,0.066,1.3302,0.0673,0.0638,1.3373,0.0654,0.0645,1.327,0.0723,0.0643,1.3242,0.0714,0.0439,1.455,-0.0832,0.0541,1.4532,-0.0858,0.0438,1.4556,-0.0835,0.0538,1.4538,-0.0864,0.0242,1.4536,-0.072,0.0269,1.4541,-0.0742,0.024,1.4538,-0.0724,0.0266,1.4544,-0.0744,0.0221,1.4537,-0.0704,0.0225,1.4533,-0.0701,0.0335,1.4451,-0.0841,0.0296,1.4471,-0.0799,0.033,1.4452,-0.0841,0.0271,1.4499,-0.0793,0.0358,1.4479,-0.0882,0.0358,1.4496,-0.0887,0.0383,1.4477,-0.0881,0.0353,1.4487,-0.0882,0.0367,1.4553,-0.0839,0.0426,1.4543,-0.0869,0.0425,1.4541,-0.0873,0.0378,1.4467,-0.0867,0.0359,1.4462,-0.0864,0.0394,1.451,-0.0888,0.0398,1.4529,-0.0875,0.0325,1.4526,-0.0857,0.0319,1.4521,-0.0848,0.0296,1.453,-0.0802,0.0326,1.4475,-0.0872,0.0312,1.4477,-0.0854,0.03,1.4492,-0.0838,0.0303,1.4504,-0.0837,0.0286,1.4483,-0.0811,0.0297,1.4471,-0.0819,0.0298,1.448,-0.083,0.0291,1.4494,-0.0821,0.0297,1.447,-0.0794,0.0312,1.4463,-0.0838,0.0316,1.4466,-0.0853,0.0284,1.4491,-0.0811,0.0297,1.4547,-0.0759,0.0262,1.4534,-0.0753,0.0283,1.4537,-0.0774,0.0284,1.451,-0.0806,0.0281,1.4524,-0.0789,0.0275,1.4484,-0.0755,0.03,1.4479,-0.0784,0.0302,1.4487,-0.0775,0.0273,1.4473,-0.0764,0.0239,1.4455,-0.0756,0.024,1.4451,-0.0756,0.021,1.4442,-0.0727,0.0207,1.4446,-0.0731,0.0188,1.4436,-0.07,0.0181,1.4441,-0.0707,0.0146,1.4435,-0.0678,0.0145,1.4437,-0.0676,0.0149,1.4474,-0.0684,0.015,1.4473,-0.0687,0.0149,1.4446,-0.0616,0.0159,1.4472,-0.0611,0.0147,1.4446,-0.0615,0.0158,1.4473,-0.0611,0.0168,1.4495,-0.0611,0.0177,1.4528,-0.0626,0.0166,1.4496,-0.0611,0.0175,1.4527,-0.0628,0.015,1.4495,-0.0653,0.015,1.4495,-0.065,0.0159,1.4519,-0.0657,0.0156,1.451,-0.0663,0.0953,1.3609,0.0417,0.1087,1.3679,0.0297,0.108,1.3673,0.0293,0.0958,1.3609,0.0426,0.0626,1.3401,0.0663,0.0666,1.3336,0.0677,0.0651,1.3372,0.0685,0.0652,1.3317,0.0675,0.0645,1.3351,0.0669,0.067,1.3292,0.0705,0.0669,1.327,0.0697,0.0664,1.3339,0.0697,0.124,1.3739,0.0144,0.1234,1.3741,0.0141,0.1105,1.3661,0.0308,0.0702,1.325,0.0699,0.0698,1.3255,0.0687,0.0966,1.3569,0.0413,0.1094,1.3644,0.0277,0.1133,1.3617,0.0315,0.1292,1.3673,0.0128,0.127,1.3708,0.0141,0.1158,1.3575,0.0315,0.1307,1.3771,-0.0049,0.1226,1.3715,0.0102,0.1307,1.3793,-0.0017,0.122,1.3743,0.0128,0.1432,1.3818,-0.0225,0.1382,1.3748,-0.0033,0.1422,1.3793,-0.0243,0.1382,1.3723,-0.0062,0.1411,1.3843,-0.0199,0.1357,1.3774,-0.0018,0.1412,1.3789,-0.0244,0.1347,1.3999,-0.0511,0.1351,1.3973,-0.0546,0.1222,1.4095,-0.0691,0.1223,1.4121,-0.0659,0.0753,1.4453,-0.0872,0.1027,1.428,-0.076,0.0737,1.4436,-0.0906,0.1037,1.4265,-0.0793,0.1032,1.4244,-0.0819,0.0727,1.441,-0.0916,0.0747,1.4393,-0.0851,0.1011,1.4256,-0.074,0.0753,1.4424,-0.0855,0.1008,1.4227,-0.0747,0.0423,1.4534,-0.0881,0.0514,1.4523,-0.0896,0.0412,1.4476,-0.0897,0.0439,1.4465,-0.0851,0.0431,1.4462,-0.0856,0.0523,1.4453,-0.0865,0.0537,1.4467,-0.0855,0.0304,1.4502,-0.0768,0.0358,1.4484,-0.0813,0.0358,1.45,-0.0799,0.044,1.449,-0.0841,0.0641,1.4503,-0.0876,0.0523,1.4526,-0.0884,0.0615,1.4492,-0.091,0.043,1.4541,-0.0851,0.0346,1.4545,-0.0806,0.035,1.4459,-0.0864,0.0341,1.4484,-0.0875,0.0312,1.4515,-0.0837,0.0237,1.4533,-0.0732,0.0189,1.4537,-0.0665,0.0165,1.4532,-0.0662,0.0175,1.4537,-0.064,0.0182,1.4532,-0.0677,0.0267,1.4467,-0.0778,0.0269,1.4463,-0.0777,0.0207,1.453,-0.0681,0.0194,1.4529,-0.0659,0.0209,1.4511,-0.0674,0.0192,1.4507,-0.0651,0.0149,1.4492,-0.0647,0.0163,1.4517,-0.0644,0.022,1.4534,-0.0712,0.0185,1.4514,-0.0698,0.0198,1.4532,-0.069,0.0212,1.4513,-0.0721,0.0171,1.443,-0.0673,0.0174,1.4437,-0.0666,0.0145,1.4422,-0.0629,0.0144,1.4418,-0.0648,0.019,1.4437,-0.0698,0.0193,1.4449,-0.0692,0.0212,1.4443,-0.0724,0.0218,1.4457,-0.0715,0.0355,1.4561,-0.0789,0.0417,1.4497,-0.0905,0.0414,1.4483,-0.0905,0.044,1.4512,-0.0832,0.0628,1.443,-0.087,0.0639,1.4442,-0.0864,0.0497,1.447,-0.0912,0.0596,1.4433,-0.0931,0.0599,1.4424,-0.0925,0.0744,1.4382,-0.0858,0.0754,1.445,-0.0865,0.1024,1.4279,-0.0754,0.1017,1.4209,-0.0799,0.074,1.4378,-0.0877,0.0736,1.4378,-0.0898,0.1013,1.4209,-0.0781,0.1305,1.4006,-0.0484,0.1185,1.4118,-0.0621,0.1182,1.4099,-0.0635,0.1198,1.4066,-0.0705,0.1399,1.3915,-0.0364,0.1409,1.389,-0.0395,0.1345,1.3834,-0.0194,0.1355,1.3851,-0.0173,0.1307,1.3648,0.0095,0.0162,1.4531,-0.066,0.0174,1.4534,-0.064,0.0143,1.4424,-0.0629,0.0159,1.4518,-0.0675,0.0158,1.4518,-0.0673,0.0202,1.4536,-0.0684,0.0199,1.447,-0.0682,0.0181,1.4463,-0.0662,0.0306,1.4516,-0.0762,0.0278,1.4517,-0.0743,0.0299,1.4543,-0.0758,0.0331,1.4477,-0.0874,0.0303,1.4507,-0.0833,0.0337,1.4459,-0.0864,0.033,1.446,-0.0865,0.0304,1.4541,-0.0794,0.0168,1.4428,-0.0675,0.0638,1.4506,-0.0883,0.0356,1.4556,-0.0787,0.063,1.338,0.07,0.0646,1.3328,0.072,0.0612,1.3358,0.0676,0.0628,1.3293,0.0689,0.0618,1.3428,0.0656,0.0645,1.324,0.071,0.0674,1.3244,0.0697,0.0653,1.3331,0.0721,0.0681,1.3347,0.0703,0.1375,1.3721,-0.0068,0.1023,1.342,0.0446,0.1165,1.3532,0.0285,0.104,1.3434,0.0437,0.1169,1.3533,0.0293,0.1209,1.4128,-0.063,0.027,1.4464,-0.0774,0.0264,1.4479,-0.0774,0.0147,1.4486,-0.0655,0.1266,1.3672,0.0084,0.1286,1.3661,0.0088,0.1135,1.3573,0.0271,0.1338,1.3738,-0.0068,0.1359,1.3731,-0.0066,0.0147,1.4487,-0.0642,0.0145,1.4479,-0.0651,0.0144,1.4476,-0.0647,0.0148,1.449,-0.0645,0.0147,1.4483,-0.064,0.0145,1.4476,-0.064,0.0144,1.4474,-0.0644,0.1205,1.4128,-0.0625,0.1205,1.4069,-0.071,0.1386,1.3857,-0.0174,0.1377,1.3927,-0.0331,0.1347,1.392,-0.0326,0.1326,1.4008,-0.048,0.1371,1.3928,-0.0329,0.0762,1.335,0.0613,0.0687,1.3312,0.0659,0.1301,1.3646,0.0087,0.0643,1.344,0.0643,0.0621,1.3433,0.0661,0.0647,1.3446,0.065,0.138,1.3858,-0.0173,0.1331,1.3793,-0.0004,0.1325,1.3795,-0.0005,0.1333,1.4007,-0.0484,0.0635,1.3387,0.07,0.0661,1.3402,0.0685,0.0242,1.4452,-0.0753,0.0284,1.4508,-0.0809,0.0332,1.4554,-0.0829,0.0358,1.452,-0.079,0.0277,1.4501,-0.0748,0.025,1.4499,-0.0727,0.0228,1.4514,-0.0699,0.0226,1.4495,-0.0702,0.0252,1.4515,-0.0721,0.0248,1.448,-0.0734,0.0245,1.4465,-0.0743,0.0221,1.4473,-0.0708,0.0502,1.4492,-0.091,0.0209,1.4469,-0.0728,0.023,1.4492,-0.0748,0.0236,1.4472,-0.0752,0.0206,1.4489,-0.0728,0.0166,1.447,-0.0698,0.0181,1.4487,-0.0709,0.0182,1.4468,-0.0708,0.0167,1.449,-0.07,0.023,1.4513,-0.0739,0.0162,1.4437,-0.0691,0.0187,1.4488,-0.0654,0.0207,1.4494,-0.0677,0.0173,1.4517,-0.0688,0.0153,1.449,-0.0689,0.0152,1.449,-0.0687,0.0143,1.442,-0.0647,0.0144,1.4452,-0.0647,0.0147,1.4459,-0.0662,0.0143,1.4456,-0.0639,0.0144,1.4466,-0.063,0.0155,1.4493,-0.0629,0.015,1.448,-0.0629,0.0161,1.4508,-0.0635,0.015,1.448,-0.067,0.0152,1.4488,-0.0669,0.0683,1.3418,0.067,0.0708,1.3274,0.0699,0.0708,1.336,0.0688,0.0748,1.3455,0.0626,0.0798,1.3335,0.0645,0.0777,1.3402,0.064,0.0875,1.3508,0.05,0.0734,1.343,0.0596,0.091,1.348,0.0536,0.0878,1.3535,0.0528,0.0933,1.3404,0.0545,0.0902,1.3417,0.0511,0.0978,1.3586,0.0447,0.103,1.347,0.0448,0.0999,1.3533,0.0457,0.0999,1.3482,0.0416,0.0602,1.4465,-0.0924,0.0146,1.4483,-0.0655,0.0662,1.3386,0.0639});
			return l_rib4_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 l_rib4 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 l_rib4().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.l_rib4\" 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.l_rib4 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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