![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
Public メソッド | |
CRDebugLinkBodyGen (const CRDebugLinkBodyGenDesc &desc, PHSceneIf *s=NULL) | |
int | NBallJoints () |
int | NHingeJoints () |
![]() | |
CRBodyGen (const CRBodyGenDesc &desc=CRBodyGenDesc()) | |
virtual CRBodyIf * | Generate (CRCreatureIf *crCreature) |
ボディを生成する | |
![]() | |
CRDebugLinkBodyGenDesc (bool enableRange=false, bool enableFMax=false) | |
Additional Inherited Members | |
![]() | |
enum | CDShapeMode { MODE_SPHERE =0, MODE_CAPSULE, MODE_BOX, MODE_MIX } |
enum | PHJointMode { MODE_BALL =0, MODE_HINGE, MODE_MIXED } |
![]() | |
enum Spr::CRDebugLinkBodyGenDesc::CDShapeMode | shapeMode |
enum Spr::CRDebugLinkBodyGenDesc::PHJointMode | jointMode |
unsigned int | soNSolids |
unsigned int | joNBallJoints |
unsigned int | joNHingeJoints |
unsigned int | joNJoints |
double | radius |
サイズに関するパラメータ(radius, length) | |
double | length |
double | mass |
リンク一つの重さ | |
double | spring |
各BallJointのバネダンパ | |
double | damper |
Vec2d | range |
HingeJoint可動域制限 | |
Quaterniond | SetTargetPosition |
Vec2d | limitSwing |
BallJointのswing可動域: | |
Vec2d | limitTwist |
BallJointのtwist可動域 | |
double | fMax |
double | mu0 |
静止摩擦 | |
double | mu |
動摩擦 | |
![]() | |
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 |
ボディを構成する関節 | |