Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef __mitkToFCameraPMDCamCubeController_h
13 #define __mitkToFCameraPMDCamCubeController_h
14 
15 #include <MitkPMDExports.h>
16 #include "mitkCommon.h"
18 
19 #include "itkObject.h"
20 #include "itkObjectFactory.h"
21 
22 namespace mitk
23 {
31  {
32  public:
33 
35 
36  itkFactorylessNewMacro(Self);
37 
38  itkCloneMacro(Self);
39 
44  virtual bool OpenCameraConnection();
50  bool SetDistanceOffset( float offset );
55  float GetDistanceOffset();
64  bool SetRegionOfInterest( unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height );
70  bool SetRegionOfInterest( unsigned int roi[4] );
75  unsigned int* GetRegionOfInterest();
82  bool SetExposureMode( int mode );
88  bool SetFieldOfView( float fov );
94  bool SetFPNCalibration( bool on );
100  bool SetFPPNCalibration( bool on );
106  bool SetLinearityCalibration( bool on );
112  bool SetLensCalibration( bool on );
113 
114  protected:
115 
116  virtual void TransformCameraOutput(float* in, float* out, bool isDist);
117 
119 
121 
122  private:
123 
124  };
125 } //END mitk namespace
126 #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:40
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