Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkToFCameraPMDCamBoardDevice.cpp
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 ============================================================================*/
14 #include "mitkRealTimeClock.h"
15 
16 #include "itkMultiThreader.h"
17 
18 
19 namespace mitk
20 {
22  {
24  }
25 
27  {
28  }
29 
30  void ToFCameraPMDCamBoardDevice::SetRegionOfInterest(unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height)
31  {
32  if (m_Controller.IsNotNull())
33  {
34  dynamic_cast<ToFCameraPMDCamBoardController*>(m_Controller.GetPointer())->SetRegionOfInterest(leftUpperCornerX,leftUpperCornerY,width,height);
35  }
36  }
37 
38  void ToFCameraPMDCamBoardDevice::SetProperty( const char *propertyKey, BaseProperty* propertyValue )
39  {
40  this->m_PropertyList->SetProperty(propertyKey, propertyValue);
41  }
42 }
DataCollection - Class to facilitate loading/accessing structured data.
PropertyList::Pointer m_PropertyList
a list of the corresponding properties
Interface to the Time-of-Flight (ToF) camera PMD CamBoard.
ToFCameraPMDController::Pointer m_Controller
corresponding CameraController
Abstract base class for properties.
void SetRegionOfInterest(unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height)
Setting the region of interest, the camera is configured to only output a certain area of the image...
virtual void SetProperty(const char *propertyKey, BaseProperty *propertyValue)
set a BaseProperty