MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkToFCameraPMDPlayerController.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found 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
21namespace mitk
22{
30 {
31 public:
32
34
36
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
Virtual interface and base class for all PMD Time-of-Flight devices. Wraps PMD API provided in PMDSDK...
Interface to read ToF data from a PMD file.
virtual void TransformCameraOutput(float *in, float *out, bool isDist)
mitkClassMacro(ToFCameraPMDPlayerController, ToFCameraPMDController)
itkSetMacro(PMDFileName, std::string)
std::string m_PMDFileName
File name of the pmd data stream.
itkGetMacro(PMDFileName, std::string)
IGT Exceptions.