|
| albaAbstractTypeMacro (albaAvatar3D, albaAvatar) |
|
virtual void | SetRendererAndView (vtkRenderer *ren, albaView *view) |
|
virtual void | Hide () |
|
virtual void | Show () |
|
vtkALBARayCast3DPicker * | GetPicker3D () |
|
vtkCellPicker * | GetPicker2D () |
|
virtual vtkAbstractPropPicker * | GetPicker () |
|
void | SetDisplayWorkingBox (int vis) |
|
int | GetDisplayWorkingBox () |
|
void | DisplayWorkingBoxOn () |
|
void | DisplayWorkingBoxOff () |
|
void | SetDisplayDebugText (int vis) |
|
int | GetDisplayDebugText () |
|
void | SetDebugTextPosition (double *pos) |
|
void | SetDebugTextPosition (double posx, double posy) |
|
double * | GetDebugTextPosition () |
|
void | SetCoordsFrame (int frame) |
|
int | GetCoordsFrame () |
|
virtual void | OnEvent (albaEventBase *event) |
|
virtual void | SetTracker (albaDeviceButtonsPadTracker *tracker) |
|
void | CanonicalToWorld (const albaMatrix &pose, albaMatrix &dest) |
|
void | CanonicalToWorld (albaMatrix &pose) |
|
void | CanonicalToWorld (albaTransform *trans) |
|
void | WorldToCanonical (const albaMatrix &pose, albaMatrix &dest) |
|
void | WorldToCanonical (albaMatrix &pose) |
|
void | WorldToCanonical (albaTransform *trans) |
|
void | TrackerToWorld (albaMatrix &tracker_pose, albaMatrix &world_pose, int use_scale=1, int use_rot=1, int use_trans=1) |
|
void | WorldToTracker (albaMatrix &world_pose, albaMatrix &tracker_pose, int use_scale=1, int use_rot=1, int use_trans=1) |
|
void | TrackerToDisplay (albaMatrix &tracker_pose, double xy[2]) |
|
void | WorldToDisplay (albaMatrix &world_pose, double xy[2]) |
|
void | WorldToNormalizedDisplay (albaMatrix &world_pose, double xy[2]) |
|
albaCameraTransform * | GetCanonicalToWorldTransform () |
|
void | SetFittingMode (int type) |
|
int | GetFittingMode () |
|
albaMatrix & | GetLastPoseMatrix () |
|
virtual void | CreateGui () |
|
| albaAbstractTypeMacro (albaAvatar, albaInteractor) |
|
virtual void | SetRendererAndView (vtkRenderer *ren, albaView *view) |
|
void | SetActor3D (vtkProp3D *avatar) |
|
vtkProp3D * | GetActor3D () |
|
void | SetActor2D (vtkActor2D *avatar) |
|
vtkActor2D * | GetActor2D () |
|
virtual void | Hide () |
|
virtual void | Show () |
|
virtual void | HideCursor3D () |
|
virtual void | ShowCursor3D () |
|
virtual void | HideCursor2D () |
|
virtual void | ShowCursor2D () |
|
virtual int | Pick (albaMatrix &pose) |
|
virtual int | Pick (double X, double Y) |
|
virtual void | OnEvent (albaEventBase *event) |
|
albaDeviceButtonsPadTracker * | GetTracker () |
|
virtual void | SetTracker (albaDeviceButtonsPadTracker *tracker) |
|
void | SetMode (int mode) |
|
int | GetMode () |
|
void | SetModeTo2D () |
|
void | SetModeTo3D () |
|
virtual vtkAbstractPropPicker * | GetPicker () |
|
albaGUI * | GetGui () |
|
virtual void | CreateGui () |
|
virtual void | UpdateGui () |
|
| ALBA_ID_DEC (AVATAR_SCREEN_PLANE_SETTINGS) |
|
| ALBA_ID_DEC (AVATAR_WORKING_BOX_SETTINGS) |
|
| albaInteractor () |
|
virtual | ~albaInteractor () |
|
| ALBA_ID_DEC (INTERACTION_STARTED) |
|
| ALBA_ID_DEC (INTERACTION_STOPPED) |
|
| ALBA_ID_DEC (BUTTON_DOWN) |
|
| ALBA_ID_DEC (BUTTON_UP) |
|
| albaAbstractTypeMacro (albaInteractor, albaAgent) |
|
virtual void | SetRendererAndView (vtkRenderer *ren, albaView *view) |
|
vtkRenderer * | GetRenderer () |
|
albaView * | GetView () |
|
albaDevice * | GetDevice () |
|
virtual void | SetDevice (albaDevice *) |
|
virtual void | SetVME (albaVME *vme) |
|
void | SetProp (vtkProp3D *prop) |
|
void | SetIgnoreTriggerEvents (bool flag) |
|
int | GetIgnoreTriggerEvents (bool flag) |
|
void | IgnoreTriggerEventsOn () |
|
void | IgnoreTriggerEventsOff () |
|
void | SetStartInteractionEvent (albaID event) |
|
albaID | GetStartInteractionEvent () |
|
void | SetStopInteractionEvent (albaID event) |
|
albaID | GetStopInteractionEvent () |
|
void | SetStartButton (int btn) |
|
int | GetStartButton () |
|
void | SetModifiers (int mod) |
|
int | GetModifiers () |
|
int | GetCurrentButton () |
|
unsigned long | GetCurrentModifier () |
|
virtual int | StartInteraction (albaDevice *device) |
|
virtual int | StopInteraction (albaDevice *device) |
|
virtual bool | IsInteracting () |
|
virtual bool | IsInteracting (albaDevice *device) |
|
void | SetButtonMode (int mode) |
|
int | GetButtonMode () |
|
void | SetButtonModeToSingleButton () |
|
void | SetButtonModeToMultiButton () |
|
virtual void | OnEvent (albaEventBase *event) |
|
void | TestModeOn () |
|
void | TestModeOff () |
|
bool | GetTestMode () |
|
| albaAbstractTypeMacro (albaAgent, albaReferenceCounted) |
|
| ALBA_ID_DEC (AGENT_INITIALIZE) |
|
void | AddObserver (albaObserver *listener, albaID channel=MCH_UP) |
|
void | RemoveObserver (albaObserver *listener) |
|
void | RemoveAllObservers () |
|
virtual void | OnEvent (albaEventBase *event) |
|
bool | HasObservers (albaID channel) |
|
void | GetObservers (albaID channel, std::vector< albaObserver * > &olist) |
|
int | Initialize () |
|
void | Shutdown () |
|
int | IsInitialized () |
|
virtual void | SetName (const char *name) |
|
const char * | GetName () |
|
| albaReferenceCounted () |
|
virtual | ~albaReferenceCounted () |
|
| albaAbstractTypeMacro (albaReferenceCounted, albaObject) |
|
virtual void | Delete () |
|
void | Register (void *obj) |
|
virtual void | UnRegister (void *obj) |
|
int | GetReferenceCount () |
|
void | SetReferenceCount (int) |
|
| albaObject () |
|
virtual | ~albaObject () |
|
virtual void | Delete () |
|
virtual const char * | GetTypeName () const |
|
virtual bool | IsA (const char *type_name) const |
|
virtual bool | IsA (const albaTypeID &type_id) const |
|
virtual albaObject * | NewObjectInstance () const =0 |
|
virtual const albaTypeID & | GetTypeId () const |
|
virtual void | Print (std::ostream &os, const int indent=0) const |
|
| albaObject (const albaObject &c) |
|
| albaObserver () |
|
virtual | ~albaObserver () |
|
virtual void | OnEvent (albaEventBase *e)=0 |
|
| albaEventBroadcaster (void *owner=NULL) |
|
virtual | ~albaEventBroadcaster () |
|
| albaEventBroadcaster (const albaEventBroadcaster &c) |
|
void | AddObserver (albaObserver *obj) |
|
void | AddObserver (albaObserver &obj) |
|
albaObserverCallback * | AddObserverCallback (void(*f)(void *sender, albaID eid, void *clientdata, void *calldata)) |
|
bool | RemoveObserver (albaObserver *obj) |
|
void | RemoveAllObservers () |
|
bool | IsObserver (albaObserver *obj) |
|
bool | HasObservers () |
|
void | GetObservers (std::vector< albaObserver * > &olist) |
|
void | InvokeEvent (albaEventBase &e) |
|
void | InvokeEvent (albaEventBase *e) |
|
void | InvokeEvent (void *sender, albaID id=ID_NO_EVENT, void *data=NULL) |
|
void | SetChannel (albaID ch) |
|
albaID | GetChannel () |
|
virtual void | SetListener (albaObserver *o) |
|
| albaEventSender () |
|
virtual void | SetListener (albaObserver *o) |
|
virtual albaObserver * | GetListener () |
|
virtual bool | HasListener () |
|
virtual void | InvokeEvent (albaEventBase &e) |
|
virtual void | InvokeEvent (albaEventBase *e) |
|
virtual void | InvokeEvent (void *sender, albaID id=ID_NO_EVENT, void *data=NULL) |
|
| albaStorable () |
|
int | Store (albaStorageElement *element) |
|
int | Restore (albaStorageElement *element) |
|
albaObject * | CastToObject () |
|
bool | IsStorable () |
|
|
| albaAvatar3D () |
|
virtual | ~albaAvatar3D () |
|
void | SetLastPoseMatrix (albaMatrix &matrix) |
|
virtual int | InternalStore (albaStorageElement *node) |
|
virtual int | InternalRestore (albaStorageElement *node) |
|
virtual int | InternalInitialize () |
|
virtual void | InternalShutdown () |
|
virtual void | UpdateDebugText (const char *title, albaMatrix &pose) |
|
virtual void | OnMove3DEvent (albaEventInteraction *e) |
|
void | OnUpdateBoundsEvent (albaDeviceButtonsPadTracker *tracker) |
|
virtual void | OnPostResetCamera (albaEventBase *event) |
|
void | SetPicker3D (vtkALBARayCast3DPicker *picker) |
|
| albaAvatar () |
|
virtual | ~albaAvatar () |
|
virtual int | InternalStore (albaStorageElement *node) |
|
virtual int | InternalRestore (albaStorageElement *node) |
|
virtual int | InternalInitialize () |
|
virtual void | InternalShutdown () |
|
virtual void | OnPreResetCamera (albaEventBase *event) |
|
virtual void | OnPostResetCamera (albaEventBase *event) |
|
virtual void | OnViewSelected (albaEvent *e) |
|
virtual int | OnStartInteraction (albaEventInteraction *e) |
|
virtual int | OnStopInteraction (albaEventInteraction *e) |
|
virtual void | OnButtonDown (albaEventInteraction *e) |
|
virtual void | OnButtonUp (albaEventInteraction *e) |
|
void | ComputeDisplayToWorld (double x, double y, double z, double worldPt[4]) |
|
void | ComputeWorldToDisplay (double x, double y, double z, double displayPt[3]) |
|
| albaAgent () |
|
virtual | ~albaAgent () |
|
virtual int | InternalInitialize () |
|
virtual void | InternalShutdown () |
|
void | InvokeEvent (albaEventBase &event, albaID channel=-1) |
|
void | InvokeEvent (albaEventBase *event, albaID channel=-1) |
|
void | InvokeEvent (void *sender, int id, albaID channel=MCH_UP, void *data=NULL) |
|
virtual int | InternalStore (albaStorageElement *node)=0 |
|
virtual int | InternalRestore (albaStorageElement *node)=0 |
|
Avatars are entities moving in the virtual world according to user's movements, and thus representing thier presence in the virtual world.
Specialized classes must set the Avatar variable with a vtkProp3D, this class will take care of adding it to the current renderer, moving, hiding and showing it at the right time. The Avatar moves according to an interactor, which must also be set by subclasses.
- Todo:
- implement rendering by means of a CameraUpdate event sent to the interaction manager
- make the avatar have its own GUI plugged into the device gui settings
- refactoring to have the avatar picking nodes (VME)
Definition at line 56 of file albaAvatar3D.h.