text: /*===================================================================
  
  The Medical Imaging Interaction Toolkit (MITK)
  
  Copyright (c) German Cancer Research Center,
  Division of Medical and Biological Informatics.
  All rights reserved.
  
  This software is distributed WITHOUT ANY WARRANTY; without
  even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.
  
  See LICENSE.txt or http://www.mitk.org for details.
  
  ===================================================================*/
  #include "mitkToFCameraPMDCamBoardDevice.h"
  #include "mitkToFCameraPMDCamBoardController.h"
  #include "mitkRealTimeClock.h"
  
  #include "itkMultiThreader.h"
  
  
  namespace mitk
  {
    ToFCameraPMDCamBoardDevice::ToFCameraPMDCamBoardDevice()
    {
      m_Controller = ToFCameraPMDCamBoardController::New();
    }
  
    ToFCameraPMDCamBoardDevice::~ToFCameraPMDCamBoardDevice()
    {
    }
  
    void ToFCameraPMDCamBoardDevice::SetRegionOfInterest(unsigned int leftUpperCornerX, unsigned int leftUpperCornerY, unsigned int width, unsigned int height)
    {
      if (m_Controller.IsNotNull())
      {
        dynamic_cast<ToFCameraPMDCamBoardController*>(m_Controller.GetPointer())->SetRegionOfInterest(leftUpperCornerX,leftUpperCornerY,width,height);
      }
    }
  
    void ToFCameraPMDCamBoardDevice::SetProperty( const char *propertyKey, BaseProperty* propertyValue )
    {
      this->m_PropertyList->SetProperty(propertyKey, propertyValue);
    }
  }
  