|
ALBA
|
#include <albaGUISaveRestorePose.h>


Public Types | |
| enum | ID_TYPE_GUI { ID_POSE_GUI = 0 , ID_SCALE_GUI } |
| enum | GUI_SAVE_RESTORE_ID { ID_SAVE = MINID , ID_REMOVE , ID_APPLY } |
Public Member Functions | |
| albaGUISaveRestorePose (albaVME *input, albaObserver *listener=NULL, int typeGui=ID_POSE_GUI, bool testMode=false) | |
| ~albaGUISaveRestorePose () | |
| void | OnEvent (albaEventBase *alba_event) |
| void | EnableWidgets (bool enable) |
Public Member Functions inherited from albaGUITransformInterface | |
| albaGUI * | GetGui () |
| virtual void | EnableWidgets (bool enable)=0 |
| void | SetRefSys (albaVME *refSysVme) |
| albaVME * | GetRefSys () |
| virtual void | Reset () |
| void | OnEvent (albaEventBase *alba_event) |
| void | TestModeOn () |
| void | TestModeOff () |
| bool | GetTestMode () |
Public Member Functions inherited from albaObserver | |
| albaObserver () | |
| virtual | ~albaObserver () |
| virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
| void | CreateGui () |
| void | FillListBoxWithABSPosesStoredInInputVME () |
| void | StorePose () |
| void | RestorePose (int absPoseListBoxID) |
| void | RemovePose (int absPoseListBoxID) |
| void | StorePoseHelper (albaString absPoseTagName) |
| void | RestorePoseHelper (albaString absPoseTagName) |
| void | RemovePoseHelper (albaString absPoseTagName) |
Protected Member Functions inherited from albaGUITransformInterface | |
| albaGUITransformInterface () | |
| ~albaGUITransformInterface () | |
| virtual void | CreateGui () |
| virtual void | RefSysVmeChanged () |
Protected Attributes | |
| wxListBox * | m_PositionsList |
| int | m_TypeGui |
Protected Attributes inherited from albaGUITransformInterface | |
| albaVME * | m_InputVME |
| albaObserver * | m_Listener |
| albaGUI * | m_Gui |
| albaVME * | m_RefSysVME |
| albaTimeStamp | m_CurrentTime |
| bool | m_TestMode |
Friends | |
| class | albaGUISaveRestorePoseTest |
Input VME ABS Matrix Store/Restore GUI Component.
Component to store/restore input vme abs pose
Example usage to plug this component into an operation:
guiSaveRestorePose = new albaGUISaveRestorePose(opInputVME, this); clientOpGUI->AddGui(guiSaveRestorePose->GetGui());
Definition at line 44 of file albaGUISaveRestorePose.h.
| Enumerator | |
|---|---|
| ID_POSE_GUI | |
| ID_SCALE_GUI | |
Definition at line 48 of file albaGUISaveRestorePose.h.
| Enumerator | |
|---|---|
| ID_SAVE | |
| ID_REMOVE | |
| ID_APPLY | |
Definition at line 65 of file albaGUISaveRestorePose.h.
| albaGUISaveRestorePose::albaGUISaveRestorePose | ( | albaVME * | input, |
| albaObserver * | listener = NULL, |
||
| int | typeGui = ID_POSE_GUI, |
||
| bool | testMode = false |
||
| ) |
| albaGUISaveRestorePose::~albaGUISaveRestorePose | ( | ) |
|
virtual |
Events handling.
Implements albaObserver.
|
virtual |
Enable-Disable the GUI's widgets.
Implements albaGUITransformInterface.
|
protectedvirtual |
Create the GUI.
Reimplemented from albaGUITransformInterface.
|
protected |
Find in input vme if there are stored abs poses and fill the listbox with their names.
|
protected |
Prompt the user for the new pose to be saved name , add the associated string to the listbox and add the corresponding matrix data to the input vme tagarray.
|
protected |
Restore the selected pose to the input vme from the listbox pose id.
|
protected |
Remove the given pose from the input vme tag array and the associated string from the listbox.
|
protected |
Helper functions.
|
protected |
|
protected |
|
friend |
friend test
Definition at line 104 of file albaGUISaveRestorePose.h.
|
protected |
Definition at line 100 of file albaGUISaveRestorePose.h.
|
protected |
Definition at line 101 of file albaGUISaveRestorePose.h.