![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
Public メソッド | |
CRHingeHumanBodyGen (const CRHingeHumanBodyGenDesc &desc, PHSceneIf *s=NULL) | |
virtual void | Init () |
初期化を実行する | |
virtual void | SetUpperBodyStiffness (float stiffness) |
上半身の関節の堅さを変える [詳細] | |
virtual void | KeepUpperBodyPose () |
上半身のポーズを保持する | |
virtual void | ResetUpperBodyPose () |
上半身のポーズを初期位置に戻す | |
![]() | |
CRBodyGen (const CRBodyGenDesc &desc=CRBodyGenDesc()) | |
virtual CRBodyIf * | Generate (CRCreatureIf *crCreature) |
ボディを生成する | |
Additional Inherited Members | |
![]() | |
enum | CRHumanSolids { SO_WAIST =0, SO_ABDOMEN, SO_CHEST, SO_NECK, SO_HEAD, SO_RIGHT_UPPER_ARM, SO_RIGHT_LOWER_ARM, SO_RIGHT_HAND, SO_RIGHT_UPPER_LEG, SO_RIGHT_LOWER_LEG, SO_RIGHT_FOOT, SO_RIGHT_EYE, SO_LEFT_UPPER_ARM, SO_LEFT_LOWER_ARM, SO_LEFT_HAND, SO_LEFT_UPPER_LEG, SO_LEFT_LOWER_LEG, SO_LEFT_FOOT, SO_LEFT_EYE, SO_CHEST_NECK_XZ, SO_CHEST_NECK_ZY, SO_NECK_HEAD_XZ, SO_RIGHT_SHOULDER_ZX, SO_RIGHT_SHOULDER_XY, SO_RIGHT_WRIST_YX, SO_RIGHT_WRIST_XZ, SO_RIGHT_WAIST_LEG_ZX, SO_RIGHT_WAIST_LEG_XY, SO_RIGHT_ANKLE_YX, SO_RIGHT_ANKLE_XZ, SO_RIGHT_EYE_YX, SO_LEFT_SHOULDER_ZX, SO_LEFT_SHOULDER_XY, SO_LEFT_WRIST_YX, SO_LEFT_WRIST_XZ, SO_LEFT_WAIST_LEG_ZX, SO_LEFT_WAIST_LEG_XY, SO_LEFT_ANKLE_YX, SO_LEFT_ANKLE_XZ, SO_LEFT_EYE_YX, SO_NSOLIDS } |
enum | CRHumanJoints { JO_WAIST_ABDOMEN =0, JO_ABDOMEN_CHEST, JO_CHEST_NECK_X, JO_CHEST_NECK_Z, JO_CHEST_NECK_Y, JO_NECK_HEAD_X, JO_NECK_HEAD_Z, JO_RIGHT_SHOULDER_Z, JO_RIGHT_SHOULDER_X, JO_RIGHT_SHOULDER_Y, JO_RIGHT_ELBOW, JO_RIGHT_WRIST_Y, JO_RIGHT_WRIST_X, JO_RIGHT_WRIST_Z, JO_RIGHT_WAIST_LEG_Z, JO_RIGHT_WAIST_LEG_X, JO_RIGHT_WAIST_LEG_Y, JO_RIGHT_KNEE, JO_RIGHT_ANKLE_Y, JO_RIGHT_ANKLE_X, JO_RIGHT_ANKLE_Z, JO_RIGHT_EYE_Y, JO_RIGHT_EYE_X, JO_LEFT_SHOULDER_Z, JO_LEFT_SHOULDER_X, JO_LEFT_SHOULDER_Y, JO_LEFT_ELBOW, JO_LEFT_WRIST_Y, JO_LEFT_WRIST_X, JO_LEFT_WRIST_Z, JO_LEFT_WAIST_LEG_Z, JO_LEFT_WAIST_LEG_X, JO_LEFT_WAIST_LEG_Y, JO_LEFT_KNEE, JO_LEFT_ANKLE_Y, JO_LEFT_ANKLE_X, JO_LEFT_ANKLE_Z, JO_LEFT_EYE_Y, JO_LEFT_EYE_X, JO_NJOINTS } |
![]() | |
double | bodyMass |
体重 | |
double | waistHeight |
サイズに関するパラメータ | |
double | waistBreadth |
double | waistThickness |
double | abdomenHeight |
double | abdomenBreadth |
double | abdomenThickness |
double | chestHeight |
double | chestBreadth |
double | chestThickness |
double | neckLength |
double | neckDiameter |
double | headDiameter |
double | upperArmLength |
double | upperArmDiameter |
double | lowerArmLength |
double | lowerArmDiameter |
double | handLength |
double | handBreadth |
double | handThickness |
double | upperLegLength |
double | upperLegDiameter |
double | interLegDistance |
double | lowerLegLength |
double | lowerLegDiameter |
double | footLength |
double | footBreadth |
double | footThickness |
double | ankleToeDistance |
double | vertexToEyeHeight |
double | occiputToEyeDistance |
double | eyeDiameter |
double | interpupillaryBreadth |
double | spring |
関節バネダンパ係数 | |
double | damper |
double | springWaistAbdomen |
各関節のバネダンパ | |
double | damperWaistAbdomen |
double | springAbdomenChest |
double | damperAbdomenChest |
double | springChestNeckX |
double | damperChestNeckX |
double | springChestNeckY |
double | damperChestNeckY |
double | springChestNeckZ |
double | damperChestNeckZ |
double | springNeckHeadX |
double | damperNeckHeadX |
double | springNeckHeadZ |
double | damperNeckHeadZ |
double | springShoulderZ |
double | damperShoulderZ |
double | springShoulderX |
double | damperShoulderX |
double | springShoulderY |
double | damperShoulderY |
double | springElbow |
double | damperElbow |
double | springWristY |
double | damperWristY |
double | springWristX |
double | damperWristX |
double | springWristZ |
double | damperWristZ |
double | springWaistLegZ |
double | damperWaistLegZ |
double | springWaistLegX |
double | damperWaistLegX |
double | springWaistLegY |
double | damperWaistLegY |
double | springKnee |
double | damperKnee |
double | springAnkleY |
double | damperAnkleY |
double | springAnkleX |
double | damperAnkleX |
double | springAnkleZ |
double | damperAnkleZ |
double | springEyeY |
double | damperEyeY |
double | springEyeX |
double | damperEyeX |
Vec3d | posRightUpperArm |
関節取り付け角度・位置 | |
Quaterniond | oriRightUpperArm |
Quaterniond | oriRightLowerArm |
Quaterniond | oriRightHand |
Vec2d | rangeWaistAbdomen |
可動域制限 | |
Vec2d | rangeAbdomenChest |
Vec2d | rangeChestNeckX |
Vec2d | rangeChestNeckY |
Vec2d | rangeChestNeckZ |
Vec2d | rangeNeckHeadX |
Vec2d | rangeNeckHeadZ |
Vec2d | rangeShoulderZ |
Vec2d | rangeShoulderX |
Vec2d | rangeShoulderY |
Vec2d | rangeElbow |
Vec2d | rangeWristY |
Vec2d | rangeWristX |
Vec2d | rangeWristZ |
Vec2d | rangeWaistLegZ |
Vec2d | rangeWaistLegX |
Vec2d | rangeWaistLegY |
Vec2d | rangeKnee |
Vec2d | rangeAnkleY |
Vec2d | rangeAnkleX |
Vec2d | rangeAnkleZ |
Vec2d | rangeRightEyeY |
Vec2d | rangeEyeX |
bool | noLegs |
裏オプション | |
![]() | |
enum | LREnum { LEFTPART =-1, RIGHTPART =+1 } |
![]() | |
CRBoneIf * | CreateJoint (CRBoneIf *soChild, CRBoneIf *soParent, const PHHingeJointDesc &desc) |
関節を作る | |
CRBoneIf * | CreateJoint (CRBoneIf *soChild, CRBoneIf *soParent, const PHBallJointDesc &desc) |
CRBoneIf * | CreateSolid (const PHSolidDesc &desc) |
剛体を作る | |
void | SetInitPosition (PHSolidIf *parentSolid, PHJointIf *childJoint) |
すべての剛体の初期姿勢を目標角に収束したものとして初期化する | |
![]() | |
CRCreatureIf * | crCreature |
CRBodyIf * | crBody |
std::vector< UTRef< CRBoneIf > > | solids |
ボディを構成する剛体 | |
std::vector< UTRef< CRBoneIf > > | joints |
ボディを構成する関節 | |
|
virtual |
stifness | 堅さ:デフォルトの堅さに対する倍数で指定 |