1 #ifndef __VideoSource_Controller_HH__
2 #define __VideoSource_Controller_HH__
4 #include <bias_config.h>
6 #include <Base/Common/W32Compat.hh>
7 #include <VideoSource/VideoSource_Base.hh>
9 #include <Base/Image/ImageIO.hh>
10 #include <Base/Image/ImageConvert.hh>
12 #include <Image/Camera.hh>
13 #include <Image/StereoRedGreen.hh>
15 #include <Gui/VideoSource_Controller_Base.hh>
25 const std::string &title,
28 double minContrast=-1,
double maxContrast=-1,
29 double minBrightness=-1,
double maxBrightness=-1);
33 bool Show(
bool show=
true);
37 void SetCloseShortcut(
const int &asciiCode,
38 bool ctrl,
bool shift,
bool alt);
41 void SetShutterRange(
unsigned int min,
unsigned int max);
42 void SetGainRange(
unsigned int min,
unsigned int max);
44 void SetBrightnessRange(
unsigned int min,
unsigned int max);
45 void SetContrastRange(
unsigned int min,
unsigned int max);
88 void OnEscape(wxCommandEvent& event);
89 void OnKeyUp(wxKeyEvent& event);
91 void OnHide(wxCommandEvent& event);
92 void OnClose(wxCloseEvent& event);
93 void OnWhiteBalance(wxCommandEvent& event);
94 void OnShutter(wxScrollEvent& event);
95 void OnGain(wxScrollEvent& event);
96 void OnWhiteBalanceManual(wxScrollEvent& event);
97 void OnBrightness(wxScrollEvent& event);
98 void OnContrast(wxScrollEvent& event);
99 void OnAuto_Shutter(wxCommandEvent& event);
100 void OnAuto_Brightness(wxCommandEvent& event);
101 void OnAuto_Gain(wxCommandEvent& event);
102 void OnUpdate(wxCommandEvent& event) ;
104 void auto_on(
int param);
105 void auto_off(
int param);
107 bool AreModifiersCorrect_(
const wxKeyEvent &event);
142 DECLARE_EVENT_TABLE()
148 #endif // __VideoSource_Controller_HH__
bool sliderBox_ShGa_Visible
Defines a common interface to different devices.
wxButton * auto_ga_Button
wxButton * auto_sh_Button
wxButton * auto_br_Button
wxButton * auto_co_Button
wxButton * whiteBalanceButton
wxSlider * SliderContrast
wxSlider * SliderBrightness
wxBoxSizer * sliderBox_ShGa