Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
VideoSource_Controller_Kinect.hh
1 #ifndef __VideoSource_Controller_KINECT_HH__
2 #define __VideoSource_Controller_KINECT_HH__
3 
4 #include <bias_config.h>
5 #include <Gui/VideoSource_Controller_Base.hh>
6 
7 #include <VideoSource/VideoSource_Kinect_Base.hh>
8 
9 #include <wx/grid.h>
10 
11 namespace BIAS {
12 
14  public:
15 
16  VideoSource_Controller_Kinect(VideoSource *cam, wxWindow *parent, const std::string &title="VideoSourceConstroller Kinect");
18 
19  void SetVideoSource(BIAS::VideoSource *cam);
20 
21  protected:
22  wxRadioBox* m_radioBox1;
23  wxGrid* m_grid1;
24  wxButton* m_button1;
25  wxButton* m_button5;
26  wxButton* m_button6;
27  wxButton* m_button2;
28  wxButton* m_button3;
29  wxButton* m_button4;
30  wxTimer* timer_;
31 
32  virtual void OnSelectVideoMode( wxCommandEvent& event );
33  virtual void OnUp( wxCommandEvent& event );
34  virtual void OnLevel( wxCommandEvent& event );
35  virtual void OnDown( wxCommandEvent& event );
36  virtual void OnHide( wxCommandEvent& event );
37  virtual void OnLoadCalib( wxCommandEvent& event );
38  virtual void OnClose( wxCloseEvent& event );
39  virtual void OnTimer( wxTimerEvent& event );
40  virtual void OnToggleDepth( wxCommandEvent& event );
41 
44  private:
45  enum {
46  ID_Timer
47  };
48  double curTilt_;
49 };
50 }
51 #endif // VideoSource_Controller_Kinect
Defines a common interface to different devices.
Use Kinect just like the ToF Cameras.