20 #ifndef CXPROBEIMPL_H_ 21 #define CXPROBEIMPL_H_ 23 #include "cxResourceExport.h" 48 virtual bool isValid()
const;
50 virtual QStringList getAvailableVideoSources();
52 virtual ProbeDefinition getProbeDefinition(QString uid =
"active")
const;
55 virtual void addXml(QDomNode& dataNode);
56 virtual void parseXml(QDomNode& dataNode);
58 virtual QStringList getConfigIdList()
const;
59 virtual QString getConfigName(QString uid);
60 virtual QString getConfigId()
const;
61 virtual QString getConfigurationPath()
const;
63 virtual void applyNewConfigurationWithId(QString uid);
64 virtual void setTemporalCalibration(
double val);
65 virtual void setSoundSpeedCompensationFactor(
double val);
70 virtual void setActiveStream(QString uid);
71 virtual QString getActiveStream()
const;
74 virtual void removeCurrentConfig();
75 virtual void saveCurrentConfig(QString uid, QString name);
77 QString getRtSourceName(QString configurationId =
"")
const;
80 ProbeImpl(QString instrumentUid, QString scannerUid);
84 QString getInstrumentId()
const;
85 QString getInstrumentScannerId()
const;
86 bool hasRtSource()
const;
88 void setConfigId(QString uid);
89 void updateProbeSector();
90 bool isValidConfigId();
92 void updateTemporalCalibration();
96 std::map<QString, ProbeDefinition> mProbeDefinition;
97 std::map<QString, VideoSourcePtr> mSource;
100 QString mInstrumentUid;
102 double mSoundSpeedCompensationFactor;
103 bool mOverrideTemporalCalibration;
104 double mTemporalCalibration;
107 QString mConfigurationId;
110 QString findRtSource(QString configId)
const;
< a easy-to-work-with struct for a specific xml configuration
boost::weak_ptr< Probe > ProbeWeakPtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
boost::shared_ptr< ProbeXmlConfigParser > ProbeXmlConfigParserPtr
boost::shared_ptr< class ProbeSector > ProbeSectorPtr
Definition of characteristics for an Ultrasound Probe Sector.
boost::shared_ptr< class ProbeImpl > ProbeImplPtr
Namespace for all CustusX production code.