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 r_rib7.java, <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="https://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;">
        <caption>Scene Meta Information</caption>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center; padding:10px 0px;"><i>meta tags</i></td>
			<td style="text-align:left;   padding:10px 0px;">HumanoidAnimation.Skeleton.r_rib7&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib7.x3d">r_rib7.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/rrib7.x3d">originals/rrib7.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/r_rib7.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib7.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/../license.html">../license.html</a> </td>
		</tr>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center;" colspan="2">  &nbsp; </td>
		</tr>
	</table>

	<p>
		This program uses the
		<a href="https://www.web3d.org/specifications/java/X3DJSAIL.html" target="_blank">X3D Java Scene Access Interface Library (X3DJSAIL)</a>.
		It has been produced using the 
		<a href="https://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet
	       (<a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">version control</a>)
                which is used to create Java source code from an original <code>.x3d</code> model.
	</p>

	* @author Joe Williams, John Carlson, Damon Hernandez, Don Brutzman
 */

public class r_rib7
{
	/** Default constructor to create this object. */
	public r_rib7 ()
	{
	  initialize();
	}

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

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_rib7_geometry_5_22_coordIndex_2()
		{
			int[] value = {268,269,131,-1,269,270,131,-1,127,68,222,-1,68,66,222,-1,237,65,158,-1,65,67,158,-1,237,158,159,-1,59,58,60,-1,60,61,59,-1,41,58,38,-1,58,55,38,-1,38,54,39,-1,38,55,54,-1,50,54,57,-1,50,53,54,-1,36,35,271,-1,37,42,41,-1,41,38,37,-1,36,39,34,-1,28,216,211,-1,272,273,190,-1,274,107,109,-1,200,92,259,-1,92,90,259,-1,275,276,170,-1,170,171,275,-1,21,277,22,-1,21,275,277,-1,23,22,278,-1,29,91,92,-1,239,278,22,-1,22,279,239,-1,280,5,255,-1,207,100,97,-1,3,15,280,-1,3,0,15,-1,8,258,7,-1,9,254,10,-1,9,281,254,-1,280,15,8,-1,8,5,280,-1,29,92,24,-1,79,12,282,-1,283,1,3,-1,0,2,17,-1,240,211,216,-1,240,196,211,-1,240,272,196,-1,208,284,285,-1,284,208,286,-1,282,1,283,-1,282,12,1,-1,287,3,280,-1,283,3,287,-1,254,288,88,-1,281,288,254,-1,183,238,285,-1,238,183,289,-1,100,210,101,-1,207,210,100,-1,5,257,255,-1,257,5,4,-1,290,262,81,-1,290,85,262,-1,87,22,291,-1,87,279,22,-1,239,289,278,-1,239,238,289,-1,239,256,209,-1,239,279,256,-1,277,171,199,-1,275,171,277,-1,276,21,215,-1,275,21,276,-1,272,197,196,-1,272,190,197,-1,107,32,197,-1,274,32,107,-1,174,272,240,-1,174,273,272,-1,49,52,51,-1,52,49,48,-1,61,130,59,-1,61,292,130,-1,145,237,159,-1,145,227,237,-1,228,269,146,-1,269,228,270,-1,131,292,268,-1,292,131,130,-1,36,293,37,-1,36,271,293,-1,266,154,151,-1,266,70,154,-1,232,153,229,-1,232,267,153,-1,260,252,264,-1,253,252,260,-1,263,205,252,-1,263,201,205,-1,1,202,2,-1,1,14,202,-1,88,82,254,-1,88,80,82,-1,206,252,251,-1,206,263,252,-1,294,122,215,-1,122,294,185,-1,262,295,261,-1,262,291,295,-1,200,296,297,-1,200,260,296,-1,251,259,258,-1,259,251,253,-1,279,86,256,-1,279,87,86,-1,204,9,84,-1,204,281,9,-1,103,6,90,-1,101,6,103,-1,165,298,248,-1,298,165,299,-1,186,300,245,-1,186,250,300,-1,188,250,186,-1,188,95,250,-1,219,235,221,-1,301,235,219,-1,213,106,108,-1,213,302,106,-1,191,112,111,-1,191,121,112,-1,302,220,106,-1,303,220,302,-1,298,304,305,-1,306,304,298,-1,169,217,167,-1,307,217,169,-1,95,246,249,-1,95,94,246,-1,308,114,309,-1,115,114,308,-1,189,243,310,-1,189,244,243,-1,242,245,311,-1,242,244,245,-1,309,225,224,-1,225,309,243,-1,303,241,301,-1,241,303,308,-1,312,276,20,-1,170,276,312,-1,313,216,26,-1,216,313,314,-1,175,315,172,-1,175,316,315,-1,214,314,313,-1,214,176,314,-1,316,179,315,-1,178,179,316,-1,180,20,19,-1,180,181,20,-1,312,214,313,-1,182,214,312,-1,78,261,296,-1,261,78,77,-1,285,209,208,-1,285,238,209,-1,292,45,317,-1,61,45,292,-1,162,266,124,-1,162,265,266,-1,317,47,233,-1,45,47,317,-1,134,56,132,-1,57,56,134,-1,234,72,138,-1,234,73,72,-1,233,231,317,-1,231,233,136,-1,231,269,268,-1,269,231,230,-1,229,137,232,-1,144,137,229,-1,148,135,142,-1,148,230,135,-1,140,228,149,-1,140,270,228,-1,139,153,267,-1,152,153,139,-1,236,155,318,-1,236,227,155,-1,223,123,157,-1,64,123,223,-1,301,119,235,-1,119,301,241,-1,120,105,104,-1,120,226,105,-1,160,319,318,-1,319,160,320,-1,66,236,321,-1,66,65,236,-1,222,321,168,-1,321,222,66,-1,166,320,322,-1,320,166,319,-1,248,305,322,-1,248,298,305,-1,163,226,323,-1,163,105,226,-1,217,324,218,-1,217,307,324,-1,323,311,299,-1,242,311,323,-1,172,122,173,-1,172,18,122,-1,185,289,183,-1,185,294,289,-1,324,249,246,-1,324,325,249,-1,246,218,324,-1,218,246,109,-1,189,193,187,-1,193,189,310,-1,212,284,195,-1,284,212,184,-1,30,102,93,-1,98,102,30,-1,184,285,284,-1,285,184,183,-1,280,86,287,-1,86,280,255,-1,295,199,297,-1,295,277,199,-1,290,283,287,-1,282,283,290,-1,202,288,203,-1,14,288,202,-1,297,198,200,-1,297,199,198,-1,287,85,290,-1,85,287,86,-1,278,294,23,-1,278,289,294,-1,286,207,97,-1,207,286,208,-1,194,97,99,-1,97,194,286,-1,121,190,273,-1,190,121,191,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_rib7_geometry_5_22_coordIndex_3()
		{
			int[] value = {194,188,187,-1,194,99,188,-1,193,114,117,-1,310,114,193,-1,218,106,220,-1,218,109,106,-1,325,250,249,-1,325,300,250,-1,115,213,116,-1,302,213,115,-1,273,173,121,-1,273,174,173,-1,225,323,226,-1,225,242,323,-1,304,300,325,-1,306,300,304,-1,163,299,165,-1,323,299,163,-1,169,322,305,-1,322,169,166,-1,118,62,128,-1,104,62,118,-1,247,322,320,-1,247,248,322,-1,168,319,166,-1,319,168,321,-1,318,321,236,-1,321,318,319,-1,320,71,247,-1,320,160,71,-1,318,156,160,-1,318,155,156,-1,124,151,125,-1,266,151,124,-1,147,142,141,-1,147,148,142,-1,139,149,152,-1,139,140,149,-1,146,230,148,-1,146,269,230,-1,142,137,144,-1,142,135,137,-1,267,133,139,-1,267,74,133,-1,140,131,270,-1,140,129,131,-1,134,129,133,-1,134,132,129,-1,317,268,292,-1,268,317,231,-1,75,51,50,-1,51,75,73,-1,49,233,47,-1,49,234,233,-1,164,162,161,-1,164,265,162,-1,304,324,307,-1,325,324,304,-1,264,296,260,-1,296,264,78,-1,181,312,20,-1,181,182,312,-1,315,180,19,-1,179,180,315,-1,176,316,314,-1,176,178,316,-1,172,19,18,-1,172,315,19,-1,314,175,216,-1,175,314,316,-1,170,313,26,-1,170,312,313,-1,212,116,113,-1,212,117,116,-1,113,184,212,-1,184,113,110,-1,309,241,308,-1,224,241,309,-1,310,309,114,-1,310,243,309,-1,302,308,303,-1,302,115,308,-1,246,274,109,-1,246,192,274,-1,217,221,167,-1,217,219,221,-1,307,305,304,-1,307,169,305,-1,220,301,219,-1,303,301,220,-1,311,300,306,-1,311,245,300,-1,299,306,298,-1,306,299,311,-1,256,210,209,-1,257,210,256,-1,31,93,27,-1,30,93,31,-1,261,297,296,-1,295,297,261,-1,291,277,295,-1,291,22,277,-1,203,281,204,-1,288,281,203,-1,205,264,252,-1,264,205,83,-1,77,82,81,-1,77,76,82,-1,151,229,153,-1,154,229,151,-1,49,73,234,-1,49,51,73,-1,50,134,75,-1,50,57,134,-1,159,146,145,-1,146,159,228,-1,40,46,60,-1,43,46,40,-1,34,52,35,-1,34,53,52,-1,48,35,52,-1,35,48,271,-1,293,48,44,-1,271,48,293,-1,43,44,46,-1,293,44,43,-1,43,37,293,-1,43,42,37,-1,274,33,32,-1,192,33,274,-1,198,24,92,-1,198,25,24,-1,23,215,21,-1,23,294,215,-1,20,215,18,-1,20,276,215,-1,85,291,262,-1,85,87,291,-1,81,282,290,-1,81,79,282,-1,257,101,210,-1,257,4,101,-1,88,14,13,-1,288,14,88,-1,90,258,259,-1,90,7,258,-1,195,286,194,-1,195,284,286,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_rib7_geometry' coordIndex field, scene-graph level=5, element #22, 2592 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 getr_rib7_geometry_5_22_coordIndex()
		{
			MFInt32 r_rib7_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_rib7_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getr_rib7_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getr_rib7_geometry_5_22_coordIndex_3()));
			return r_rib7_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_rib7_coordinate' point field, scene-graph level=6, element #22, 978 total numbers made up of 326 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 getr_rib7_coordinate_6_22_point()
		{
			MFVec3f r_rib7_coordinate_6_22_point = new MFVec3f(new double[] {-0.0177,1.376,-0.0765,-0.016,1.3707,-0.074,-0.0165,1.3723,-0.0732,-0.0176,1.3749,-0.0772,-0.0222,1.3816,-0.0848,-0.0208,1.3812,-0.0827,-0.0206,1.3834,-0.0848,-0.02,1.3835,-0.0844,-0.02,1.3819,-0.0821,-0.014,1.3734,-0.0796,-0.0141,1.3721,-0.0797,-0.0141,1.374,-0.0808,-0.0157,1.3683,-0.075,-0.0154,1.3681,-0.075,-0.0158,1.3707,-0.074,-0.0187,1.3797,-0.0796,-0.0185,1.3811,-0.079,-0.0184,1.3787,-0.0757,-0.0332,1.3731,-0.1014,-0.033,1.3737,-0.1016,-0.0317,1.3745,-0.0996,-0.0268,1.3734,-0.0924,-0.0225,1.3728,-0.0875,-0.0271,1.3737,-0.0923,-0.0283,1.3809,-0.0967,-0.0283,1.3804,-0.0967,-0.0299,1.3801,-0.0999,-0.0336,1.3839,-0.1,-0.033,1.3825,-0.1016,-0.0286,1.3824,-0.096,-0.0372,1.3837,-0.1,-0.0365,1.3832,-0.1021,-0.041,1.381,-0.1052,-0.042,1.3828,-0.1036,-0.0952,1.2613,0.0698,-0.0955,1.2616,0.0708,-0.0967,1.2602,0.0695,-0.0986,1.2556,0.0672,-0.0983,1.2542,0.0655,-0.096,1.2592,0.0686,-0.0996,1.2532,0.0653,-0.0999,1.2534,0.064,-0.0995,1.2537,0.0657,-0.099,1.2539,0.0676,-0.0973,1.2557,0.0712,-0.0989,1.2529,0.0695,-0.0984,1.253,0.0694,-0.0977,1.2561,0.0722,-0.0955,1.26,0.0731,-0.0959,1.2606,0.0737,-0.0933,1.2616,0.0704,-0.0943,1.2625,0.0726,-0.0941,1.2617,0.0723,-0.0938,1.2611,0.0706,-0.095,1.2585,0.0687,-0.0978,1.2525,0.0646,-0.0978,1.2524,0.0637,-0.095,1.2582,0.0674,-0.0992,1.252,0.0643,-0.0997,1.2511,0.0638,-0.0993,1.2516,0.0654,-0.0999,1.251,0.066,-0.1244,1.352,-0.091,-0.1239,1.3528,-0.0893,-0.1383,1.3386,-0.0708,-0.1436,1.3361,-0.0753,-0.1263,1.3494,-0.0955,-0.1424,1.3358,-0.075,-0.1255,1.349,-0.0954,-0.155,1.3326,-0.0428,-0.1523,1.3334,-0.0408,-0.1457,1.347,-0.0655,-0.1102,1.2753,0.0577,-0.0976,1.2658,0.0702,-0.1097,1.2744,0.0559,-0.0969,1.2653,0.068,-0.0146,1.3706,-0.0808,-0.015,1.3706,-0.0815,-0.015,1.375,-0.0819,-0.0156,1.3686,-0.0775,-0.0153,1.3686,-0.0774,-0.016,1.3694,-0.0809,-0.0156,1.3694,-0.0803,-0.0139,1.3778,-0.0805,-0.0141,1.3763,-0.0794,-0.0206,1.3751,-0.0839,-0.0213,1.3773,-0.0834,-0.0214,1.3752,-0.0846,-0.0149,1.3689,-0.0763,-0.0286,1.3837,-0.0938,-0.0194,1.3837,-0.0852,-0.0287,1.3827,-0.0956,-0.0186,1.382,-0.0862,-0.0341,1.384,-0.0982,-0.0566,1.3812,-0.1097,-0.056,1.3838,-0.106,-0.0429,1.3847,-0.1021,-0.0381,1.3838,-0.0978,-0.038,1.3841,-0.0981,-0.0437,1.384,-0.1008,-0.0354,1.3839,-0.0956,-0.0295,1.384,-0.0914,-0.0347,1.3842,-0.0965,-0.029,1.3844,-0.0919,-0.1059,1.3629,-0.1042,-0.1057,1.3639,-0.1024,-0.061,1.3703,-0.1166,-0.0557,1.3765,-0.1142,-0.0557,1.3718,-0.1142,-0.0617,1.3757,-0.1161,-0.0372,1.3741,-0.1022,-0.0398,1.3732,-0.1054,-0.0367,1.3738,-0.1031,-0.041,1.3734,-0.1041,-0.0622,1.3724,-0.1104,-0.0613,1.3723,-0.1132,-0.0557,1.3732,-0.1112,-0.0569,1.3738,-0.1091,-0.1065,1.3628,-0.1072,-0.084,1.3686,-0.1127,-0.0843,1.3688,-0.1102,-0.0366,1.3741,-0.1037,-0.0342,1.373,-0.1014,-0.1486,1.325,-0.0498,-0.1478,1.3294,-0.0444,-0.1437,1.3151,-0.02,-0.1467,1.3095,-0.0229,-0.1078,1.3603,-0.1086,-0.1257,1.3511,-0.0939,-0.1162,1.2646,0.0481,-0.1038,1.2536,0.0601,-0.1173,1.2633,0.0488,-0.103,1.2551,0.0603,-0.1129,1.2703,0.0522,-0.0989,1.2611,0.0642,-0.1397,1.2914,0.0254,-0.1164,1.2707,0.0565,-0.1354,1.2952,0.029,-0.1124,1.2743,0.0579,-0.1353,1.2904,0.0228,-0.1379,1.2836,0.0166,-0.153,1.3163,-0.02,-0.1472,1.3041,0.0034,-0.1513,1.3201,-0.0175,-0.144,1.3088,0.0043,-0.1533,1.3088,-0.0236,-0.1476,1.2962,-0.0024,-0.153,1.3128,-0.0214,-0.1479,1.3005,0.0012,-0.144,1.2953,-0.0046,-0.1485,1.3069,-0.0248,-0.1455,1.3196,-0.018,-0.1419,1.3039,0.0007,-0.1374,1.3056,0.0061,-0.1487,1.3211,-0.0174,-0.1528,1.3262,-0.0498,-0.1543,1.3298,-0.0463,-0.1497,1.3231,-0.0524,-0.1496,1.3223,-0.0533,-0.1515,1.3061,-0.0251,-0.1471,1.3453,-0.0677,-0.1249,1.3555,-0.0869,-0.1386,1.3426,-0.0673,-0.106,1.3666,-0.0997,-0.1288,1.3591,-0.0853,-0.1084,1.3715,-0.0982,-0.1103,1.368,-0.1065,-0.087,1.372,-0.1149,-0.1088,1.3641,-0.1086,-0.0874,1.3762,-0.1122,-0.0293,1.3775,-0.0971,-0.0269,1.3776,-0.0938,-0.0344,1.3749,-0.1035,-0.0356,1.3749,-0.1034,-0.036,1.3779,-0.1044,-0.0344,1.378,-0.1042,-0.0326,1.3789,-0.1028,-0.0328,1.3772,-0.1021,-0.0333,1.3777,-0.1032,-0.0335,1.3763,-0.1029,-0.033,1.3754,-0.102,-0.0323,1.3759,-0.1008,-0.0316,1.3773,-0.1007,-0.0348,1.3743,-0.0987,-0.0376,1.3744,-0.1009,-0.0345,1.3738,-0.0997,-0.0642,1.3816,-0.1054,-0.0561,1.3775,-0.1041,-0.0558,1.3824,-0.1049,-0.0635,1.3768,-0.1056,-0.0396,1.3764,-0.1067,-0.0395,1.3737,-0.1061,-0.057,1.3801,-0.1116,-0.0573,1.3747,-0.1073,-0.0434,1.3787,-0.1005,-0.0423,1.3761,-0.1019,-0.0366,1.3809,-0.1043,-0.0401,1.3788,-0.1063,-0.0187,1.3813,-0.0863,-0.0206,1.3776,-0.0874,-0.0171,1.3816,-0.0844,-0.0148,1.3769,-0.0766,-0.0162,1.3722,-0.0733,-0.0151,1.3729,-0.0752,-0.0142,1.3742,-0.0774,-0.0142,1.3783,-0.0787,-0.0174,1.3787,-0.0754,-0.0357,1.3827,-0.0956,-0.0361,1.379,-0.0964,-0.0317,1.3787,-0.0924,-0.0307,1.3815,-0.0919,-0.0343,1.382,-0.103,-0.0415,1.3736,-0.103,-0.0559,1.3716,-0.1138,-0.0318,1.3784,-0.1019,-0.0312,1.3743,-0.0972,-0.0325,1.3812,-0.1029,-0.0773,1.3741,-0.1165,-0.0681,1.3749,-0.1169,-0.0764,1.3678,-0.1188,-0.067,1.3686,-0.1182,-0.0855,1.3667,-0.1171,-0.1079,1.3603,-0.1094,-0.1396,1.3355,-0.0724,-0.0759,1.3702,-0.1107,-0.076,1.3715,-0.1093,-0.0842,1.3698,-0.1081,-0.1515,1.3236,-0.0524,-0.146,1.2941,-0.0048,-0.1421,1.3093,0.004,-0.1409,1.288,0.0222,-0.1185,1.2674,0.0534,-0.1332,1.2952,0.0288,-0.1029,1.2604,0.0686,-0.1003,1.2643,0.0704,-0.085,1.3663,-0.1162,-0.1449,1.3373,-0.0745,-0.1507,1.3223,-0.0537,-0.0317,1.3766,-0.0943,-0.03,1.3765,-0.0925,-0.0352,1.3799,-0.1041,-0.0758,1.3705,-0.1136,-0.0764,1.375,-0.1056,-0.0678,1.3727,-0.1096,-0.0684,1.3765,-0.1066,-0.0691,1.3808,-0.1056,-0.0623,1.3797,-0.1133,-0.1311,1.3602,-0.0856,-0.1101,1.3728,-0.0998,-0.064,1.3828,-0.1083,-0.0642,1.3827,-0.1065,-0.0166,1.3814,-0.0793,-0.0145,1.3791,-0.0787,-0.0158,1.3823,-0.0812,-0.0145,1.3704,-0.0785,-0.021,1.3798,-0.0829,-0.0236,1.3778,-0.0858,-0.0227,1.3804,-0.0852,-0.0185,1.3831,-0.0819,-0.0172,1.3835,-0.0831,-0.0156,1.3808,-0.0829,-0.0187,1.3718,-0.0845,-0.0193,1.3717,-0.0845,-0.0152,1.3777,-0.0765,-0.0143,1.3787,-0.0813,-0.1422,1.3465,-0.0649,-0.1494,1.3323,-0.0413,-0.1295,1.2928,0.0294,-0.1181,1.2638,0.0499,-0.1406,1.284,0.0186,-0.1394,1.2827,0.0166,-0.0965,1.2603,0.0712,-0.0369,1.3794,-0.1048,-0.0372,1.3779,-0.1048,-0.0561,1.3775,-0.1134,-0.0266,1.374,-0.0929,-0.0309,1.3749,-0.0975,-0.0221,1.373,-0.0875,-0.0278,1.3741,-0.0923,-0.0232,1.3755,-0.0867,-0.019,1.3791,-0.0803,-0.0142,1.3723,-0.078,-0.0165,1.3711,-0.078,-0.0173,1.3735,-0.0774,-0.0381,1.3765,-0.0998,-0.0352,1.3761,-0.0976,-0.0384,1.379,-0.0984,-0.0189,1.3762,-0.0806,-0.0148,1.3712,-0.0757,-0.0316,1.375,-0.0957,-0.018,1.3737,-0.0808,-0.0208,1.3721,-0.0859,-0.1038,1.2537,0.0623,-0.098,1.2562,0.0695,-0.0315,1.3745,-0.0967,-0.0205,1.3722,-0.0861,-0.0168,1.3769,-0.0836,-0.0187,1.3772,-0.0855,-0.087,1.3794,-0.1054,-0.0862,1.378,-0.104,-0.0691,1.3822,-0.1069,-0.0761,1.3673,-0.1179,-0.0611,1.3701,-0.116,-0.067,1.3684,-0.1176,-0.078,1.3805,-0.1101,-0.0875,1.3787,-0.1094,-0.0781,1.381,-0.1061,-0.078,1.3774,-0.1137,-0.0675,1.3714,-0.1142,-0.0676,1.3713,-0.1114,-0.0625,1.3733,-0.1088,-0.0777,1.3796,-0.1048,-0.0305,1.3772,-0.0992,-0.0309,1.3793,-0.1015,-0.0324,1.38,-0.1031,-0.034,1.3753,-0.1033,-0.0338,1.3779,-0.1039,-0.1044,1.2566,0.0663,-0.1462,1.3414,-0.0717,-0.1309,1.3569,-0.0906,-0.132,1.3595,-0.0875,-0.1289,1.3526,-0.0938,-0.1113,1.3714,-0.1035,-0.0844,1.3732,-0.1048,-0.0686,1.3792,-0.1139,-0.0688,1.3821,-0.1095});
			return r_rib7_coordinate_6_22_point;
		}

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return r_rib7 model
	 */
	public X3D getX3dModel()
	{	  
		return x3dModel;
	}
	   
    /** 
     * Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
     * @param args array of input parameters, provided as arguments
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#handleArguments-java.lang.String:A-">X3D.handleArguments(args)</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#validationReport--">X3D.validationReport()</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        System.out.println("Build this X3D model, showing validation diagnostics...");
        X3D thisExampleX3dModel = new r_rib7().getX3dModel();
//      System.out.println("X3D model construction complete.");
	
        // next handle command line arguments
        boolean hasArguments = (args != null) && (args.length > 0);
        boolean validate = true; // default
        boolean argumentsLoadNewModel = false;
        String  fileName = new String();

        if (args != null)
        {
                for (String arg : args)
                {
                        if (arg.toLowerCase().startsWith("-v") || arg.toLowerCase().contains("validate"))
                        {
                                validate = true; // making sure
                        }
                        if (arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3D) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_CLASSICVRML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3DB) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_VRML97) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_EXI) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_GZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_ZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_HTML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_XHTML))
                        {
                                argumentsLoadNewModel = true;
                                fileName = arg;
                        }
                }
        }
        if      (argumentsLoadNewModel)
                System.out.println("WARNING: \"HumanoidAnimation.Skeleton.r_rib7\" model invocation is attempting to load file \"" + fileName + "\" instead of simply validating itself... file loading ignored.");
        else if (hasArguments) // if no arguments provided, this method produces usage warning
                thisExampleX3dModel.handleArguments(args);
	
        if (validate)
        {
            //  System.out.println("--- TODO fix duplicated outputs ---"); // omit when duplicated outputs problem is solved/refactored
		String validationResults = thisExampleX3dModel.validationReport();
            //  System.out.println("-----------------------------------"); // omit when duplicated outputs problem is solved/refactored
                System.out.print("HumanoidAnimation.Skeleton.r_rib7 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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