12#ifndef mitkAbstractToFDeviceFactory_h
13#define mitkAbstractToFDeviceFactory_h
15#include <MitkToFHardwareExports.h>
19#include <usServiceRegistration.h>
20#include <usModuleResource.h>
39 ToFCameraDevice::Pointer ConnectToFDevice();
45 void DisconnectToFDevice(
const ToFCameraDevice::Pointer& device);
54 size_t GetNumberOfDevices();
58 std::stringstream name;
59 if(this->GetNumberOfDevices()>1)
61 name << this->GetDeviceNamePrefix()<<
" "<< this->GetNumberOfDevices();
65 name << this->GetDeviceNamePrefix();
78 CameraIntrinsics::Pointer GetCameraIntrinsics();
87 virtual us::ModuleResource GetIntrinsicsResource();
Virtual interface and base class for all Time-of-Flight device factories. The basic interface is in t...
std::string GetCurrentDeviceName() override
GetCurrentDeviceName Get the human readable name of the current device. A factory can produce many de...
std::map< ToFCameraDevice *, us::ServiceRegistration< ToFCameraDevice > > m_DeviceRegistrations
m_DeviceRegistrations A map containing all the pairs of device registration numbers and devices.
std::vector< ToFCameraDevice::Pointer > m_Devices
m_Devices A list (vector) containing all connected devices of the respective factory.
This is the base of class for all ToFDeviceFactories.