![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
Public メソッド | |
CRFourLegsTinyAnimalBodyGen (const CRFourLegsTinyAnimalBodyGenDesc &desc, PHSceneIf *s=NULL) | |
virtual void | Init () |
初期化を実行する | |
virtual Vec2d | GetSwingLimit () |
virtual Vec2d | GetTwistLimit () |
![]() | |
CRBodyGen (const CRBodyGenDesc &desc=CRBodyGenDesc()) | |
virtual CRBodyIf * | Generate (CRCreatureIf *crCreature) |
ボディを生成する | |
Additional Inherited Members | |
![]() | |
enum | CRTinyJointsMode { HINGE_MODE = 0, BALL_MODE } |
enum | ShapeMode { MODE_ROUNDCONE = 0, MODE_BOX, MODE_CAPSULE, MODE_SPHERE } |
![]() | |
enum Spr::CRFourLegsTinyAnimalBodyGenDesc::CRTinyJointsMode | jointType |
enum Spr::CRFourLegsTinyAnimalBodyGenDesc::ShapeMode | shapeMode |
double | bodyHeight |
体幹に関するパラメータ | |
double | bodyBreadth |
double | bodyThickness |
Vec2d | upperSizes |
Vec2d | lowerSizes |
float | upperLength |
float | lowerLength |
double | massFF |
double | massFL |
double | massRF |
double | massRL |
double | massBody |
double | springFront |
各関節のバネダンパ | |
double | damperFront |
double | springRear |
double | damperRear |
Vec2d | rangeFrontSwing |
可動域制限(BallJointの場合) | |
Vec2d | rangeFrontTwist |
Vec2d | rangeRearSwing |
Vec2d | rangeRearTwist |
Vec2d | rangeUpperFront |
可動域制限(HingeJointの場合) | |
Vec2d | rangeLowerFront |
Vec2d | rangeUpperRear |
Vec2d | rangeLowerRear |
bool | rfLeg |
bool | lfLeg |
bool | rrLeg |
bool | lrLeg |
![]() | |
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 |
ボディを構成する関節 | |