MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkToFCameraPMDCamBoardController.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 mitkToFCameraPMDCamBoardController_h
13#define mitkToFCameraPMDCamBoardController_h
14
15#include "MitkPMDExports.h"
16#include "mitkCommon.h"
18
19#include "itkObject.h"
20#include "itkObjectFactory.h"
21
22namespace mitk
23{
31 {
32 public:
33
35
37
39
44 virtual bool OpenCameraConnection();
49 bool SetDistanceOffset( float offset );
53 float GetDistanceOffset();
61 bool SetRegionOfInterest( unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height );
66 bool SetRegionOfInterest( unsigned int roi[4] );
71 unsigned int* GetRegionOfInterest();
76 bool SetFieldOfView( float fov );
77
78 protected:
79
81
83
84 /*
85 \brief Transform the output of the camera, i.e. cut invalid pixels, and rotate 90 degrees
86 counterclockwise
87 \param input data array of original size (207x204)
88 \param rotated output data array of reduced size (200x200)
89 */
90 virtual void TransformCameraOutput(float* in, float* out, bool isDist);
91
92 };
93} //END mitk namespace
94#endif
Interface to the Time-of-Flight (ToF) camera PMD CamBoard.
mitkClassMacro(ToFCameraPMDCamBoardController, ToFCameraPMDController)
Virtual interface and base class for all PMD Time-of-Flight devices. Wraps PMD API provided in PMDSDK...
IGT Exceptions.