16 #include "cxResourceExport.h" 19 #include <boost/weak_ptr.hpp> 32 class cxResource_EXPORT
Probe:
public QObject
39 virtual bool isValid()
const = 0;
40 virtual void addXml(QDomNode& dataNode) = 0;
41 virtual void parseXml(QDomNode& dataNode) = 0;
43 virtual QStringList getConfigIdList()
const = 0;
44 virtual QString getConfigName(QString uid) = 0;
45 virtual QString getConfigId()
const = 0;
46 virtual QString getConfigurationPath()
const = 0;
48 virtual void removeCurrentConfig() = 0;
49 virtual void saveCurrentConfig(QString uid, QString name) = 0;
51 virtual void applyNewConfigurationWithId(QString uid) = 0;
52 virtual void setTemporalCalibration(
double val) = 0;
53 virtual void setSoundSpeedCompensationFactor(
double val) = 0;
58 virtual void setActiveStream(QString uid) = 0;
59 virtual QString getActiveStream()
const = 0;
61 virtual QStringList getAvailableVideoSources() = 0;
62 virtual VideoSourcePtr getRTSource(QString uid =
"active")
const = 0;
63 virtual ProbeDefinition getProbeDefinition(QString uid =
"active")
const = 0;
68 void activeConfigChanged();
boost::shared_ptr< Probe > ProbePtr
boost::weak_ptr< Probe > ProbeWeakPtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
boost::shared_ptr< class ProbeSector > ProbeSectorPtr
Definition of characteristics for an Ultrasound Probe Sector.
Namespace for all CustusX production code.