Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ShowCamWxFrame.hh
1 /*
2 This file is part of the BIAS library (Basic ImageAlgorithmS).
3 
4 Copyright (C) 2003-2009 (see file CONTACT for details)
5  Multimediale Systeme der Informationsverarbeitung
6  Institut fuer Informatik
7  Christian-Albrechts-Universitaet Kiel
8 
9 
10 BIAS is free software; you can redistribute it and/or modify
11 it under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14 
15 BIAS is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU Lesser General Public License for more details.
19 
20 You should have received a copy of the GNU Lesser General Public License
21 along with BIAS; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
24 
25 #ifndef __ShowCamWxFrame_hh__
26 #define __ShowCamWxFrame_hh__
27 
28 #include <Base/Common/BIASpragmaStart.hh>
29 #include <bias_config.h>
30 
31 #ifdef WIN32
32 #include "Base/Common/W32Compat.hh"
33 #endif
34 
35 #include <wx/wx.h>
36 #include <wx/toolbar.h>
37 #include <wx/listbox.h>
38 #include <wx/splitter.h>
39 
40 #include <Gui/StringConv.hh>
41 #include <Gui/ImageCanvas.hh>
42 #include <Gui/ParamGUI.hh>
43 #include <Gui/VideoSource_Controller_Base.hh>
44 #include <Gui/wxTauControlFrame.h>
45 
46 #include <Image/Camera.hh>
47 #include <Base/Image/ImageIO.hh>
48 #include <Base/Debug/TimeMeasure.hh>
49 #include <Filter/Rescale.hh>
50 #include <Utils/Param.hh>
51 
52 #include <VideoSource/VideoSource_Base.hh>
53 #include <VideoSource/VideoSource_Net.hh>
54 #include <VideoSource/VideoSource_Shm.hh>
55 #include "ShowCamWxThreads.hh"
56 
57 #ifdef BIAS_HAVE_PANTILT_DP
58 #include <PanTilt/DPPanTiltControl.hh>
59 #include <PanTilt/DPPanTiltControlDialog.hh>
60 #endif
61 
62 #ifdef BIAS_HAVE_PANTILT
63 #include <Gui/wxViscaControlFrame.h>
64 #endif
65 
66 #ifdef BIAS_HAVE_TIFF
67 #ifdef BIAS_HAVE_XML2
68 #include <VideoSource/VideoSource_ShmPMD.hh>
69 #endif
70 #endif
71 
72 #ifdef BIAS_HAVE_V4L
73 # include <VideoSource/VideoSource_V4L.hh>
74 #endif // BIAS_HAVE_V4L
75 
76 #ifdef BIAS_HAVE_UEYE
77 # include <VideoSource/VideoSource_uEye.hh>
78 #endif // BIAS_HAVE_UEYE
79 
80 #ifdef BIAS_HAVE_DCAM
81 # include "ShowCamWxFormat7Frame.hh"
82 # include <VideoSource/VideoSource_DCAM.hh>
83 # include <VideoSource/VideoSource_DCAM_BumbleBee.hh>
84 #endif // BIAS_HAVE_DCAM
85 
86 #ifdef BIAS_HAVE_PMD_PMDTec
87 # include <Image/PMDImageProc.hh>
88 # include <VideoSource/VideoSource_PMD.hh>
89 #endif // BIAS_HAVE_PMD_PMDTec
90 
91 #ifdef BIAS_HAVE_PMD_PMDZess
92 # include <VideoSource/VideoSource_PMDZess.hh>
93 #endif // BIAS_HAVE_PMD_PMDZess
94 
95 #ifdef BIAS_HAVE_SWISSRANGER
96 # include <VideoSource/VideoSource_SwissRanger.hh>
97 #endif
98 
99 #ifdef BIAS_HAVE_KINECT
100 # include <VideoSource/VideoSource_Kinect.hh>
101 #endif
102 
103 #ifdef BIAS_HAVE_OPENNI
104 # include <VideoSource/VideoSource_OpenNI.hh>
105 #endif
106 
107 #ifdef BIAS_HAVE_KINECT2
108 # include <VideoSource/VideoSource_Kinect2.hh>
109 #endif
110 
111 #ifdef BIAS_HAVE_DSHOW
112 # include <VideoSource/VideoSource_DSHOW.hh>
113 #endif
114 
115 /**
116  @class ShowCamWxFrame
117  @brief This class is the main frame of the ShowCamWx Application
118  @author Christoffer Menk, Ingo Schiller, Benjamin Angerer
119 */
120 
121 #define NUMBER_CAMERAS 9
122 
123 namespace BIAS {
124 
125  // event ids
126  enum {
127  ID_Timer = wxID_HIGHEST+332,
128  ID_Grab,
131  ID_Key,
138  ID_Show1,
139  ID_Show2,
140  ID_Show3,
141  ID_Show4,
142  ID_Show5,
143  ID_Show6,
144  ID_Show7,
145  ID_Show8,
146  ID_Show9,
166  };
167 
168  class ShowCamWxFrame : public wxFrame, public BIAS::ParamGUI
169  {
170  public:
171  /** \brief Constructor */
172  ShowCamWxFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
173  /** \brief Destructor */
174  virtual ~ShowCamWxFrame();
175 
176  /** \brief Initializes all paramaters for param file */
177  void InitParams(int &argc, char *argv[]);
178 
179  /** \brief Initialize cameras with param file. Only call after InitParams(). */
180  void InitCameras();
181 #ifdef BIAS_HAVE_PANTILT_DP
182  /** \brief Initialize Pan Tilt Unit. Only call after InitParams(). */
183  bool InitPanTiltUnit();
184 #endif
185  /** \brief Tries to open all specified camera devices. Only call after
186  cameras are initialized. */
187  void OpenDevices();
188 
189  /** \brief Creates the menu of the main window. */
190  void CreateMenu();
191 
192  /** \brief Creates the menu for the available cameras */
193  void CreateCameraMenu();
194 
195  /** \brief Starts the saving from all images to disk from all activated cameras */
197 
198  /** \brief Stops the saving from all images to disk from all activated cameras */
199  void StopSavingImagesToDisk();
200 
201  /** \brief Shows the parameter GUI*/
202  void ShowParamGUI();
203 
204 #ifdef BIAS_HAVE_DCAM
205  /** \brief Shows the IEEE1394 Format7 selector frame*/
206  int ShowFormat7Selector(int camindex, dc1394video_mode_t mode);
207 #endif
208 
209  protected:
210  /** \brief Save a image from camera with index cameraIndex.*/
211  void SaveImageUnthreaded_(int cameraIndex);
212  /** \brief Creates the master thread for handling cameras*/
213  int CreateMasterThread_();
214  /** \brief Creates the thread for grabbing images for a camera*/
215  int CreateGrabThreadForCamera_(int cameraIndex);
216  /** \brief Creates the thread for saving images for a camera*/
217  int CreateImageSaveThreadForCamera_(int cameraIndex);
218 
219  #ifdef BIAS_HAVE_PANTILT_DP
220  /** \brief if the directed preception pantilt is used a projection
221  * is constructed from the angles and written to the image meta data */
222  void GetProjectionFromPanTilt_(BIAS::Projection &projHeader);
223  #endif
224  /** \brief Grabs an image frmo a camera without using threads */
225  void GrabSingleImageUnthreadedFromCamera_(int cameraIndex);
226  /** \brief Selects the current image and shows it in image canvas */
228 
229  /** \brief Parses the color models from param file to enum EColorModel */
230  void ParseColorModels();
231  /** \brief Initializes combined image for selected camera (usb pmd) */
232  void InitCombinedImage();
233  /** \brief called on end to close cams and exit */
234  void CleanUpAndExit();
235  /** \brief try to open the device with index camindex*/
236  int OpenDevice(int camindex);
237  /** \brief try to close the device with index camindex*/
238  int CloseDevice(int camindex);
239  /** \brief try to initialze the device with index camindex*/
240  void InitCamera(int camindex);
241  /** \brief Selects a mode from the menu of multiple modes are
242  * offered for a camera, used e.g. for IEEE1394 cameras*/
243  int SelectedModeFromMenu(int camindex);
244 
245  /** \brief Adds a ueye camera to the menu*/
246  void AddUEyeCameraToMenu(int camindex, std::string camId, bool fromFile);
247  /** \brief Adds a v4l or DShow camera to the menu*/
248  void AddWebcamToMenu(std::string name,int camindex, bool fromFile);
249 
250 #ifdef BIAS_HAVE_DCAM
251  /** \brief Adds a IEEE1394/Firewire camera to the menu*/
252  void AddIEEECameraToMenu(int camindex,int IEEEIndex, bool fromFile);
253 #endif
254 #ifdef BIAS_HAVE_PMD_PMDZess
255  void AddZessCameraToMenu(int camindex, bool fromFile, std::string paramFile);
256 #endif // BIAS_HAVE_PMD_PMDZess
257 #ifdef BIAS_HAVE_PMD_PMDTec
258  void AddPMDTecCameraToMenu(int camindex, bool fromFile);
259 #endif // BIAS_HAVE_PMD_PMDTec
260 #ifdef BIAS_HAVE_SWISSRANGER
261  void AddSwissRangerCameraToMenu(int camindex, bool fromFile);
262 #endif // BIAS_HAVE_SWISSRANGER
263 #ifdef BIAS_HAVE_KINECT
264  void AddKinectCameraToMenu(int camindex, bool fromFile);
265 #endif // BIAS_HAVE_SWISSRANGER
266 #ifdef BIAS_HAVE_OPENNI
267  void AddOpenNICameraToMenu(int camindex, bool fromFile);
268 #endif // BIAS_HAVE_SWISSRANGER
269 
270 #ifdef BIAS_HAVE_KINECT2
271  void AddKinect2CameraToMenu(int camindex, bool fromFile);
272 #endif // BIAS_HAVE_SWISSRANGER
273 
274  // functions for event handling
275  void OnWindowClose(wxCloseEvent& event);
276  void OnQuit(wxCommandEvent& event);
277  void OnAbout(wxCommandEvent &event);
278  void OnGrab(wxCommandEvent& event);
279  void OnGrabContinuous(wxCommandEvent& event);
280  void OnGrabToStream(wxCommandEvent& event);
281  void OnShowImage(wxCommandEvent& event);
282  void OnShowController(wxCommandEvent& event);
283  void OnSaveParameters(wxCommandEvent& event);
284  void OnShowParameters(wxCommandEvent& event);
285  void OnFindIEEE1394(wxCommandEvent& event);
286  void OnFindUEye(wxCommandEvent& event);
287  void OnFindPMDZess(wxCommandEvent& event);
288  void OnFindPMDTec(wxCommandEvent& event);
289  void OnFindSwissRanger(wxCommandEvent& event);
290  void OnFindKinect(wxCommandEvent& event);
291  void OnFindOpenNI(wxCommandEvent& event);
292  void OnFindKinect2(wxCommandEvent& event);
293  void OnFindWebcams(wxCommandEvent& event);
294  void OnOpenFlirController(wxCommandEvent& event);
295  void OnOpenViscaController(wxCommandEvent& event);
296  void OnOpenDPController(wxCommandEvent& event);
297  void OnChangeDeviceChannel(wxCommandEvent& event);
298  void OnChangeVideoMode(wxCommandEvent& event);
299  void OnChangeActivate(wxCommandEvent& event);
300  void OnChangeTrigger(wxCommandEvent& event);
301  void OnChangeFirewireB(wxCommandEvent& event);
302  void OnTimer(wxTimerEvent& event);
303  void OnKey(wxKeyEvent& event);
304  void OnFit(wxCommandEvent& event);
305  void OnKeepScrollPosition(wxCommandEvent& event);
306  void OnClickCamerasListBox(wxCommandEvent& event);
307  void OnHideCamerasListBox(wxCommandEvent& event);
308  void OnShowCamerasListBox(wxCommandEvent& event);
309 
310  // variables for parameters
311  int *ParamCameras_[NUMBER_CAMERAS]; // camera model
312  int *ParamWidth_[NUMBER_CAMERAS]; // width of cameras
313  int *ParamHeight_[NUMBER_CAMERAS]; // height of camera
314  int *ParamDown_[NUMBER_CAMERAS]; // rescale factor
315  int *ParamPort_[NUMBER_CAMERAS]; // port of NET cameras
316  std::string *ParamIP_[NUMBER_CAMERAS]; // ip of NET cameras
317  std::string *ParamDevice_[NUMBER_CAMERAS]; // device name of camera
318  std::string *ParamBitFile_[NUMBER_CAMERAS]; // bit file for pmd cameras
319  int *ParamColorModel_[NUMBER_CAMERAS]; // color model of camera
320  double *ParamFPS_[NUMBER_CAMERAS]; // frames per second for camera
321 
322 #ifdef BIAS_HAVE_PANTILT_DP
323  // include the Pan-Tilt-Unit?
324  bool *bUsePanTiltUnit_;
325  //Pan Tilt Control
326  BIAS::DPPanTiltControl *panTiltControl_;
327  BIAS::DPPanTiltControlDialog *panTiltControlDialog_;
328 #endif
329 #ifdef BIAS_HAVE_PANTILT
330  wxViscaControlFrame *viscaControllerFrame_;
331 #endif
332  // vector for all cameras read from param file
333  std::vector<BIAS::VideoSource*> Cameras_;
334  std::vector<BIAS::ImageBase::EColorModel> ColorModels_;
335  std::vector<BIAS::VideoSource_Controller_Base*> VideoControllers_;
336 
337  unsigned int FrameCounter_;
338  unsigned int GrabCounter_;
339  unsigned int LastWidth_, LastHeight_;
340  unsigned int Win32DCAMNumber_;
341  unsigned int ShowXB3_;
342  unsigned int dDirIndex_;
343  unsigned int dSingleDirIndex_;
344 
346  int Delay_;
352 
363 
364  std::string currentSaveDir_;
366  std::string sourcePlugin_;
367  std::string procPlugin_;
368 
369  // camera images
370  std::vector<BIAS::Camera<unsigned char>* > CamImg_;
371  std::vector<BIAS::Camera<float>* > CamImgPMDDepth_;
372  std::vector<BIAS::Camera<float>* > CamImgPMDInt_;
373  std::vector<BIAS::Camera<float>* > CamImgPMDAmp_;
374 
375  // images for usb pmd cameras
377 
378  // extra images for bumblebee bx3
379  std::vector<BIAS::Camera<unsigned char>* > CamImgMiddle_;
380  std::vector<BIAS::Camera<unsigned char>* > CamImgRight_;
381  std::vector<BIAS::Camera<unsigned char>* > XB3AllInOne_;
382 
383  // thread handling variables
384  std::vector<wxCondition*> ServerCondition_;
385  std::vector<wxCondition*> ClientsCondition_;
386  std::vector<wxMutex*> ServerMutex_;
387  std::vector<wxMutex*> ClientsMutex_;
388 
389  std::vector<bool> ThreadInited_;
390 
391  std::vector<BIAS::GrabSingleThread*> grabSingleThread_;
392  std::vector<BIAS::ImageSaveThread*> saveThreads_;
393  // the master thread syncronising the grab and save threads
395 
396  std::vector<std::vector<Camera<unsigned char>* >* > ImageBuffer_;
397  std::vector<std::vector<Camera<unsigned char>* >* > ImageBufferMiddle_;
398  std::vector<std::vector<Camera<unsigned char>* >* > ImageBufferRight_;
399 
400  // for pmd
401  std::vector<std::vector<Camera<float>* >* > ImageBufferPMDDepth_;
402  std::vector<std::vector<Camera<float>* >* > ImageBufferPMDAmp_;
403  std::vector<std::vector<Camera<float>* >* > ImageBufferPMDInt_;
404 
405  std::vector<unsigned int> WriteIndex_;
406  std::vector<unsigned int> ReadIndex_;
407  std::vector<wxMutex*> BufferAccess_;
408 
410 
411  std::vector<bool> CameraActive_;
412  std::vector<bool> CameraInitialized_;
413  std::vector<bool> SetFirewireB_;
414  std::vector<bool> SetTrigger_;
415  std::vector<bool> SetUserMode_;
416  std::vector<float> SelectedFps_;
417  std::vector<BIAS::Vector2<int> > Format7LeftTop_;
418  std::vector<BIAS::Vector2<int> > Format7WidthHeight_;
419  std::vector<int> Format7BpP_;
420  std::vector<int> Format7ColorMode_;
421  std::vector<ImageBase::EColorModel> ViewColorMode_;
422  std::vector<int> DeviceChannel_;
423  std::vector<std::vector<std::string> > DeviceChannelNames_;
424 
426  wxSplitterWindow *splitterWindow_;
428  wxListBox *cameraListBox_;
433  wxTimer Timer_;
435  wxFrame *paramFrame_;
436  wxNotebook *paramNotebook_;
437  wxMenu *menuShow;
438  wxMenu* CameraMenu_;
439 
440 #ifdef BIAS_HAVE_DCAM
441  std::vector<CameraInfo> IEEECameraInfo_;
443 #endif
444 
445  std::vector<std::string> cameraNames_;
446 
447  DECLARE_EVENT_TABLE()
448  }; // end of class
449 
450 } // end of namespace MIP
451 
452 #include <Base/Common/BIASpragmaEnd.hh>
453 
454 #endif // __ShowCamWxFrame_hh__
std::string * ParamIP_[NUMBER_CAMERAS]
The main Parameter Gui interface, derived from BIAS::Param and extends this class.
Definition: ParamGUI.hh:88
std::string * ParamBitFile_[NUMBER_CAMERAS]
std::vector< std::vector< Camera< float > * > * > ImageBufferPMDAmp_
void OnChangeVideoMode(wxCommandEvent &event)
virtual ~ShowCamWxFrame()
Destructor.
void OnShowCamerasListBox(wxCommandEvent &event)
void StartSavingImagesToDisk()
Starts the saving from all images to disk from all activated cameras.
std::vector< bool > ThreadInited_
void OnOpenViscaController(wxCommandEvent &event)
void AddUEyeCameraToMenu(int camindex, std::string camId, bool fromFile)
Adds a ueye camera to the menu.
void OnShowController(wxCommandEvent &event)
void StopSavingImagesToDisk()
Stops the saving from all images to disk from all activated cameras.
std::vector< int > Format7ColorMode_
void OnFindOpenNI(wxCommandEvent &event)
std::vector< bool > SetFirewireB_
void CreateMenu()
Creates the menu of the main window.
void AddWebcamToMenu(std::string name, int camindex, bool fromFile)
Adds a v4l or DShow camera to the menu.
Basic controller interface for Directed Perception Pan Tilt Unit.
void OnShowParameters(wxCommandEvent &event)
void InitCamera(int camindex)
try to initialze the device with index camindex
BIAS::GrabMasterThread * grabMasterThread_
std::vector< BIAS::Camera< float > * > CamImgPMDInt_
void InitCombinedImage()
Initializes combined image for selected camera (usb pmd)
void OnFindWebcams(wxCommandEvent &event)
std::vector< CameraInfo > IEEECameraInfo_
void OnShowImage(wxCommandEvent &event)
void OnChangeTrigger(wxCommandEvent &event)
Implementing wxViscaControlFrameInterface.
int ShowFormat7Selector(int camindex, dc1394video_mode_t mode)
Shows the IEEE1394 Format7 selector frame.
std::string * ParamDevice_[NUMBER_CAMERAS]
void OnFindPMDTec(wxCommandEvent &event)
std::vector< BIAS::ImageBase::EColorModel > ColorModels_
std::vector< BIAS::Camera< unsigned char > * > CamImgMiddle_
std::vector< int > Format7BpP_
BIAS::Camera< unsigned char > CamImgCombined_
display image in wx application, provides zoom and investigation functionality
Definition: ImageCanvas.hh:38
std::vector< BIAS::VideoSource_Controller_Base * > VideoControllers_
std::vector< BIAS::Camera< unsigned char > * > CamImgRight_
void OnFindPMDZess(wxCommandEvent &event)
std::vector< unsigned int > WriteIndex_
wxSplitterWindow * splitterWindow_
void InitParams(int &argc, char *argv[])
Initializes all paramaters for param file.
std::vector< unsigned int > ReadIndex_
std::vector< BIAS::Camera< float > * > CamImgPMDDepth_
unsigned int Win32DCAMNumber_
int CreateMasterThread_()
Creates the master thread for handling cameras.
int CreateImageSaveThreadForCamera_(int cameraIndex)
Creates the thread for saving images for a camera.
int * ParamWidth_[NUMBER_CAMERAS]
unsigned int FrameCounter_
void InitCameras()
Initialize cameras with param file.
void ShowParamGUI()
Shows the parameter GUI.
int SelectedModeFromMenu(int camindex)
Selects a mode from the menu of multiple modes are offered for a camera, used e.g.
std::vector< BIAS::Camera< unsigned char > * > CamImg_
void OpenDevices()
Tries to open all specified camera devices.
void OnTimer(wxTimerEvent &event)
wxListBox * cameraListBox_
std::vector< wxMutex * > BufferAccess_
std::string currentSaveDir_
std::vector< wxCondition * > ClientsCondition_
std::vector< std::vector< Camera< unsigned char > * > * > ImageBufferMiddle_
int * ParamColorModel_[NUMBER_CAMERAS]
std::vector< BIAS::Vector2< int > > Format7WidthHeight_
void OnGrabToStream(wxCommandEvent &event)
int CreateGrabThreadForCamera_(int cameraIndex)
Creates the thread for grabbing images for a camera.
std::vector< wxMutex * > ClientsMutex_
std::string currentSingleSaveDir_
wxNotebook * paramNotebook_
wxCheckBox * pCheckBoxKeepScrollPosition
This class hides the underlying projection model, like projection matrix, spherical camera...
Definition: Projection.hh:70
void CleanUpAndExit()
called on end to close cams and exit
wxButton * pButtonController
unsigned int LastHeight_
void OnFindUEye(wxCommandEvent &event)
ShowCamWxFormat7Frame * format7Frame_
void OnKeepScrollPosition(wxCommandEvent &event)
void OnWindowClose(wxCloseEvent &event)
void OnAbout(wxCommandEvent &event)
std::vector< std::vector< Camera< unsigned char > * > * > ImageBufferRight_
void SelectAndShowCameraImage_()
Selects the current image and shows it in image canvas.
int * ParamHeight_[NUMBER_CAMERAS]
void OnClickCamerasListBox(wxCommandEvent &event)
void OnGrab(wxCommandEvent &event)
unsigned int dSingleDirIndex_
BIAS::Camera< unsigned char > ShowImage_
void SaveImageUnthreaded_(int cameraIndex)
Save a image from camera with index cameraIndex.
void OnChangeFirewireB(wxCommandEvent &event)
std::vector< std::vector< Camera< unsigned char > * > * > ImageBuffer_
std::vector< ImageBase::EColorModel > ViewColorMode_
void OnOpenFlirController(wxCommandEvent &event)
std::vector< BIAS::VideoSource * > Cameras_
void OnGrabContinuous(wxCommandEvent &event)
double * ParamFPS_[NUMBER_CAMERAS]
std::vector< wxCondition * > ServerCondition_
int * ParamCameras_[NUMBER_CAMERAS]
void AddIEEECameraToMenu(int camindex, int IEEEIndex, bool fromFile)
Adds a IEEE1394/Firewire camera to the menu.
void CreateCameraMenu()
Creates the menu for the available cameras.
void OnFindSwissRanger(wxCommandEvent &event)
wxTauControlFrame * tauControllerFrame_
void OnFindIEEE1394(wxCommandEvent &event)
std::vector< std::vector< Camera< float > * > * > ImageBufferPMDInt_
void ParseColorModels()
Parses the color models from param file to enum EColorModel.
void OnFit(wxCommandEvent &event)
std::vector< float > SelectedFps_
std::vector< std::string > cameraNames_
wxButton * pButtonContinuous
std::vector< bool > CameraActive_
void OnFindKinect2(wxCommandEvent &event)
std::vector< BIAS::Camera< unsigned char > * > XB3AllInOne_
std::vector< bool > CameraInitialized_
ShowCamWxFrame(const wxString &title, const wxPoint &pos, const wxSize &size)
Constructor.
std::vector< bool > SetUserMode_
std::vector< std::vector< std::string > > DeviceChannelNames_
std::vector< BIAS::Vector2< int > > Format7LeftTop_
void OnSaveParameters(wxCommandEvent &event)
void OnHideCamerasListBox(wxCommandEvent &event)
unsigned int GrabCounter_
void OnOpenDPController(wxCommandEvent &event)
void OnKey(wxKeyEvent &event)
int OpenDevice(int camindex)
try to open the device with index camindex
wxCheckBox * pCheckBoxFit
std::vector< wxMutex * > ServerMutex_
void OnQuit(wxCommandEvent &event)
BIAS::ImageCanvas * IC_
void OnChangeActivate(wxCommandEvent &event)
void OnFindKinect(wxCommandEvent &event)
std::vector< std::vector< Camera< float > * > * > ImageBufferPMDDepth_
std::vector< BIAS::ImageSaveThread * > saveThreads_
std::vector< bool > SetTrigger_
int * ParamPort_[NUMBER_CAMERAS]
std::vector< int > DeviceChannel_
void OnChangeDeviceChannel(wxCommandEvent &event)
class TimeMeasure contains functions for timing real time and cpu time.
Definition: TimeMeasure.hh:111
Implementing wxTauControlFrameInterface.
std::vector< BIAS::GrabSingleThread * > grabSingleThread_
void GrabSingleImageUnthreadedFromCamera_(int cameraIndex)
Grabs an image frmo a camera without using threads.
std::vector< BIAS::Camera< float > * > CamImgPMDAmp_
int * ParamDown_[NUMBER_CAMERAS]
int CloseDevice(int camindex)
try to close the device with index camindex