Springhead
An open source physics engine for virtual reality, haptics and motion generation.
クラス CRFourLegsAnimalBodyGen
CRFourLegsAnimalBodyGenに対する継承グラフ

Public メソッド

 CRFourLegsAnimalBodyGen (const CRFourLegsAnimalBodyGenDesc &desc, PHSceneIf *s=NULL)
 
virtual Vec3d GetUpperCenterOfMass ()
 
virtual int NBallJoints ()
 
virtual int NHingeJoints ()
 
virtual double VSolid (int i)
 
virtual double VSolids ()
 
virtual double GetTotalMass ()
 
virtual void SetTotalMass (double value)
 
virtual double GetLegLength (int i)
 
- Public メソッド inherited from CRBodyGen
 CRBodyGen (const CRBodyGenDesc &desc=CRBodyGenDesc())
 
virtual CRBodyIfGenerate (CRCreatureIf *crCreature)
 ボディを生成する
 
- Public メソッド inherited from CRFourLegsAnimalBodyGenDesc
 CRFourLegsAnimalBodyGenDesc (bool enableRange=false, bool enableFMax=false)
 

Additional Inherited Members

- Public 型 inherited from CRFourLegsAnimalBodyGenDesc
enum  CRAnimalSolids {
  SO_WAIST =0, SO_CHEST, SO_TAIL1, SO_TAIL2,
  SO_TAIL3, SO_NECK, SO_HEAD, SO_LEFT_BREASTBONE,
  SO_LEFT_RADIUS, SO_LEFT_FRONT_CANNON_BONE, SO_LEFT_FRONT_TOE, SO_LEFT_FEMUR,
  SO_LEFT_TIBIA, SO_LEFT_REAR_CANNON_BONE, SO_LEFT_REAR_TOE, SO_RIGHT_BREASTBONE,
  SO_RIGHT_RADIUS, SO_RIGHT_FRONT_CANNON_BONE, SO_RIGHT_FRONT_TOE, SO_RIGHT_FEMUR,
  SO_RIGHT_TIBIA, SO_RIGHT_REAR_CANNON_BONE, SO_RIGHT_REAR_TOE, SO_NSOLIDS
}
 
enum  CRAnimalJoints {
  JO_WAIST_CHEST =0, JO_CHEST_NECK, JO_NECK_HEAD, JO_WAIST_TAIL,
  JO_TAIL_12, JO_TAIL_23, JO_LEFT_SHOULDER, JO_LEFT_ELBOW,
  JO_LEFT_FRONT_KNEE, JO_LEFT_FRONT_ANKLE, JO_LEFT_HIP, JO_LEFT_STIFLE,
  JO_LEFT_REAR_KNEE, JO_LEFT_REAR_ANKLE, JO_RIGHT_SHOULDER, JO_RIGHT_ELBOW,
  JO_RIGHT_FRONT_KNEE, JO_RIGHT_FRONT_ANKLE, JO_RIGHT_HIP, JO_RIGHT_STIFLE,
  JO_RIGHT_REAR_KNEE, JO_RIGHT_REAR_ANKLE, JO_NJOINTS
}
 
enum  CRAnimalLegs { LEG_RIGHT_FRONT =0, LEG_LEFT_FRONT, LEG_RIGHT_REAR, LEG_LEFT_REAR }
 
- Public 変数 inherited from CRFourLegsAnimalBodyGenDesc
int joNBallJoints
 
int joNHingeJoints
 
double waistBreadth
 サイズに関するパラメータ
 
double waistHeight
 
double waistThickness
 
double chestBreadth
 
double chestHeight
 
double chestThickness
 
double tailBreadth
 
double tailHeight
 
double tailThickness
 
double neckBreadth
 
double neckHeight
 
double neckThickness
 
double headBreadth
 
double headHeight
 
double headThickness
 
double breastboneBreadth
 
double breastboneHeight
 
double breastboneThickness
 
double radiusBreadth
 
double radiusHeight
 
double radiusThickness
 
double frontCannonBoneBreadth
 
double frontCannonBoneHeight
 
double frontCannonBoneThickness
 
double frontToeBreadth
 
double frontToeHeight
 
double frontToeThickness
 
double femurBreadth
 
double femurHeight
 
double femurThickness
 
double tibiaBreadth
 
double tibiaHeight
 
double tibiaThickness
 
double rearCannonBoneBreadth
 
double rearCannonBoneHeight
 
double rearCannonBoneThickness
 
double rearToeBreadth
 
double rearToeHeight
 
double rearToeThickness
 
double springWaistChest
 各BallJointのバネダンパ
 
double damperWaistChest
 
double springWaistTail
 
