17 #ifndef MITKUSVideoDevice_H_HEADER_INCLUDED_
18 #define MITKUSVideoDevice_H_HEADER_INCLUDED_
20 #include <MitkUSExports.h>
25 #include <itkObjectFactory.h>
28 template<
class T>
class SmartPointer;
32 class USVideoDeviceCustomControls;
33 class USAbstractControlInterface;
60 virtual std::string GetDeviceClass()
override;
69 static std::string GetDeviceClassStatic();
85 void UnregisterOnService();
97 std::vector<mitk::USProbe::Pointer> GetAllProbes();
120 void RemoveProbeByName(std::string name);
125 bool GetIsSourceFile();
128 itkGetMacro(DeviceID,
int);
129 itkGetMacro(FilePath, std::string);
137 USVideoDevice(
int videoDeviceNumber, std::string manufacturer, std::string model);
141 USVideoDevice(std::string videoFilePath, std::string manufacturer, std::string model);
164 virtual bool OnInitialization()
override;
170 virtual bool OnConnection()
override;
176 virtual bool OnDisconnection()
override;
181 virtual bool OnActivation()
override;
186 virtual bool OnDeactivation()
override;
225 #endif // MITKUSVideoDevice_H_HEADER_INCLUDED_
A device holds information about it's model, make and the connected probes. It is the common super cl...
itk::SmartPointer< Self > Pointer
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< USVideoDeviceCustomControls > m_ControlInterfaceCustom
custom control interface for us video device
int m_DeviceID
The device id to connect to. Undefined, if m_SourceIsFile == true;.
#define mitkNewMacro2Param(classname, typea, typeb)
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
bool m_SourceIsFile
True, if this source plays back a file, false if it recieves data from a device.
mitk::USProbe::Pointer m_CurrentProbe
probe that is currently in use
std::string m_FilePath
The Filepath id to connect to. Undefined, if m_SourceIsFile == false;.
std::vector< mitk::USProbe::Pointer > m_Probes
probes for this USVideoDevice
#define mitkNewMacro3Param(classname, typea, typeb, typec)
A mitk::USVideoDevice is the common class for video only devices. They capture video input either fro...
mitk::USImageVideoSource::Pointer m_Source
The image source that we use to aquire data.