12#ifndef mitkToFCameraPMDCamCubeDeviceFactory_h
13#define mitkToFCameraPMDCamCubeDeviceFactory_h
15#include <MitkPMDExports.h>
20#include <mitkToFConfig.h>
23#include <usServiceRegistration.h>
24#include <usModuleContext.h>
25#include <usGetModuleContext.h>
27#include <usModuleResource.h>
28#include <usModuleResourceStream.h>
56 return std::string(
"PMD Camcube 2.0/3.0 Factory ");
64 return std::string(
"PMD CamCube 2.0/3.0");
71 ToFCameraDevice::Pointer CreateToFCameraDevice()
73 ToFCameraPMDCamCubeDevice::Pointer device = ToFCameraPMDCamCubeDevice::New();
75 device->SetBoolProperty(
"HasRGBImage",
false);
76 device->SetBoolProperty(
"HasAmplitudeImage",
true);
77 device->SetBoolProperty(
"HasIntensityImage",
true);
79 return device.GetPointer();
87 us::ModuleResource GetIntrinsicsResource()
89 us::Module* module = us::GetModuleContext()->GetModule();
90 return module->GetResource("CalibrationFiles/PMDCamCube3_camera.xml");
ToFPMDCamBoardDeviceFactory is an implementation of the factory pattern to generate Cam Cube Devices....
std::string GetDeviceNamePrefix()
GetDeviceNamePrefix Main part of the device name.
std::string GetFactoryName()
GetCurrentDeviceName Get the name of the current Cam Cube. First device is named "PMD CamCube 2....
ToFCameraPMDCamCubeDeviceFactory()
ToFCameraPMDCamCubeDeviceFactory Default contructor. This factory internally counts all Cam Cube devi...
Virtual interface and base class for all Time-of-Flight device factories. The basic interface is in t...