25 #ifndef __VideoSource_Controller_SWISSRANGER_HH__
26 #define __VideoSource_Controller_SWISSRANGER_HH__
28 #include <Gui/VideoSource_Controller_Base.hh>
29 #include <bias_config.h>
35 #include <VideoSource/VideoSource_Base.hh>
37 #ifdef BIAS_HAVE_SWISSRANGER
38 #include <VideoSource/VideoSource_SwissRanger.hh>
42 #include <Base/Image/ImageIO.hh>
43 #include <Base/Image/ImageConvert.hh>
44 #include <Image/Camera.hh>
45 #include <Image/StereoRedGreen.hh>
58 void SetAmplitudeThresholdRange(
unsigned int min,
unsigned int max);
59 void SetSaturationThresholdRange(
unsigned int min,
unsigned int max);
60 void SetDistanceOffsetRange(
unsigned int min,
unsigned int max);
61 void SetIntegrationTimeRange(
unsigned int min,
unsigned int max);
81 void OnEscape(wxCommandEvent& event);
82 void OnHide(wxCommandEvent& event);
83 void OnClose(wxCloseEvent& event);
84 void OnAmplitude(wxScrollEvent& event);
85 void OnSaturation(wxScrollEvent& event);
86 void OnModulation(wxScrollEvent& event);
87 void OnDistance(wxScrollEvent& event) ;
88 void OnIntegration(wxScrollEvent& event) ;
89 void OnModFreq(wxCommandEvent& event) ;
90 void OnUpdate(wxCommandEvent& event) ;
91 void OnCheckEnsureLatest(wxCommandEvent& event);
92 void OnCheckShowDepth(wxCommandEvent& event);
118 DECLARE_EVENT_TABLE()
unsigned short min_saturationThreshold_
wxSlider * SliderDistanceOffset
Defines a common interface to different devices.
wxSlider * SliderIntegration
wxSlider * SliderSaturation
Support for SwissRanger usb cam.
BIAS::VideoSource_SwissRanger * Cam_
unsigned short min_distanceOffset_
wxCheckBox * checkBoxShowDepth
unsigned char min_integrationTime_
wxBoxSizer * sliderBox_ShGa
wxSlider * SliderAmplitude
unsigned short min_amplitudeThreshold_
wxCheckBox * checkBoxEnsureLatest
wxComboBox * comboBoxModFreq
bool sliderBox_ShGa_Visible