Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::IToFDeviceFactory Struct Referenceabstract

This is the base of class for all ToFDeviceFactories. More...

#include <mitkIToFDeviceFactory.h>

Inheritance diagram for mitk::IToFDeviceFactory:

Public Member Functions

virtual ~IToFDeviceFactory ()
 
virtual std::string GetFactoryName ()=0
 GetFactoryName Get the human readable name of the factory. More...
 
virtual std::string GetCurrentDeviceName ()=0
 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.). More...
 
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. More...
 

Detailed Description

This is the base of class for all ToFDeviceFactories.

It is an interface of the factory pattern. You can create a specialized ToF device factory in the inherited class.

Definition at line 29 of file mitkIToFDeviceFactory.h.

Constructor & Destructor Documentation

◆ ~IToFDeviceFactory()

virtual mitk::IToFDeviceFactory::~IToFDeviceFactory ( )
virtual

Member Function Documentation

◆ CreateToFCameraDevice()

virtual ToFCameraDevice::Pointer mitk::IToFDeviceFactory::CreateToFCameraDevice ( )
pure virtual

CreateToFCameraDevice Create a new device of the respective factory. E.g. a "KinectFactory" creates a KinectDevice.

Returns
A ToFCameraDevice.

◆ GetCurrentDeviceName()

virtual std::string mitk::IToFDeviceFactory::GetCurrentDeviceName ( )
pure virtual

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.).

Returns
The human readable name of the current device as string.

Implemented in mitk::AbstractToFDeviceFactory, and mitk::ToFCameraMESASR4000DeviceFactory.

◆ GetDeviceNamePrefix()

◆ GetFactoryName()


The documentation for this struct was generated from the following file: