Structural deformable models
sensordlg.h
Go to the documentation of this file.
1 #ifndef _SENSORDLG_H_
2 #define _SENSORDLG_H_
3 
4 #include "fxconfig.h"
5 #include <fx.h>
6 #include <FXDialogBox.h>
7 #include <FXListBox.h>
8 #include "vuThread.h"
9 #include "SensorColl.h"
10 
11 class ImageWindow;
12 
13 class SensorDialog : public FXDialogBox {
14  // Macro for class hierarchy declarations
15  FXDECLARE(SensorDialog)
16  public:
17  SensorDialog(FXApp *a, ImageWindow* iw, SensorCollection& sc);
18  virtual ~SensorDialog();
19 
20  long onEdit(FXObject*,FXSelector,void* ptr);
21  void updateStrings();
22  int getSelectedSensor() const;
23  void setGeomMutex(vuMutex* mutex) { m_PGeomMutex = mutex; }
24 
25  // Messages for our class
26  enum{ ID_CANVAS = FXDialogBox::ID_LAST, ID_SENSEDIT, ID_SENSSEL, ID_LAST };
27 
28 protected:
30 
31 protected:
33  FXListBox *m_SList;
35  std::vector<int> m_SIndices;
37 };
38 
39 #endif
#define NULL
Definition: simpletypes.h:9
void setGeomMutex(vuMutex *mutex)
Definition: sensordlg.h:23
ImageWindow * m_ImgWin
Definition: sensordlg.h:34
vuMutex * m_PGeomMutex
Definition: sensordlg.h:36
FXListBox * m_SList
Definition: sensordlg.h:33
virtual ~SensorDialog()
Definition: sensordlg.cpp:37
int getSelectedSensor() const
Definition: sensordlg.cpp:96
SensorCollection & m_Sensors
Definition: sensordlg.h:29
std::vector< int > m_SIndices
Definition: sensordlg.h:35
void updateStrings()
Definition: sensordlg.cpp:71
long onEdit(FXObject *, FXSelector, void *ptr)
Definition: sensordlg.cpp:42