Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkToFCameraPMDO3DeviceFactory.h
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
============================================================================*/
12
#ifndef mitkToFCameraPMDO3DeviceFactory_h
13
#define mitkToFCameraPMDO3DeviceFactory_h
14
15
#include <MitkPMDExports.h>
16
#include "
mitkToFCameraPMDO3Device.h
"
17
#include "
mitkAbstractToFDeviceFactory.h
"
18
#include <
mitkCameraIntrinsics.h
>
19
#include <
mitkCameraIntrinsicsProperty.h
>
20
#include <
mitkToFConfig.h
>
21
22
23
namespace
mitk
24
{
32
class
MITKPMD_EXPORT
ToFCameraPMDO3DeviceFactory
:
public
itk::LightObject,
public
AbstractToFDeviceFactory
{
33
34
public
:
35
ToFCameraPMDO3DeviceFactory
()
36
{
37
}
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
55
private
:
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
mitkToFCameraPMDO3Device.h
mitkCameraIntrinsics.h
mitk::ToFCameraPMDO3Device::New
static Pointer New()
mitk::ToFCameraPMDO3DeviceFactory::ToFCameraPMDO3DeviceFactory
ToFCameraPMDO3DeviceFactory()
Definition:
mitkToFCameraPMDO3DeviceFactory.h:35
mitk::ToFCameraPMDO3DeviceFactory
ToFCameraPMDO3DeviceFactory is an implementation of the factory pattern to generate Do3 Devices....
Definition:
mitkToFCameraPMDO3DeviceFactory.h:32
mitk::ToFCameraPMDO3DeviceFactory::GetFactoryName
std::string GetFactoryName()
Defining the Factories Name, here for the ToFPMDO3Device.
Definition:
mitkToFCameraPMDO3DeviceFactory.h:42
mitkToFConfig.h
mitkCameraIntrinsicsProperty.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitkAbstractToFDeviceFactory.h
mitk::AbstractToFDeviceFactory
Virtual interface and base class for all Time-of-Flight device factories. The basic interface is in t...
Definition:
mitkAbstractToFDeviceFactory.h:32
src
MITK
Modules
ToFHardware
PMD
mitkToFCameraPMDO3DeviceFactory.h
Generated on Wed May 17 2023 16:26:12 for Medical Imaging Interaction Toolkit by
1.8.17