org.collada._2005._11.colladaschema
Class InstanceRigidBody.TechniqueCommon

java.lang.Object
  extended by org.collada._2005._11.colladaschema.InstanceRigidBody.TechniqueCommon
Enclosing class:
InstanceRigidBody

public static class InstanceRigidBody.TechniqueCommon
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="angular_velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
         <element name="velocity" type="{http://www.collada.org/2005/11/COLLADASchema}float3" minOccurs="0"/>
         <element name="dynamic" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
                 <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
         <element name="mass_frame" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice maxOccurs="unbounded">
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="inertia" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
         <choice minOccurs="0">
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
         </choice>
         <element name="shape" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="hollow" minOccurs="0">
                     <complexType>
                       <simpleContent>
                         <extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
                           <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                         </extension>
                       </simpleContent>
                     </complexType>
                   </element>
                   <element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                   <element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
                   <choice minOccurs="0">
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
                   </choice>
                   <choice>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
                   </choice>
                   <choice maxOccurs="unbounded" minOccurs="0">
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
                   </choice>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class InstanceRigidBody.TechniqueCommon.Dynamic
          Java class for anonymous complex type.
static class InstanceRigidBody.TechniqueCommon.MassFrame
          Java class for anonymous complex type.
static class InstanceRigidBody.TechniqueCommon.Shape
          Java class for anonymous complex type.
 
Field Summary
protected  List<Double> angularVelocity
           
protected  InstanceRigidBody.TechniqueCommon.Dynamic dynamic
           
protected  TargetableFloat3 inertia
           
protected  InstanceWithExtra instancePhysicsMaterial
           
protected  TargetableFloat mass
           
protected  InstanceRigidBody.TechniqueCommon.MassFrame massFrame
           
protected  PhysicsMaterial physicsMaterial
           
protected  List<InstanceRigidBody.TechniqueCommon.Shape> shape
           
protected  List<Double> velocity
           
 
Constructor Summary
InstanceRigidBody.TechniqueCommon()
           
 
Method Summary
 List<Double> getAngularVelocity()
          Gets the value of the angularVelocity property.
 InstanceRigidBody.TechniqueCommon.Dynamic getDynamic()
          Gets the value of the dynamic property.
 TargetableFloat3 getInertia()
          Gets the value of the inertia property.
 InstanceWithExtra getInstancePhysicsMaterial()
          Gets the value of the instancePhysicsMaterial property.
 TargetableFloat getMass()
          Gets the value of the mass property.
 InstanceRigidBody.TechniqueCommon.MassFrame getMassFrame()
          Gets the value of the massFrame property.
 PhysicsMaterial getPhysicsMaterial()
          Gets the value of the physicsMaterial property.
 List<InstanceRigidBody.TechniqueCommon.Shape> getShape()
          Gets the value of the shape property.
 List<Double> getVelocity()
          Gets the value of the velocity property.
 void setDynamic(InstanceRigidBody.TechniqueCommon.Dynamic value)
          Sets the value of the dynamic property.
 void setInertia(TargetableFloat3 value)
          Sets the value of the inertia property.
 void setInstancePhysicsMaterial(InstanceWithExtra value)
          Sets the value of the instancePhysicsMaterial property.
 void setMass(TargetableFloat value)
          Sets the value of the mass property.
 void setMassFrame(InstanceRigidBody.TechniqueCommon.MassFrame value)
          Sets the value of the massFrame property.
 void setPhysicsMaterial(PhysicsMaterial value)
          Sets the value of the physicsMaterial property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

angularVelocity

protected List<Double> angularVelocity

velocity

protected List<Double> velocity

dynamic

protected InstanceRigidBody.TechniqueCommon.Dynamic dynamic

mass

protected TargetableFloat mass

massFrame

protected InstanceRigidBody.TechniqueCommon.MassFrame massFrame

inertia

protected TargetableFloat3 inertia

instancePhysicsMaterial

protected InstanceWithExtra instancePhysicsMaterial

physicsMaterial

protected PhysicsMaterial physicsMaterial

shape

protected List<InstanceRigidBody.TechniqueCommon.Shape> shape
Constructor Detail

InstanceRigidBody.TechniqueCommon

public InstanceRigidBody.TechniqueCommon()
Method Detail

getAngularVelocity

public List<Double> getAngularVelocity()
Gets the value of the angularVelocity property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the angularVelocity property.

For example, to add a new item, do as follows:

    getAngularVelocity().add(newItem);
 

Objects of the following type(s) are allowed in the list Double


getVelocity

public List<Double> getVelocity()
Gets the value of the velocity property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the velocity property.

For example, to add a new item, do as follows:

    getVelocity().add(newItem);
 

Objects of the following type(s) are allowed in the list Double


getDynamic

public InstanceRigidBody.TechniqueCommon.Dynamic getDynamic()
Gets the value of the dynamic property.

Returns:
possible object is InstanceRigidBody.TechniqueCommon.Dynamic

setDynamic

public void setDynamic(InstanceRigidBody.TechniqueCommon.Dynamic value)
Sets the value of the dynamic property.

Parameters:
value - allowed object is InstanceRigidBody.TechniqueCommon.Dynamic

getMass

public TargetableFloat getMass()
Gets the value of the mass property.

Returns:
possible object is TargetableFloat

setMass

public void setMass(TargetableFloat value)
Sets the value of the mass property.

Parameters:
value - allowed object is TargetableFloat

getMassFrame

public InstanceRigidBody.TechniqueCommon.MassFrame getMassFrame()
Gets the value of the massFrame property.

Returns:
possible object is InstanceRigidBody.TechniqueCommon.MassFrame

setMassFrame

public void setMassFrame(InstanceRigidBody.TechniqueCommon.MassFrame value)
Sets the value of the massFrame property.

Parameters:
value - allowed object is InstanceRigidBody.TechniqueCommon.MassFrame

getInertia

public TargetableFloat3 getInertia()
Gets the value of the inertia property.

Returns:
possible object is TargetableFloat3

setInertia

public void setInertia(TargetableFloat3 value)
Sets the value of the inertia property.

Parameters:
value - allowed object is TargetableFloat3

getInstancePhysicsMaterial

public InstanceWithExtra getInstancePhysicsMaterial()
Gets the value of the instancePhysicsMaterial property.

Returns:
possible object is InstanceWithExtra

setInstancePhysicsMaterial

public void setInstancePhysicsMaterial(InstanceWithExtra value)
Sets the value of the instancePhysicsMaterial property.

Parameters:
value - allowed object is InstanceWithExtra

getPhysicsMaterial

public PhysicsMaterial getPhysicsMaterial()
Gets the value of the physicsMaterial property.

Returns:
possible object is PhysicsMaterial

setPhysicsMaterial

public void setPhysicsMaterial(PhysicsMaterial value)
Sets the value of the physicsMaterial property.

Parameters:
value - allowed object is PhysicsMaterial

getShape

public List<InstanceRigidBody.TechniqueCommon.Shape> getShape()
Gets the value of the shape property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the shape property.

For example, to add a new item, do as follows:

    getShape().add(newItem);
 

Objects of the following type(s) are allowed in the list InstanceRigidBody.TechniqueCommon.Shape


CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)