12 #ifndef __mitkKinectDeviceFactory_h 13 #define __mitkKinectDeviceFactory_h 15 #include <MitkKinectExports.h> 53 return std::string(
"Kinect Factory");
61 return std::string(
"Kinect");
69 ToFCameraDevice::Pointer CreateToFCameraDevice()
73 device->SetBoolProperty(
"HasRGBImage",
true);
74 device->SetBoolProperty(
"HasAmplitudeImage",
false);
75 device->SetBoolProperty(
"HasIntensityImage",
false);
76 device->SetBoolProperty(
"KinectReconstructionMode",
true);
78 return device.GetPointer();
91 return module->
GetResource(
"CalibrationFiles/Kinect_RGB_camera.xml");
std::string GetDeviceNamePrefix()
GetDeviceNamePrefix Main part of a device name.
Virtual interface and base class for all Time-of-Flight device factories. The basic interface is in t...
DataCollection - Class to facilitate loading/accessing structured data.
KinectDeviceFactory()
KinectDeviceFactory Default contructor. This factory internally counts all kinect devices starting at...
KinectDeviceFactory is an implementation of the factory pattern to generate Microsoft Kinect devices...
Module * GetModule() const
ModuleResource GetResource(const std::string &path) const
std::string GetFactoryName()
Get the name of the factory, here for the Kinect.
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.