![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|

Public メソッド | |
| SPR_OBJECTDEF (FWWin) | |
| FWDialogIf * | CreateDialog (const FWDialogDesc &desc) |
| void | CalcViewport (int &left, int &top, int &width, int &height) |
| void | SetFullScreen () |
| bool | GetFullScreen () |
| virtual void | SetPosition (int left, int top) |
| virtual void | SetSize (int width, int height) |
| GRRenderIf * | GetRender () |
| void | SetRender (GRRenderIf *data) |
| FWSceneIf * | GetScene () |
| void | SetScene (FWSceneIf *s) |
| DVKeyMouseIf * | GetKeyMouse () |
| void | SetKeyMouse (DVKeyMouseIf *dv) |
| DVJoyStickIf * | GetJoyStick () |
| void | SetJoyStick (DVJoyStickIf *dv) |
| HITrackballIf * | GetTrackball () |
| void | SetTrackball (HITrackballIf *dv) |
| void | SetDebugMode (bool ph_or_gr) |
| bool | GetDebugMode () |
| void | Display () |
| bool | AddChildObject (ObjectIf *o) |
| 子オブジェクトの追加 | |
| size_t | NChildObject () const |
| 子オブジェクトの数 | |
| virtual void | OnUpdatePose (HITrackballIf *) |
| 向きの更新 [詳細] | |
Public メソッド inherited from FWWinBase | |
| SPR_OBJECTDEF (FWWinBase) | |
| int | GetID () |
| UTString | GetTitle () |
| void | SetTitle (UTString title) |
| Vec2i | GetPosition () |
| Vec2i | GetSize () |
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 ObjectIf * | GetChildObject (size_t pos) |
| 子オブジェクトの取得 | |
| virtual const ObjectIf * | GetChildObject (size_t pos) const |
| 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 変数 | |
| SPR_DECLMEMBEROF_FWWinDesc | |
| GRRenderIf * | render |
| レンダラ | |
| FWSceneIf * | scene |
| シーン | |
| DVKeyMouseIf * | keyMouse |
| キーボード・マウス | |
| DVJoyStickIf * | joyStick |
| ジョイスティック | |
| HITrackballIf * | trackball |
| トラックボール | |
| std::vector< FWDialogIf * > | childDlg |
Public 変数 inherited from FWWinBase | |
| SPR_DECLMEMBEROF_FWWinBaseDesc | |
| int | id = -1 |
| ウィンドウID | |
| void * | handle = NULL |
| 内部オブジェクトのハンドル | |
Additional Inherited Members | |
Protected メソッド inherited from Object | |
| virtual void | PrintHeader (std::ostream &os, bool bClose) const |
| 開き括弧 | |
| 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からメモリブロックに戻す. | |
|
virtual |
| trackball | 呼び出し元のトラックボール |
HITrackballCallbackを再定義しています。