14 #ifndef mitkUSDeviceReaderXML_h
15 #define mitkUSDeviceReaderXML_h
17 #include <MitkUSExports.h>
36 bool ReadUltrasoundDeviceConfiguration();
38 void SetFilename(std::string filename);
61 std::vector <mitk::USProbe::Pointer>
probes;
64 : fileversion(0), deviceType(
"Unknown"), deviceName(
"Unknown"),
65 manufacturer(
"Unknown"), comment(
""), host(
"localhost"),
66 port(18944), server(false), numberOfImageStreams(1),
67 useGreyscale(true), useResolutionOverride(true),
68 resolutionWidth(640), resolutionHeight(480), sourceID(0),
69 filepathVideoSource(
""), opencvPort(0)
74 USDeviceConfigData &GetUSDeviceConfigData();
77 std::vector<itk::SmartPointer<BaseData>> DoRead()
override;
85 void ExtractAttributeInformationOfUltrasoundDeviceTag(
const tinyxml2::XMLElement *element);
90 void ExtractAttributeInformationOfGeneralSettingsTag(
const tinyxml2::XMLElement *element);
95 void ExtractProbe(
const tinyxml2::XMLElement *element);
98 std::string m_Filename;
99 USDeviceConfigData m_DeviceConfig;