Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkToFCameraPMDPlayerController.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 mitkToFCameraPMDPlayerController_h
13 #define mitkToFCameraPMDPlayerController_h
14 
15 #include <MitkPMDExports.h>
17 
18 #include "itkObject.h"
19 #include "itkObjectFactory.h"
20 
21 namespace mitk
22 {
30  {
31  public:
32 
34 
35  itkFactorylessNewMacro(Self);
36 
37  itkCloneMacro(Self);
38 
39  itkSetMacro(PMDFileName, std::string);
40 
41  itkGetMacro(PMDFileName, std::string);
42 
46  bool OpenCameraConnection();
52  int SetModulationFrequency(unsigned int modulationFrequency);
58  int SetIntegrationTime(unsigned int integrationTime);
59 
60  protected:
61 
62  /*
63  \brief Transform method used for phyical camera devices. For the player no transform is needed.
64  */
65  virtual void TransformCameraOutput(float* in, float* out, bool isDist){};
66 
68 
70 
71  std::string m_PMDFileName;
72 
73  private:
74  unsigned int m_NumOfFrames;
75 
76  };
77 } //END mitk namespace
78 #endif
mitk::ToFCameraPMDPlayerController::TransformCameraOutput
virtual void TransformCameraOutput(float *in, float *out, bool isDist)
Definition: mitkToFCameraPMDPlayerController.h:65
mitkToFCameraPMDController.h
mitk::ToFCameraPMDPlayerController
Interface to read ToF data from a PMD file.
Definition: mitkToFCameraPMDPlayerController.h:29
mitk::ToFCameraPMDPlayerController::m_PMDFileName
std::string m_PMDFileName
File name of the pmd data stream.
Definition: mitkToFCameraPMDPlayerController.h:71
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
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