41 #ifndef CXPROBEIMPL_H_ 42 #define CXPROBEIMPL_H_ 44 #include "cxResourceExport.h" 69 virtual bool isValid()
const;
71 virtual QStringList getAvailableVideoSources();
73 virtual ProbeDefinition getProbeDefinition(QString uid =
"active")
const;
76 virtual void addXml(QDomNode& dataNode);
77 virtual void parseXml(QDomNode& dataNode);
79 virtual QStringList getConfigIdList()
const;
80 virtual QString getConfigName(QString uid);
81 virtual QString getConfigId()
const;
82 virtual QString getConfigurationPath()
const;
84 virtual void applyNewConfigurationWithId(QString uid);
85 virtual void setTemporalCalibration(
double val);
86 virtual void setSoundSpeedCompensationFactor(
double val);
91 virtual void setActiveStream(QString uid);
92 virtual QString getActiveStream()
const;
95 virtual void removeCurrentConfig();
96 virtual void saveCurrentConfig(QString uid, QString name);
98 QString getRtSourceName(QString configurationId =
"")
const;
101 ProbeImpl(QString instrumentUid, QString scannerUid);
105 QString getInstrumentId()
const;
106 QString getInstrumentScannerId()
const;
107 bool hasRtSource()
const;
109 void setConfigId(QString uid);
110 void updateProbeSector();
111 bool isValidConfigId();
113 void updateTemporalCalibration();
117 std::map<QString, ProbeDefinition> mProbeDefinition;
118 std::map<QString, VideoSourcePtr> mSource;
121 QString mInstrumentUid;
123 double mSoundSpeedCompensationFactor;
124 bool mOverrideTemporalCalibration;
125 double mTemporalCalibration;
128 QString mConfigurationId;
131 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.