Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkToFCameraPMDCamCubeController.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 __mitkToFCameraPMDCamCubeController_h
17 #define __mitkToFCameraPMDCamCubeController_h
18 
19 #include <MitkPMDExports.h>
20 #include "mitkCommon.h"
22 
23 #include "itkObject.h"
24 #include "itkObjectFactory.h"
25 
26 namespace mitk
27 {
35  {
36  public:
37 
39 
40  itkFactorylessNewMacro(Self)
41  itkCloneMacro(Self)
42 
43 
47  virtual bool OpenCameraConnection();
53  bool SetDistanceOffset( float offset );
58  float GetDistanceOffset();
67  bool SetRegionOfInterest( unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height );
73  bool SetRegionOfInterest( unsigned int roi[4] );
78  unsigned int* GetRegionOfInterest();
85  bool SetExposureMode( int mode );
91  bool SetFieldOfView( float fov );
97  bool SetFPNCalibration( bool on );
103  bool SetFPPNCalibration( bool on );
109  bool SetLinearityCalibration( bool on );
115  bool SetLensCalibration( bool on );
116 
117  protected:
118 
119  virtual void TransformCameraOutput(float* in, float* out, bool isDist);
120 
122 
124 
125  private:
126 
127  };
128 } //END mitk namespace
129 #endif
DataCollection - Class to facilitate loading/accessing structured data.
Virtual interface and base class for all PMD Time-of-Flight devices. Wraps PMD API provided in PMDSDK...
static Vector3D offset
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Interface to the Time-of-Flight (ToF) camera PMD CamCube.
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)
Definition: jsoncpp.cpp:244