MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkToFCameraPMDO3DeviceFactory.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 mitkToFCameraPMDO3DeviceFactory_h
13#define mitkToFCameraPMDO3DeviceFactory_h
14
15#include <MitkPMDExports.h>
20#include <mitkToFConfig.h>
21
22
23namespace mitk
24{
32class MITKPMD_EXPORT ToFCameraPMDO3DeviceFactory : public itk::LightObject, public AbstractToFDeviceFactory {
33
34public:
38
42 std::string GetFactoryName()
43 {
44 return std::string("PMD O3D Factory");
45 }
46
50 std::string GetFactoryName()
51 {
52 return std::string("PMD O3");
53 }
54
55private:
59 ToFCameraDevice::Pointer createToFCameraDevice()
60 {
61 ToFCameraPMDO3Device::Pointer device = ToFCameraPMDO3Device::New();
62
63 device->SetBoolProperty("HasRGBImage", false);
64 device->SetBoolProperty("HasAmplitudeImage", true);
65 device->SetBoolProperty("HasIntensityImage", true);
66
67 return device.GetPointer();
68 }
69};
70}
71#endif
ToFCameraPMDO3DeviceFactory is an implementation of the factory pattern to generate Do3 Devices....
std::string GetFactoryName()
Defining the Factories Name, here for the ToFPMDO3Device.
IGT Exceptions.
Virtual interface and base class for all Time-of-Flight device factories. The basic interface is in t...