37 #include "cxResourceExport.h" 40 #include <boost/weak_ptr.hpp> 53 class cxResource_EXPORT
Probe:
public QObject
60 virtual bool isValid()
const = 0;
61 virtual void addXml(QDomNode& dataNode) = 0;
62 virtual void parseXml(QDomNode& dataNode) = 0;
64 virtual QStringList getConfigIdList()
const = 0;
65 virtual QString getConfigName(QString uid) = 0;
66 virtual QString getConfigId()
const = 0;
67 virtual QString getConfigurationPath()
const = 0;
69 virtual void removeCurrentConfig() = 0;
70 virtual void saveCurrentConfig(QString uid, QString name) = 0;
72 virtual void applyNewConfigurationWithId(QString uid) = 0;
73 virtual void setTemporalCalibration(
double val) = 0;
74 virtual void setSoundSpeedCompensationFactor(
double val) = 0;
79 virtual void setActiveStream(QString uid) = 0;
80 virtual QString getActiveStream()
const = 0;
82 virtual QStringList getAvailableVideoSources() = 0;
83 virtual VideoSourcePtr getRTSource(QString uid =
"active")
const = 0;
84 virtual ProbeDefinition getProbeDefinition(QString uid =
"active")
const = 0;
89 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.