double damperWaistTail
 
double springTail
 
double damperTail
 
double springChestNeck
 
double damperChestNeck
 
double springNeckHead
 
double damperNeckHead
 
double springShoulder
 
double damperShoulder
 
double springFrontAnkle
 
double damperFrontAnkle
 
double springHip
 
double damperHip
 
double springRearAnkle
 
double damperRearAnkle
 
double springElbow
 
double damperElbow
 
double springFrontKnee
 
double damperFrontKnee
 
double springStifle
 
double damperStifle
 
double springRearKnee
 
double damperRearKnee
 
Vec2d rangeElbow
 HingeJoint可動域制限
 
Vec2d rangeFrontKnee
 
Vec2d rangeStifle
 
Vec2d rangeRearKnee
 
Quaterniond goalWaistChest
 
Quaterniond goalWaistTail
 
Quaterniond goalTail
 
Quaterniond goalChestNeck
 
Quaterniond goalNeckHead
 
Quaterniond goalShoulder
 
Quaterniond goalFrontAnkle
 
Quaterniond goalHip
 
Quaterniond goalRearAnkle
 
double originElbow
 
double originFrontKnee
 
double originStifle
 
double originRearKnee
 
Vec3d limitDirWaistChest
 
Vec3d limitDirWaistTail
 
Vec3d limitDirTail
 
Vec3d limitDirChestNeck
 
Vec3d limitDirNeckHead
 
Vec3d limitDirShoulder
 
Vec3d limitDirFrontAnkle
 
Vec3d limitDirHip
 
Vec3d limitDirRearAnkle
 
Vec2d limitSwingWaistChest
 BallJointのswing可動域:
 
Vec2d limitSwingWaistTail
 
Vec2d limitSwingTail
 
Vec2d limitSwingChestNeck
 
Vec2d limitSwingNeckHead
 
Vec2d limitSwingShoulder
 
Vec2d limitSwingFrontAnkle
 
Vec2d limitSwingHip
 
Vec2d limitSwingRearAnkle
 
Vec2d limitTwistWaistChest
 BallJointのtwist可動域
 
Vec2d limitTwistWaistTail
 
Vec2d limitTwistTail
 
Vec2d limitTwistChestNeck
 
Vec2d limitTwistNeckHead
 
Vec2d limitTwistShoulder
 
Vec2d limitTwistFrontAnkle
 
Vec2d limitTwistHip
 
Vec2d limitTwistRearAnkle
 
double fMaxWaistChest
 
double fMaxChestNeck
 
double fMaxNeckHead
 
double fMaxWaistTail
 
double fMaxTail12
 
double fMaxTail23
 
double fMaxLeftShoulder
 
double fMaxLeftElbow
 
double fMaxLeftFrontKnee
 
double fMaxLeftFrontAnkle
 
double fMaxLeftHip
 
double fMaxLeftStifle
 
double fMaxLeftRearKnee
 
double fMaxLeftRearAnkle
 
double fMaxRightShoulder
 
double fMaxRightElbow
 
double fMaxRightFrontKnee
 
double fMaxRightFrontAnkle
 
double fMaxRightHip
 
double fMaxRightStifle
 
double fMaxRightRearKnee
 
double fMaxRightRearAnkle
 
float materialMu
 
bool noLegs
 裏オプション
 
bool noHead
 
bool dynamicalMode
 ダイナミカルを入れるかどうか
 
double totalMass
 全体の体重
 
bool flagFMax
 fMaxを入れるかどうか
 
bool flagRange
 稼働域制限を入れるかどうか
 
- Protected 型 inherited from CRBodyGen
enum  LREnum { LEFTPART =-1, RIGHTPART =+1 }
 
- Protected メソッド inherited from CRBodyGen
CRBoneIfCreateJoint (CRBoneIf *soChild, CRBoneIf *soParent, const PHHingeJointDesc &desc)
 関節を作る
 
CRBoneIfCreateJoint (CRBoneIf *soChild, CRBoneIf *soParent, const PHBallJointDesc &desc)
 
CRBoneIfCreateSolid (const PHSolidDesc &desc)
 剛体を作る
 
void SetInitPosition (PHSolidIf *parentSolid, PHJointIf *childJoint)
 すべての剛体の初期姿勢を目標角に収束したものとして初期化する
 
- Protected 変数 inherited from CRBodyGen
CRCreatureIfcrCreature
 
CRBodyIfcrBody
 
std::vector< UTRef< CRBoneIf > > solids
 ボディを構成する剛体
 
std::vector< UTRef< CRBoneIf > > joints
 ボディを構成する関節
 

このクラスの説明は次のファイルから生成されました: