![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
1自由度人体関節特性抵抗モータ
#include <PHJointMotor.h>

Public メソッド | |
| SPR_OBJECTDEF (PHHuman1DJointResistance) | |
| PHHuman1DJointResistance (const PHHuman1DJointResistanceDesc &desc=PHHuman1DJointResistanceDesc()) | |
| double | GetCurrentResistance () |
Public メソッド inherited from PH1DJointNonLinearMotor | |
| SPR_OBJECTDEF (PH1DJointNonLinearMotor) | |
| ACCESS_DESC (PH1DJointNonLinearMotor) | |
| PH1DJointNonLinearMotor (const PH1DJointNonLinearMotorDesc &desc=PH1DJointNonLinearMotorDesc()) | |
| void | SetSpring (FunctionMode m, void *param) |
| void | SetDamper (FunctionMode m, void *param) |
| void | SetSpringDamper (FunctionMode smode, FunctionMode dmode, void *sparam, void *dparam) |
| virtual PTM::TVector< 1, double > | GetPropV () |
| propVを計算する(位置差分) | |
| virtual void | GetParams (PHNDJointMotorParam< 1 > &p) |
| パラメータを取得する | |
Public メソッド inherited from PH1DJointMotor | |
| SPR_OBJECTDEF (PH1DJointMotor) | |
| PH1DJointMotor (const PH1DJointMotorDesc &desc=PH1DJointMotorDesc()) | |
| コンストラクタ | |
| virtual void | SetParams (PHNDJointMotorParam< 1 > &p) |
| パラメータを反映する | |
Public メソッド inherited from SceneObject | |
| virtual void | SetScene (SceneIf *s) |
| virtual SceneIf * | GetScene () const |
| virtual SceneObjectIf * | CloneObject () |
Public メソッド inherited from NamedObject | |
| NamedObject (const NamedObject &n) | |
| NamedObject & | operator= (const NamedObject &n) |
| virtual const char * | GetName () const |
| 名前の取得 | |
| virtual void | SetName (const char *n) |
| 名前の設定 | |
| virtual void | SetNameManager (NameManagerIf *s) |
| NameManagerを設定 | |
| virtual NameManagerIf * | GetNameManager () const |
| NameManagerの取得 | |
Public メソッド inherited from Object | |
| SPR_OBJECTDEF (Object) | |
| クラス名の取得などの基本機能の実装 | |
| ObjectIf * | GetObjectIf () |
| const ObjectIf * | GetObjectIf () const |
| virtual void | Print (std::ostream &os) const |
| デバッグ用の表示 | |
| virtual void | PrintShort (std::ostream &os) const |
| virtual ObjectIf * | CreateObject (const IfInfo *info, const void *desc) |
| オブジェクトの作成 | |
| virtual size_t | NChildObject () const |
| 子オブジェクトの数 | |
| virtual ObjectIf * | GetChildObject (size_t pos) |
| 子オブジェクトの取得 | |
| virtual const ObjectIf * | GetChildObject (size_t pos) const |
| virtual bool | AddChildObject (ObjectIf *o) |
| 子オブジェクトの追加 | |
| virtual bool | DelChildObject (ObjectIf *o) |
| 子オブジェクトの削除 | |
| virtual void | Clear () |
| すべての子オブジェクトの削除とプロパティのクリア | |
| virtual void | Loaded (UTLoadContext *) |
| ファイルロード後に一度呼ばれる。ノードの設定に使う。 呼び出し順序に依存する処理がしたい場合は、UTLoadHandeler と UTLoadTask を使うと良い。 | |
| virtual void | Setup () |
| ノードの設定をするための関数 | |
| virtual bool | GetDesc (void *desc) const |
| デスクリプタの読み出し(コピー版) | |
| virtual void | SetDesc (const void *desc) |
| デスクリプタの設定 | |
| virtual const void * | GetDescAddress () const |
| デスクリプタの読み出し(参照版) | |
| virtual size_t | GetDescSize () const |
| デスクリプタのサイズ | |
| virtual bool | GetState (void *state) const |
| 状態の読み出し(コピー版) | |
| virtual const void * | GetStateAddress () const |
| 状態の読み出し(参照版) | |
| virtual void | GetStateR (char *&state) |
| 状態の再帰的な読み出し | |
| virtual void | SetState (const void *state) |
| 状態の設定 | |
| virtual void | SetStateR (const char *&state) |
| 状態の再帰的な設定 | |
| virtual bool | WriteStateR (std::ostream &fout) |
| 状態のファイルへの書き出し | |
| virtual bool | WriteState (std::string fileName) |
| virtual bool | ReadStateR (std::istream &fin) |
| 状態の読み込み | |
| virtual bool | ReadState (std::string fileName) |
| virtual size_t | GetStateSize () const |
| 状態のサイズ | |
| virtual void | ConstructState (void *m) const |
| メモリブロックを状態型に初期化 | |
| virtual void | DestructState (void *m) const |
| 状態型をメモリブロックに戻す | |
| virtual void | DumpObjectR (std::ostream &os, int level=0) const |
| メモリデバッグ用。単純にツリーのオブジェクトをファイルにダンプする。 | |
Public メソッド inherited from PHNDJointMotor< 1 > | |
| PHNDJointMotor () | |
| コンストラクタ | |
| virtual void | SetupAxisIndex () |
| virtual void | Setup () |
| 速度LCPの前処理 | |
| virtual bool | Iterate () |
| 速度LCP(GS)の繰り返し計算 | |
| virtual void | CompResponse (double df, int i) |
| void | CompBiasElastic () |
| 弾性変形用のCompBias | |
| void | CompBiasPlastic () |
| 塑性変形用のCompBias | |
| void | CheckYielded () |
| 降伏したかどうか | |
| virtual void | GetParams (PHNDJointMotorParam< NDOF > &p) |
| パラメータを取得する | |
| virtual void | SetParams (PHNDJointMotorParam< NDOF > &p) |
| パラメータを反映する | |
Public メソッド inherited from PHConstraintBase | |
| virtual void | SetupCorrection () |
| 位置LCPの前処理 | |
| virtual bool | IterateCorrection () |
| 位置LCP(GS)の繰り返し計算 | |
| virtual void | CompResponseMatrix () |
Public メソッド inherited from PH1DJointMotorDesc | |
| SPR_DESCDEF (PH1DJointMotor) | |
Public 変数 | |
| SPR_DECLMEMBEROF_PHHuman1DJointResistanceDesc | |
Public 変数 inherited from PH1DJointNonLinearMotor | |
| FunctionMode | springMode |
| FunctionMode | damperMode |
| void * | springParam |
| void * | damperParam |
| double | targetPos |
| double | offset |
Public 変数 inherited from PH1DJointMotor | |
| SPR_DECLMEMBEROF_PH1DJointMotorDesc | |
Public 変数 inherited from PHNDJointMotor< 1 > | |
| PHJoint * | joint |
| コントロールの対象となる関節 | |
| VecNd | fMinDt |
| VecNd | fMaxDt |
| 現在のばね部の距離(三要素モデル用) | |
| SpatialVector | newXs |
Public 変数 inherited from PHConstraintBase | |
| SpatialVector | b |
| SpatialVector | db |
| SpatialVector | B |
| SpatialVector | A |
| SpatialVector | dA |
| SpatialVector | Ainv |
| SpatialVector | f |
| SpatialVector | F |
| SpatialVector | fnew |
| SpatialVector | Fnew |
| SpatialVector | df |
| SpatialVector | dv |
| SpatialVector | dF |
| SpatialVector | dV |
| SpatialVector | res |
| AxisIndex< 6 > | axes |
| 拘束軸管理クラス | |
| bool | dv_changed [6] |
| bool | dv_changed_next [6] |
Additional Inherited Members | |
Public 型 inherited from PHNDJointMotor< 1 > | |
|
typedef PTM::TVector< NDOF, double > | VecNd |
Public 型 inherited from PH1DJointNonLinearMotorDesc | |
| enum | FunctionMode { LINEAR, HUMANJOINTRESITANCE } |
Protected メソッド inherited from NamedObject | |
| virtual void | PrintHeader (std::ostream &os, bool bClose) const |
| 開き括弧 | |
Protected メソッド inherited from Object | |
| virtual void | PrintChildren (std::ostream &os) const |
| 子オブジェクトをPrint | |
| virtual void | PrintFooter (std::ostream &os) const |
| 閉じ括弧 | |
| virtual void | BeforeGetDesc () const |
| GetDesc()の前に呼ばれる | |
| virtual void | AfterSetDesc () |
| SetDesc()のあとに呼ばれる | |
Static Protected メソッド inherited from Object | |
| static void | ConstructState (ObjectIf *o, char *&s) |
| sをoのStateとして初期化する. | |
| static void | DestructState (ObjectIf *o, char *&s) |
| sをoのStateからメモリブロックに戻す. | |
Protected 変数 inherited from NamedObject | |
| UTString | name |
| 名前 | |
| NameManager * | nameManager |
| 名前の検索や重複管理をするもの.SceneやSDKなど. | |