13 #ifndef mitkUSVideoDevice_h
14 #define mitkUSVideoDevice_h
16 #include <MitkUSExports.h>
21 #include <itkObjectFactory.h>
24 template<
class T>
class SmartPointer;
28 class USVideoDeviceCustomControls;
29 class USAbstractControlInterface;
56 std::string GetDeviceClass()
override;
65 static std::string GetDeviceClassStatic();
81 void UnregisterOnService();
86 USImageSource::Pointer GetUSImageSource()
override;
93 std::vector<mitk::USProbe::Pointer> GetAllProbes()
override;
98 void DeleteAllProbes()
override;
105 mitk::USProbe::Pointer GetCurrentProbe()
override;
110 void AddNewProbe(mitk::USProbe::Pointer probe)
override;
116 mitk::USProbe::Pointer GetProbeByName(std::string name)
override;
121 void RemoveProbeByName(std::string name)
override;
126 bool GetIsSourceFile();
132 void SetDefaultProbeAsCurrentProbe()
override;
137 void SetCurrentProbe( std::string probename )
override;
142 void SetSpacing(
double xSpacing,
double ySpacing )
override;
144 itkGetMacro(ImageVector, std::vector<mitk::Image::Pointer>);
145 itkGetMacro(DeviceID,
int);
146 itkGetMacro(FilePath, std::string);
154 USVideoDevice(
int videoDeviceNumber, std::string manufacturer, std::string model);
158 USVideoDevice(std::string videoFilePath, std::string manufacturer, std::string model);
164 USVideoDevice(
int videoDeviceNumber, mitk::USImageMetadata::Pointer metadata);
168 USVideoDevice(std::string videoFilePath, mitk::USImageMetadata::Pointer metadata);
181 bool OnInitialization()
override;
187 bool OnConnection()
override;
193 bool OnDisconnection()
override;
198 bool OnActivation()
override;
203 bool OnDeactivation()
override;
209 void GenerateData()
override;