|
MITK-IGT
IGT Extension of MITK
|
ToFCameraPMDO3DeviceFactory is an implementation of the factory pattern to generate Do3 Devices. ToFPMDCamCubeDeviceFactory inherits from AbstractToFDeviceFactory which is a MicroService interface. This offers users the oppertunity to generate new Cam Cube Devices via a global instance of this factory. More...
#include <mitkToFCameraPMDO3DeviceFactory.h>
Public Member Functions | |
| ToFCameraPMDO3DeviceFactory () | |
| std::string | GetFactoryName () |
| Defining the Factories Name, here for the ToFPMDO3Device. | |
| std::string | GetFactoryName () |
| GetFactoryName Main part of the device name. | |
Public Member Functions inherited from mitk::AbstractToFDeviceFactory | |
| ToFCameraDevice::Pointer | ConnectToFDevice () |
| ConnectToFDevice Use this method to connect a device. | |
| void | DisconnectToFDevice (const ToFCameraDevice::Pointer &device) |
| DisconnectToFDevice Use this method to disconnect a device. | |
| size_t | GetNumberOfDevices () |
| GetNumberOfDevices Get the number of devices produced by this factory. This function will return the number of registered devices to account for created and disconnected devices. | |
| std::string | GetCurrentDeviceName () override |
| GetCurrentDeviceName Get the human readable name of the current device. A factory can produce many device and give ordered names for each device (e.g. number them like Device_1, Device_2, etc.). | |
Public Member Functions inherited from mitk::IToFDeviceFactory | |
| virtual | ~IToFDeviceFactory () |
| virtual std::string | GetDeviceNamePrefix ()=0 |
| virtual ToFCameraDevice::Pointer | CreateToFCameraDevice ()=0 |
| CreateToFCameraDevice Create a new device of the respective factory. E.g. a "KinectFactory" creates a KinectDevice. | |
Additional Inherited Members | |
Protected Member Functions inherited from mitk::AbstractToFDeviceFactory | |
| CameraIntrinsics::Pointer | GetCameraIntrinsics () |
| Returns the CameraIntrinsics for the cameras created by this factory. | |
| virtual us::ModuleResource | GetIntrinsicsResource () |
| Returns the ModuleResource that contains a xml definition of the CameraIntrinsics. | |
Protected Attributes inherited from mitk::AbstractToFDeviceFactory | |
| std::vector< ToFCameraDevice::Pointer > | m_Devices |
| m_Devices A list (vector) containing all connected devices of the respective factory. | |
| std::map< ToFCameraDevice *, us::ServiceRegistration< ToFCameraDevice > > | m_DeviceRegistrations |
| m_DeviceRegistrations A map containing all the pairs of device registration numbers and devices. | |
ToFCameraPMDO3DeviceFactory is an implementation of the factory pattern to generate Do3 Devices. ToFPMDCamCubeDeviceFactory inherits from AbstractToFDeviceFactory which is a MicroService interface. This offers users the oppertunity to generate new Cam Cube Devices via a global instance of this factory.
Definition at line 32 of file mitkToFCameraPMDO3DeviceFactory.h.
|
inline |
Definition at line 35 of file mitkToFCameraPMDO3DeviceFactory.h.
|
inlinevirtual |
Defining the Factories Name, here for the ToFPMDO3Device.
Implements mitk::IToFDeviceFactory.
Definition at line 42 of file mitkToFCameraPMDO3DeviceFactory.h.
|
inlinevirtual |
GetFactoryName Main part of the device name.
Implements mitk::IToFDeviceFactory.
Definition at line 50 of file mitkToFCameraPMDO3DeviceFactory.h.