| 1 |
HAnimDisplacer : X3DGeometricPropertyNode { |
| 2 |
default-container-field: displacers |
| 3 |
|
| 4 |
MFInt32 [in,out] coordIndex [] |
| 5 |
range: [0,Inf) or -1 |
| 6 |
SFString [in,out] description "" |
| 7 |
change: chNone |
| 8 |
MFVec3f [in,out] displacements [] |
| 9 |
SFString [in,out] name "" |
| 10 |
SFFloat [in,out] weight 0.0 |
| 11 |
range: (-Inf,Inf) |
| 12 |
} |
| 13 |
|
| 14 |
HAnimHumanoid : X3DChildNode, X3DBoundedObject { |
| 15 |
SFVec3f [in,out] center 0 0 0 |
| 16 |
range: (-Inf,Inf) |
| 17 |
change: chTransform |
| 18 |
SFString [in,out] description "" |
| 19 |
change: chNone |
| 20 |
MFString [in,out] info [] |
| 21 |
MFNode [in,out] joints [] |
| 22 |
range: HAnimJoint |
| 23 |
MFVec3f [in,out] jointBindingPositions [] |
| 24 |
MFRotation [in,out] jointBindingRotations [] |
| 25 |
MFVec3f [in,out] jointBindingScales [] |
| 26 |
SFInt32 [in,out] loa -1 |
| 27 |
MFNode [in,out] motions [] |
| 28 |
range: HAnimMotion |
| 29 |
MFBool [in,out] motionsEnabled [] |
| 30 |
SFString [in,out] name "" |
| 31 |
SFRotation [in,out] rotation 0 0 1 0 |
| 32 |
range: (-Inf,Inf)|[-1,1] |
| 33 |
change: chTransform |
| 34 |
SFVec3f [in,out] scale 1 1 1 |
| 35 |
range: (0,Inf) |
| 36 |
change: chTransform |
| 37 |
SFRotation [in,out] scaleOrientation 0 0 1 0 |
| 38 |
range: (-Inf,Inf)|[-1,1] |
| 39 |
change: chTransform |
| 40 |
MFNode [in,out] segments [] |
| 41 |
range: HAnimSegment |
| 42 |
MFNode [in,out] sites [] |
| 43 |
range: HAnimSite |
| 44 |
SFString [in,out] skeletalConfiguration "BASIC" |
| 45 |
MFNode [in,out] skeleton [] |
| 46 |
range: HAnimJoint, HAnimSite |
| 47 |
MFNode [in,out] skin [] |
| 48 |
range: X3DChildNode |
| 49 |
SFNode [in,out] skinBindingCoord NULL |
| 50 |
range: X3DCoordinateNode |
| 51 |
SFNode [in,out] skinBindingNormal NULL |
| 52 |
range: X3DNormalNode |
| 53 |
SFNode [in,out] skinCoord NULL |
| 54 |
range: X3DCoordinateNode |
| 55 |
SFNode [in,out] skinNormal NULL |
| 56 |
range: X3DNormalNode |
| 57 |
SFVec3f [in,out] translation 0 0 0 |
| 58 |
range: (-Inf,Inf) |
| 59 |
change: chTransform |
| 60 |
SFString [in,out] version "" |
| 61 |
MFNode [in,out] viewpoints [] |
| 62 |
# X3D specificaion indicates that HAnimSite is allowed here, |
| 63 |
# but textual description in HAnim specification indicates that |
| 64 |
# it's an error: viewpoints should be allowed here. |
| 65 |
# Confirmed by testing models from |
| 66 |
# http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/ |
| 67 |
range: HAnimSite, X3DViewpointNode, ViewpointGroup |
| 68 |
SFVec3f [] bboxCenter 0 0 0 |
| 69 |
range: (-Inf,Inf) |
| 70 |
SFVec3f [] bboxSize -1 -1 -1 |
| 71 |
range: [0,Inf) or -1 -1 -1 |
| 72 |
} |
| 73 |
|
| 74 |
HAnimJoint : X3DGroupingNode { |
| 75 |
SFVec3f [in,out] center 0 0 0 |
| 76 |
range: (-Inf,Inf) |
| 77 |
change: chTransform |
| 78 |
SFString [in,out] description "" |
| 79 |
change: chNone |
| 80 |
MFNode [in,out] displacers [] |
| 81 |
range: HAnimDisplacer |
| 82 |
SFRotation [in,out] limitOrientation 0 0 1 0 |
| 83 |
range: (-Inf,Inf)|[-1,1] |
| 84 |
MFFloat [in,out] llimit [] |
| 85 |
range: (-Inf,Inf) |
| 86 |
SFString [in,out] name "" |
| 87 |
SFRotation [in,out] rotation 0 0 1 0 |
| 88 |
range: (-Inf,Inf)|[-1,1] |
| 89 |
change: chTransform |
| 90 |
SFVec3f [in,out] scale 1 1 1 |
| 91 |
range: (0,Inf) |
| 92 |
change: chTransform |
| 93 |
SFRotation [in,out] scaleOrientation 0 0 1 0 |
| 94 |
range: (-Inf,Inf)|[-1,1] |
| 95 |
change: chTransform |
| 96 |
MFInt32 [in,out] skinCoordIndex [] |
| 97 |
MFFloat [in,out] skinCoordWeight [] |
| 98 |
MFFloat [in,out] stiffness [0, 0, 0] |
| 99 |
range: [0,1] |
| 100 |
SFVec3f [in,out] translation 0 0 0 |
| 101 |
range: (-Inf,Inf) |
| 102 |
change: chTransform |
| 103 |
MFFloat [in,out] ulimit [] |
| 104 |
range: (-Inf,Inf) |
| 105 |
} |
| 106 |
|
| 107 |
# Note: default-container-field for HAnimMotion |
| 108 |
# (not specified, but inherited from X3DChildNode) is ignored |
| 109 |
# when reading / writing X3D. We use instead |
| 110 |
# THAnimMotionNode.DefaultContainerFieldInContext |
| 111 |
# to account for the fact that containerField depends on parent, |
| 112 |
# see https://github.com/castle-engine/castle-model-viewer/issues/69 . |
| 113 |
|
| 114 |
HAnimMotion : X3DChildNode { |
| 115 |
SFBool [in] next |
| 116 |
SFBool [in] previous |
| 117 |
SFString [in,out] channels "" |
| 118 |
MFBool [in,out] channelsEnabled [] |
| 119 |
SFString [in,out] description "" |
| 120 |
SFBool [in,out] enabled TRUE |
| 121 |
SFInt32 [in,out] endFrame 0 |
| 122 |
range: [0,Inf) |
| 123 |
SFTime [in,out] frameDuration 0.1 |
| 124 |
range: (0,Inf) |
| 125 |
SFInt32 [in,out] frameIncrement 1 |
| 126 |
range: (-Inf,Inf) |
| 127 |
SFInt32 [in,out] frameIndex 0 |
| 128 |
range: [0,Inf) |
| 129 |
SFString [in,out] joints "" |
| 130 |
SFInt32 [in,out] loa -1 |
| 131 |
range: [-1,4] |
| 132 |
SFBool [in,out] loop FALSE |
| 133 |
SFString [in,out] name "" |
| 134 |
SFInt32 [in,out] startFrame 0 |
| 135 |
range: [0,Inf) |
| 136 |
MFFloat [in,out] values [] |
| 137 |
range: (-Inf,Inf) |
| 138 |
SFTime [out] cycleTime |
| 139 |
SFTime [out] elapsedTime |
| 140 |
range: (0,Inf) |
| 141 |
SFInt32 [out] frameCount |
| 142 |
range: [0,Inf) |
| 143 |
} |
| 144 |
|
| 145 |
HAnimSegment : X3DGroupingNode { |
| 146 |
SFVec3f [in,out] centerOfMass 0 0 0 |
| 147 |
range: (-Inf,Inf) |
| 148 |
SFNode [in,out] coord NULL |
| 149 |
range: X3DCoordinateNode |
| 150 |
SFString [in,out] description "" |
| 151 |
change: chNone |
| 152 |
MFNode [in,out] displacers [] |
| 153 |
range: HAnimDisplacer |
| 154 |
SFFloat [in,out] mass 0 |
| 155 |
range: [0,Inf) |
| 156 |
MFFloat [in,out] momentsOfInertia [0, 0, 0, 0, 0, 0, 0, 0, 0] |
| 157 |
range: [0,Inf) |
| 158 |
SFString [in,out] name "" |
| 159 |
|
| 160 |
# Segment.rotation, scale, translation are extensions of Blaxxun |
| 161 |
# avatars, at least that's what |
| 162 |
# http://tecfa.unige.ch/vrml/objects/avatars/blaxxun/ suggests. |
| 163 |
# They are not conforming to HAnim 1.0 or 200x specification. |
| 164 |
SFRotation [in,out] rotation 0 0 1 0 |
| 165 |
range: (-Inf,Inf)|[-1,1] |
| 166 |
change: chTransform |
| 167 |
SFVec3f [in,out] scale 1 1 1 |
| 168 |
range: (0,Inf) |
| 169 |
change: chTransform |
| 170 |
SFVec3f [in,out] translation 0 0 0 |
| 171 |
range: (-Inf,Inf)|[-1,1] |
| 172 |
change: chTransform |
| 173 |
} |
| 174 |
|
| 175 |
HAnimSite : X3DGroupingNode { |
| 176 |
SFVec3f [in,out] center 0 0 0 |
| 177 |
range: (-Inf,Inf) |
| 178 |
change: chTransform |
| 179 |
SFString [in,out] description "" |
| 180 |
change: chNone |
| 181 |
SFString [in,out] name "" |
| 182 |
SFRotation [in,out] rotation 0 0 1 0 |
| 183 |
range: (-Inf,Inf)|[-1,1] |
| 184 |
change: chTransform |
| 185 |
SFVec3f [in,out] scale 1 1 1 |
| 186 |
range: (0,Inf) |
| 187 |
change: chTransform |
| 188 |
SFRotation [in,out] scaleOrientation 0 0 1 0 |
| 189 |
range: (-Inf,Inf)|[-1,1] |
| 190 |
change: chTransform |
| 191 |
SFVec3f [in,out] translation 0 0 0 |
| 192 |
range: (-Inf,Inf)|[-1,1] |
| 193 |
change: chTransform |
| 194 |
} |