Structural deformable models
Main Page
Namespaces
Classes
Files
File List
File Members
src
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
:
29
SensorDialog
() :
m_Sensors
(*(
SensorCollection
*)(
NULL
)) {};
30
31
protected
:
32
SensorCollection
&
m_Sensors
;
33
FXListBox *
m_SList
;
34
ImageWindow
*
m_ImgWin
;
35
std::vector<int>
m_SIndices
;
36
vuMutex
*
m_PGeomMutex
;
37
};
38
39
#endif
NULL
#define NULL
Definition:
simpletypes.h:9
fxconfig.h
SensorDialog::setGeomMutex
void setGeomMutex(vuMutex *mutex)
Definition:
sensordlg.h:23
SensorCollection
Definition:
SensorColl.h:11
SensorDialog::m_ImgWin
ImageWindow * m_ImgWin
Definition:
sensordlg.h:34
SensorDialog::m_PGeomMutex
vuMutex * m_PGeomMutex
Definition:
sensordlg.h:36
SensorDialog::m_SList
FXListBox * m_SList
Definition:
sensordlg.h:33
vuMutex
Definition:
vuThread.h:28
SensorDialog
Definition:
sensordlg.h:13
SensorDialog::ID_CANVAS
Definition:
sensordlg.h:26
SensorDialog::~SensorDialog
virtual ~SensorDialog()
Definition:
sensordlg.cpp:37
SensorDialog::getSelectedSensor
int getSelectedSensor() const
Definition:
sensordlg.cpp:96
SensorDialog::m_Sensors
SensorCollection & m_Sensors
Definition:
sensordlg.h:29
SensorDialog::m_SIndices
std::vector< int > m_SIndices
Definition:
sensordlg.h:35
SensorColl.h
vuThread.h
SensorDialog::updateStrings
void updateStrings()
Definition:
sensordlg.cpp:71
SensorDialog::ID_LAST
Definition:
sensordlg.h:26
ImageWindow
Definition:
browser.cpp:51
SensorDialog::SensorDialog
SensorDialog()
Definition:
sensordlg.h:29
SensorDialog::onEdit
long onEdit(FXObject *, FXSelector, void *ptr)
Definition:
sensordlg.cpp:42
SensorDialog::ID_SENSEDIT
Definition:
sensordlg.h:26
SensorDialog::ID_SENSSEL
Definition:
sensordlg.h:26
Generated by
1.8.11