Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkSpectroCamController.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef mitkSpectroCamController_h
17 #define mitkSpectroCamController_h
18 
19 #include <string>
20 
21 
22 #include <MitkSpectroCamExports.h>
23 #include <mitkImage.h>
24 
25 namespace mitk
26 {
27  // forward declaration of the implementation for the SpectroCam
28  class SpectroCamController_pimpl;
29 
36  class MITKSPECTROCAM_EXPORT SpectroCamController
37  {
38  public:
41 
42  bool Ini();
43  int OpenCameraConnection();
44  int CloseCameraConnection();
45  bool isCameraRunning();
46 
50  mitk::Image::Pointer GetCurrentImage();
51 
52  void SetCurrentImageAsWhiteBalance();
53 
54  private:
55  SpectroCamController_pimpl* m_SpectroCamController_pimpl;
56  };
57 
58 }
59 #endif
DataCollection - Class to facilitate loading/accessing structured data.
Controller for Pixelteq SpectroCam.