org.collada._2005._11.colladaschema
Class RigidBody.TechniqueCommon.Shape

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

public static class RigidBody.TechniqueCommon.Shape
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="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>
 


Nested Class Summary
static class RigidBody.TechniqueCommon.Shape.Hollow
          Java class for anonymous complex type.
 
Field Summary
protected  Box box
           
protected  Capsule capsule
           
protected  Cylinder cylinder
           
protected  TargetableFloat density
           
protected  List<Extra> extra
           
protected  RigidBody.TechniqueCommon.Shape.Hollow hollow
           
protected  InstanceGeometry instanceGeometry
           
protected  InstanceWithExtra instancePhysicsMaterial
           
protected  TargetableFloat mass
           
protected  PhysicsMaterial physicsMaterial
           
protected  Plane plane
           
protected  Sphere sphere
           
protected  TaperedCapsule taperedCapsule
           
protected  TaperedCylinder taperedCylinder
           
protected  List<Object> translateOrRotate
           
 
Constructor Summary
RigidBody.TechniqueCommon.Shape()
           
 
Method Summary
 Box getBox()
          Defines a box to use for this shape.
 Capsule getCapsule()
          Defines a capsule to use for this shape.
 Cylinder getCylinder()
          Defines a cyliner to use for this shape.
 TargetableFloat getDensity()
          Gets the value of the density property.
 List<Extra> getExtra()
          The extra element may appear any number of times.
 RigidBody.TechniqueCommon.Shape.Hollow getHollow()
          Gets the value of the hollow property.
 InstanceGeometry getInstanceGeometry()
          Instances a geometry to use to define this shape.
 InstanceWithExtra getInstancePhysicsMaterial()
          References a physics_material for the shape.
 TargetableFloat getMass()
          Gets the value of the mass property.
 PhysicsMaterial getPhysicsMaterial()
          Defines a physics_material for the shape.
 Plane getPlane()
          Defines a plane to use for this shape.
 Sphere getSphere()
          Defines a sphere to use for this shape.
 TaperedCapsule getTaperedCapsule()
          Defines a tapered_capsule to use for this shape.
 TaperedCylinder getTaperedCylinder()
          Defines a tapered_cylinder to use for this shape.
 List<Object> getTranslateOrRotate()
          Gets the value of the translateOrRotate property.
 void setBox(Box value)
          Defines a box to use for this shape.
 void setCapsule(Capsule value)
          Defines a capsule to use for this shape.
 void setCylinder(Cylinder value)
          Defines a cyliner to use for this shape.
 void setDensity(TargetableFloat value)
          Sets the value of the density property.
 void setHollow(RigidBody.TechniqueCommon.Shape.Hollow value)
          Sets the value of the hollow property.
 void setInstanceGeometry(InstanceGeometry value)
          Instances a geometry to use to define this shape.
 void setInstancePhysicsMaterial(InstanceWithExtra value)
          References a physics_material for the shape.
 void setMass(TargetableFloat value)
          Sets the value of the mass property.
 void setPhysicsMaterial(PhysicsMaterial value)
          Defines a physics_material for the shape.
 void setPlane(Plane value)
          Defines a plane to use for this shape.
 void setSphere(Sphere value)
          Defines a sphere to use for this shape.
 void setTaperedCapsule(TaperedCapsule value)
          Defines a tapered_capsule to use for this shape.
 void setTaperedCylinder(TaperedCylinder value)
          Defines a tapered_cylinder to use for this shape.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hollow

protected RigidBody.TechniqueCommon.Shape.Hollow hollow

mass

protected TargetableFloat mass

density

protected TargetableFloat density

instancePhysicsMaterial

protected InstanceWithExtra instancePhysicsMaterial

physicsMaterial

protected PhysicsMaterial physicsMaterial

instanceGeometry

protected InstanceGeometry instanceGeometry

plane

protected Plane plane

box

protected Box box

sphere

protected Sphere sphere

cylinder

protected Cylinder cylinder

taperedCylinder

protected TaperedCylinder taperedCylinder

capsule

protected Capsule capsule

taperedCapsule

protected TaperedCapsule taperedCapsule

translateOrRotate

protected List<Object> translateOrRotate

extra

