Medical Imaging Interaction Toolkit  2023.04.00
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 );
54  float GetDistanceOffset();
63  bool SetRegionOfInterest( unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height );
69  bool SetRegionOfInterest( unsigned int roi[4] );
74  unsigned int* GetRegionOfInterest();
81  bool SetExposureMode( int mode );
87  bool SetFieldOfView( float fov );
93  bool SetFPNCalibration( bool on );
99  bool SetFPPNCalibration( bool on );
105  bool SetLinearityCalibration( bool on );
111  bool SetLensCalibration( bool on );
112 
113  protected:
114 
115  virtual void TransformCameraOutput(float* in, float* out, bool isDist);
116 
118 
120 
121  private:
122 
123  };
124 } //END mitk namespace
125 #endif
mitkToFCameraPMDController.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkCommon.h
mitk::ToFCameraPMDController
Virtual interface and base class for all PMD Time-of-Flight devices. Wraps PMD API provided in PMDSDK...
Definition: mitkToFCameraPMDController.h:31
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ToFCameraPMDCamCubeController
Interface to the Time-of-Flight (ToF) camera PMD CamCube.
Definition: mitkToFCameraPMDCamCubeController.h:30