ALBA
|
#include <albaAnimate.h>
Public Member Functions | |
albaAnimate (vtkRenderer *renderer, albaVME *vme, albaObserver *listener=NULL) | |
~albaAnimate () | |
void | OnEvent (albaEventBase *alba_event) |
void | SetListener (albaObserver *listener) |
albaGUI * | GetGui () |
void | SetInputVME (albaVME *vme) |
void | ResetKit () |
void | FlyTo (const char *fly_position) |
albaTagArray * | GetStoredPositions () |
void | SetStoredPositions (albaTagArray *positions) |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
void | SetCurrentSelection (int pos) |
void | FlyTo () |
void | RetrieveStoredPositions (bool update_listbox=true) |
void | StoreViewPoint () |
void | RenameViewPoint () |
void | DeleteViewPoint (int pos=0) |
void | CreateGui () |
void | EnableWidgets () |
void | LoadPoseFromFile (albaString &fileName) |
void | StorePoseToFile (albaString &fileName) |
Protected Attributes | |
albaObserver * | m_Listener |
albaVME * | m_Vme |
albaVME * | m_Root |
albaTagArray * | m_Tags |
albaTagArray * | m_StoredPositions |
vtkRenderer * | m_Renderer |
albaGUI * | m_Gui |
wxString | m_SelectedPosition |
wxListBox * | m_PositionList |
albaGUIButton * | m_StorePositionButton |
albaGUIButton * | m_DeletePositionButton |
albaGUIButton * | m_RenamePositionButton |
albaGUIButton * | m_RefreshPositionButton |
albaGUIButton * | m_ImportPositionButton |
albaGUIButton * | m_ExportPositionButton |
albaGUIMovieCtrl * | m_AnimatePlayer |
int | m_InterpolateFlag |
This component allow to manage camera animation into a view.
albaAnimate allow to store and retrieve a particular point of view.
Definition at line 38 of file albaAnimate.h.
albaAnimate::albaAnimate | ( | vtkRenderer * | renderer, |
albaVME * | vme, | ||
albaObserver * | listener = NULL |
||
) |
albaAnimate::~albaAnimate | ( | ) |
|
virtual |
process the events sent by subjects
Implements albaObserver.
void albaAnimate::SetListener | ( | albaObserver * | listener | ) |
albaGUI * albaAnimate::GetGui | ( | ) |
Return albaAnimate User Interface.
void albaAnimate::SetInputVME | ( | albaVME * | vme | ) |
set the vme that hold the tag-array where the ViewPoint are stored
void albaAnimate::ResetKit | ( | ) |
delete All entries in listbox.
void albaAnimate::FlyTo | ( | const char * | fly_position | ) |
Allow to fly on specified position present into the stored positions.
albaTagArray * albaAnimate::GetStoredPositions | ( | ) |
Return the tag-array containing the stored positions (tag) list.
void albaAnimate::SetStoredPositions | ( | albaTagArray * | positions | ) |
Set the list of stored position given by the user.
|
protected |
Select the item into the listbox and update the validator of the widget.
|
protected |
Move the camera to the target position.
|
protected |
Read root node's tags to retrieve previous stored camera positions.
|
protected |
Store a view position into the root's tag array.
|
protected |
Rename the view position.
|
protected |
Delete the view position.
|
protected |
Create the GUI for the FlyTo animation.
|
protected |
Enable-Disable the GUI's widgets.
|
protected |
Load poses from file.
|
protected |
Store poses to file.
|
protected |
Definition at line 99 of file albaAnimate.h.
|
protected |
Definition at line 101 of file albaAnimate.h.
|
protected |
Definition at line 102 of file albaAnimate.h.
|
protected |
Definition at line 104 of file albaAnimate.h.
|
protected |
Definition at line 105 of file albaAnimate.h.
|
protected |
Definition at line 106 of file albaAnimate.h.
|
protected |
Definition at line 107 of file albaAnimate.h.
|
protected |
Definition at line 109 of file albaAnimate.h.
|
protected |
Definition at line 110 of file albaAnimate.h.
|
protected |
Definition at line 111 of file albaAnimate.h.
|
protected |
Definition at line 112 of file albaAnimate.h.
|
protected |
Definition at line 113 of file albaAnimate.h.
|
protected |
Definition at line 114 of file albaAnimate.h.
|
protected |
Definition at line 115 of file albaAnimate.h.
|
protected |
Definition at line 116 of file albaAnimate.h.
|
protected |
Definition at line 117 of file albaAnimate.h.
|
protected |
Definition at line 118 of file albaAnimate.h.