protected List<Extra> extra
Constructor Detail

RigidBody.TechniqueCommon.Shape

public RigidBody.TechniqueCommon.Shape()
Method Detail

getHollow

public RigidBody.TechniqueCommon.Shape.Hollow getHollow()
Gets the value of the hollow property.

Returns:
possible object is RigidBody.TechniqueCommon.Shape.Hollow

setHollow

public void setHollow(RigidBody.TechniqueCommon.Shape.Hollow value)
Sets the value of the hollow property.

Parameters:
value - allowed object is RigidBody.TechniqueCommon.Shape.Hollow

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

getDensity

public TargetableFloat getDensity()
Gets the value of the density property.

Returns:
possible object is TargetableFloat

setDensity

public void setDensity(TargetableFloat value)
Sets the value of the density property.

Parameters:
value - allowed object is TargetableFloat

getInstancePhysicsMaterial

public InstanceWithExtra getInstancePhysicsMaterial()
References a physics_material for the shape.

Returns:
possible object is InstanceWithExtra

setInstancePhysicsMaterial

public void setInstancePhysicsMaterial(InstanceWithExtra value)
References a physics_material for the shape.

Parameters:
value - allowed object is InstanceWithExtra

getPhysicsMaterial

public PhysicsMaterial getPhysicsMaterial()
Defines a physics_material for the shape.

Returns:
possible object is PhysicsMaterial

setPhysicsMaterial

public void setPhysicsMaterial(PhysicsMaterial value)
Defines a physics_material for the shape.

Parameters:
value - allowed object is PhysicsMaterial

getInstanceGeometry

public InstanceGeometry getInstanceGeometry()
Instances a geometry to use to define this shape.

Returns:
possible object is InstanceGeometry

setInstanceGeometry

public void setInstanceGeometry(InstanceGeometry value)
Instances a geometry to use to define this shape.

Parameters:
value - allowed object is InstanceGeometry

getPlane

public Plane getPlane()
Defines a plane to use for this shape.

Returns:
possible object is Plane

setPlane

public void setPlane(Plane value)
Defines a plane to use for this shape.

Parameters:
value - allowed object is Plane

getBox

public Box getBox()
Defines a box to use for this shape.

Returns:
possible object is Box

setBox

public void setBox(Box value)
Defines a box to use for this shape.

Parameters:
value - allowed object is Box

getSphere

public Sphere getSphere()
Defines a sphere to use for this shape.

Returns:
possible object is Sphere

setSphere

public void setSphere(Sphere value)
Defines a sphere to use for this shape.

Parameters:
value - allowed object is Sphere

getCylinder

public Cylinder getCylinder()
Defines a cyliner to use for this shape.

Returns:
possible object is Cylinder

setCylinder

public void setCylinder(Cylinder value)
Defines a cyliner to use for this shape.

Parameters:
value - allowed object is Cylinder

getTaperedCylinder

public TaperedCylinder getTaperedCylinder()
Defines a tapered_cylinder to use for this shape.

Returns:
possible object is TaperedCylinder

setTaperedCylinder

public void setTaperedCylinder(TaperedCylinder value)
Defines a tapered_cylinder to use for this shape.

Parameters:
value - allowed object is TaperedCylinder

getCapsule

public Capsule getCapsule()
Defines a capsule to use for this shape.

Returns:
possible object is Capsule

setCapsule

public void setCapsule(Capsule value)
Defines a capsule to use for this shape.

Parameters:
value - allowed object is Capsule

getTaperedCapsule

public TaperedCapsule getTaperedCapsule()
Defines a tapered_capsule to use for this shape.

Returns:
possible object is TaperedCapsule

setTaperedCapsule

public void setTaperedCapsule(TaperedCapsule value)
Defines a tapered_capsule to use for this shape.

Parameters:
value - allowed object is TaperedCapsule

getTranslateOrRotate

public List<Object> getTranslateOrRotate()
Gets the value of the translateOrRotate 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 translateOrRotate property.

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

    getTranslateOrRotate().add(newItem);
 

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


getExtra

public List<Extra> getExtra()
The extra element may appear any number of times. Gets the value of the extra 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 extra property.

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

    getExtra().add(newItem);
 

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


CroftSoft Javadoc

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