|
|
| SPR_OBJECTDEF (HITrackball) |
| |
|
DVKeyMouseIf * | GetKeyMouse () |
| |
|
void | SetKeyMouse (DVKeyMouseIf *dv) |
| |
|
void | SetCallback (HITrackballCallback *cb) |
| |
|
void | SetMode (bool m) |
| |
|
bool | GetMode () |
| |
|
void | SetTarget (Vec3f t) |
| |
|
Vec3f | GetTarget () |
| |
|
void | SetAngle (float lon, float lat) |
| |
|
void | GetAngle (float &lon, float &lat) |
| |
|
void | SetDistance (float dist) |
| |
|
float | GetDistance () |
| |
|
void | SetLongitudeRange (float rmin, float rmax) |
| |
|
void | GetLongitudeRange (float &rmin, float &rmax) |
| |
|
void | SetLatitudeRange (float rmin, float rmax) |
| |
|
void | GetLatitudeRange (float &rmin, float &rmax) |
| |
|
void | SetDistanceRange (float rmin, float rmax) |
| |
|
void | GetDistanceRange (float &rmin, float &rmax) |
| |
|
void | SetRotGain (float g) |
| |
|
float | GetRotGain () |
| |
|
void | SetZoomGain (float g) |
| |
|
float | GetZoomGain () |
| |
|
void | SetTrnGain (float g) |
| |
|
float | GetTrnGain () |
| |
|
void | SetPosition (Vec3f pos) |
| |
|
void | SetOrientation (Quaternionf ori) |
| |
|
void | SetRotMask (int mask) |
| |
|
void | SetZoomMask (int mask) |
| |
|
void | SetTrnMask (int mask) |
| |
|
void | UpdateView () |
| |
|
void | Fit (const GRCameraDesc &cam, float radius) |
| |
|
void | Rotate (int xrel, int yrel) |
| |
|
void | Zoom (int yrel) |
| |
|
void | Translate (int xrel, int yrel) |
| |
|
void | Enable (bool on) |
| |
|
bool | IsEnabled () |
| |
|
virtual bool | Init (const void *desc) |
| | Init human interface.
|
| |
|
virtual Vec3f | GetPosition () |
| |
|
virtual Quaternionf | GetOrientation () |
| |
|
virtual bool | OnMouseMove (int state, int x, int y, int zdelta) |
| | DVKeyMouseCallbackの関数
|
| |
|
| HITrackball (const HITrackballDesc &desc=HITrackballDesc()) |
| |
|
| SPR_OBJECTDEF (HIPose) |
| |
|
virtual Posef | GetPose () |
| |
|
virtual Affinef | GetAffine () |
| |
|
virtual Vec3f | GetVelocity () |
| |
|
virtual Vec3f | GetAngularVelocity () |
| |
|
| SPR_OBJECTDEF_ABST (HIBase) |
| |
|
HISdkIf * | GetSdk () |
| | SDKの取得
|
| |
|
virtual bool | BeforeCalibration () |
| | キャリブレーションの前に行う処理
|
| |
|
virtual bool | Calibration () |
| | キャリブレーション処理
|
| |
|
virtual bool | AfterCalibration () |
| | キャリブレーションのあとに行う処理
|
| |
|
bool | IsGood () |
| | Is this human interface good for use?
|
| |
|
virtual void | Update (float dt) |
| | Update state of the interface; read from/write to real device.
|
| |
| void | AddDeviceDependency (HIRealDeviceIf *rd) |
| | Add an real device to the dependency list of real devices. [詳細]
|
| |
|
| 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の取得
|
| |
|
| 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 |
| | メモリデバッグ用。単純にツリーのオブジェクトをファイルにダンプする。
|
| |
| | HITrackballDesc () |
| |
| virtual bool | OnMouse (int button, int state, int x, int y) |
| | マウスクリック時の処理 [詳細]
|
| |
| virtual bool | OnDoubleClick (int button, int x, int y) |
| | ダブルクリック時の処理 [詳細]
|
| |
| virtual bool | OnKey (int state, int key, int x, int y) |
| | キー入力処理 [詳細]
|
| |