13 #ifndef CXPROBEDATA_H_ 14 #define CXPROBEDATA_H_ 16 #include "cxResourceExport.h" 111 void addXml(QDomNode dataNode)
const;
112 void parseXml(QDomNode dataNode);
114 TYPE getType()
const;
115 double getDepthStart()
const;
116 double getDepthEnd()
const;
117 double getWidth()
const;
118 double getTemporalCalibration()
const;
119 double getCenterOffset()
const;
120 void resample(QSize mSize);
121 QString getUid()
const;
123 void setTemporalCalibration(
double value);
124 void setType(
TYPE type);
125 void setSector(
double depthStart,
double depthEnd,
double width,
double centerOffset = 0);
126 void setUid(QString uid);
128 void updateClipRectFromSector();
129 void updateSectorFromClipRect();
130 void applySoundSpeedCompensationFactor(
double factor);
131 double getSoundSpeedCompensationFactor()
const;
139 QSize getSize()
const;
141 void setOrigin_p(
Vector3D origin_p);
144 void setSize(QSize size);
146 void setUseDigitalVideo(
bool val);
147 bool getUseDigitalVideo()
const;
149 void setVariable(QString variableName, QVariant value);
150 QVariant getVariable(QString variableName);
157 double mTemporalCalibration;
158 double mCenterOffset;
159 double mSoundSpeedCompensationFactor;
171 void addImageXml(QDomNode dataNode)
const;
172 void parseImageXml(QDomNode dataNode);
174 QMap<QString, QVariant> mAdditionalVariables;
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition of characteristics for an Ultrasound Probe Sector.
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Namespace for all CustusX production code.