element HAnimSegment
diagram x3d-3.2_p84.png
type extension of X3DGroupingNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Background ColorInterpolator CoordinateInterpolator DirectionalLight Group NavigationInfo NormalInterpolator OrientationInterpolator PositionInterpolator ScalarInterpolator Shape TimeSensor Transform Viewpoint WorldInfo Anchor BooleanFilter BooleanSequencer BooleanToggle BooleanTrigger CylinderSensor Inline IntegerSequencer IntegerTrigger KeySensor PlaneSensor PointLight ProximitySensor SphereSensor SpotLight StringSensor Switch TimeTrigger TouchSensor AudioClip Billboard Collision Fog LoadSensor LocalFog LOD Script Sound VisibilitySensor CoordinateInterpolator2D PositionInterpolator2D ClipPlane EaseInEaseOut LinePickSensor PickableGroup PointPickSensor PrimitivePickSensor VolumePickSensor SplinePositionInterpolator SplinePositionInterpolator2D SplineScalarInterpolator SquadOrientationInterpolator StaticGroup CADAssembly CADLayer CADPart OrthoViewpoint ViewpointGroup ColorDamper CoordinateDamper OrientationChaser OrientationDamper PositionChaser PositionChaser2D PositionDamper PositionDamper2D ScalarChaser TexCoordDamper2D TextureBackground CollidableShape CollisionSensor RigidBodyCollection ParticleSystem TransformSensor EspduTransform ReceiverPdu SignalPdu TransmitterPdu DISEntityManager GeoLocation GeoLOD GeoMetadata GeoOrigin GeoPositionInterpolator GeoProximitySensor GeoTouchSensor GeoViewpoint GeoTransform HAnimHumanoid HAnimJoint HAnimSegment HAnimSite NurbsOrientationInterpolator NurbsPositionInterpolator NurbsSurfaceInterpolator NurbsSet ProtoInstance ROUTE ExternProtoDeclare ProtoDeclare IMPORT EXPORT HAnimDisplacer
used by
elements HAnimJoint TransformSensor
group ChildContentModelHumanoidAnimation
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
bboxCenter  SFVec3f    0 0 0    
bboxSize  boundingBoxSizeType    -1 -1 -1    
name  xs:NMTOKEN        
appinfo
name attribute is required, unless this is a USE node
mass  derived by: SFFloat    0    
centerOfMass  SFVec3f    0 0 0    
momentsOfInertia  MFFloat    0 0 0 0 0 0 0 0 0    
appinfo
<xs:minInclusive value="0"/>
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:attribute name="name" type="segmentNames"/>
<xs:element name="coord" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
<xs:element name="displacers" type="MFNode" fixed="inputOutputField" default="HAnimDisplacer"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="H-Anim"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="HAnimSegment">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="name" type="segmentNames"/>
     
<xs:element name="coord" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
     
<xs:element name="displacers" type="MFNode" fixed="inputOutputField" default="HAnimDisplacer"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="H-Anim"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/hanim.html#HAnimSegment"/>
   
<!-- H-Anim specification http://www.web3d.org/documents/specifications/19774/V1.0/HAnim/ObjectInterfaces.html#Segment -->
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DGroupingNode">
       
<xs:sequence minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>displacers</xs:documentation>
         
</xs:annotation>
         
<!-- TODO add child Coordinate SFNode? -->
         
<xs:element ref="HAnimDisplacer"/>
       
</xs:sequence>
       
<xs:attribute name="name" type="xs:NMTOKEN">
         
<xs:annotation>
           
<xs:appinfo>name attribute is required, unless this is a USE node </xs:appinfo>
           
<!-- Design note: cannot REQUIRE @name field or else USE nodes fail to validate -->
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="mass" default="0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="momentsOfInertia" type="MFFloat" default="0 0 0 0 0 0 0 0 0">
         
<xs:annotation>
           
<xs:appinfo>
             
<xs:minInclusive value="0"/>
           
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute HAnimSegment/@name
type xs:NMTOKEN
annotation
appinfo
name attribute is required, unless this is a USE node
source <xs:attribute name="name" type="xs:NMTOKEN">
 
<xs:annotation>
   
<xs:appinfo>name attribute is required, unless this is a USE node </xs:appinfo>
   
<!-- Design note: cannot REQUIRE @name field or else USE nodes fail to validate -->
 
</xs:annotation>
</xs:attribute>

attribute HAnimSegment/@mass
type restriction of SFFloat
properties
default 0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="mass" default="0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute HAnimSegment/@centerOfMass
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
source <xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 0"/>

attribute HAnimSegment/@momentsOfInertia
type MFFloat
properties
default 0 0 0 0 0 0 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern (((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?( )?(,)?( )?)*
annotation
appinfo
<xs:minInclusive value="0"/>
source <xs:attribute name="momentsOfInertia" type="MFFloat" default="0 0 0 0 0 0 0 0 0">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute HAnimSegment/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy