17 #ifndef MITKUSCombinedModality_H_HEADER_INCLUDED_
18 #define MITKUSCombinedModality_H_HEADER_INCLUDED_
20 #include <MitkUSNavigationExports.h>
29 template<
class T>
class SmartPointer;
33 class NavigationDataSmoothingFilter;
34 class NavigationDataDelayFilter;
35 class USControlInterfaceBMode;
36 class USControlInterfaceProbes;
37 class USControlInterfaceDoppler;
99 bool RemoveCalibration();
107 bool RemoveCalibration(std::string depth);
116 bool RemoveCalibration(std::string depth, std::string probe);
121 virtual std::string GetDeviceClass()
override;
153 bool GetIsCalibratedForCurrentStatus();
158 bool GetContainsAtLeastOneCalibration();
166 void UnregisterOnService();
174 std::string SerializeCalibration();
184 void DeserializeCalibration(
const std::string &xmlString,
bool clearPreviousCalibrations =
true);
186 void SetNumberOfSmoothingValues(
unsigned int numberOfSmoothingValues);
188 void SetDelayCount(
unsigned int delayCount);
190 void RegisterAsMicroservice();
206 virtual bool OnInitialization()
override;
211 virtual bool OnConnection()
override;
216 virtual bool OnDisconnection()
override;
221 virtual bool OnActivation()
override;
226 virtual bool OnDeactivation()
override;
231 virtual void OnFreeze(
bool)
override;
237 void GenerateData()
override;
239 std::string GetIdentifierForCurrentCalibration();
240 std::string GetIdentifierForCurrentProbe();
241 std::string GetCurrentDepthValue();
243 void RebuildFilterPipeline();
270 #endif // MITKUSCombinedModality_H_HEADER_INCLUDED_
A device holds information about it's model, make and the connected probes. It is the common super cl...
static const std::string US_PROPKEY_DEVICENAME
itk::SmartPointer< Self > Pointer
itk::SmartPointer< mitk::NavigationDataSource > m_LastFilter
itk::SmartPointer< mitk::NavigationDataDelayFilter > m_DelayFilter
DataCollection - Class to facilitate loading/accessing structured data.
unsigned int m_NumberOfSmoothingValues
unsigned int m_DelayCount
itk::SmartPointer< NavigationDataSource > m_TrackingDevice
static const std::string US_PROPKEY_ID
static const std::string US_PROPKEY_CLASS
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
#define mitkClassMacro(className, SuperClassName)
static const char * DefaultProbeIdentifier
Interface for all Tracking Devices.
US_UNORDERED_MAP_TYPE< std::string, Any > ServiceProperties
static const char * ProbeAndDepthSeperator
USDevice::Pointer m_UltrasoundDevice
itk::SmartPointer< mitk::NavigationDataSmoothingFilter > m_SmoothingFilter
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")
Combination of USDevice and NavigationDataSource. This class can be used as any USDevice subclass...
static const std::string US_INTERFACE_NAME
These Constants are used in conjunction with Microservices.
static const std::string DeviceClassIdentifier
std::map< std::string, AffineTransform3D::Pointer > m_Calibrations