77 probeDefinition.
setSector(depthStart, depthEnd, width);
82 double width = config.
mPixelWidth * double(widtInPixels);
88 probeDefinition.
setSector(depthStart, depthEnd, width);
97 return probeDefinition;
< a easy-to-work-with struct for a specific xml configuration
int mBottomEdge
BottomEdge.
void setSpacing(Vector3D spacing)
double mWidthDeg
width in degrees
US beam is emitted straight forward.
void resample(QSize mSize)
Set a new image size. Resample all other parameters to match this new image size, keeping sizes in mi...
double mPixelWidth
Pixel width.
double mOriginRow
Origin.Row.
void setSector(double depthStart, double depthEnd, double width, double centerOffset=0)
double getDepthStart() const
double getDepthEnd() const
Vector3D getOrigin_p() const
void setOrigin_p(Vector3D origin_p)
US beam is emitted radially in a flat cone.
void setTemporalCalibration(double value)
double mPixelHeight
Pixel height.
void setClipRect_p(DoubleBoundingBox3D clipRect_p)
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.
int mImageWidth
Width of the used image format (x dim)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition of characteristics for an Ultrasound Probe Sector.
Vector3D getSpacing() const
int mImageHeight
Height of the used image format (y dim)
double mTemporalCalibration
delay in timestamping in grabber source relative to master clock.
double getTemporalCalibration() const
DoubleBoundingBox3D getClipRect_p() const
ProbeDefinition createProbeDefinitionFromConfiguration(ProbeXmlConfigParser::Configuration config)
double mOriginCol
Origin.Col.
ProbeXmlConfigParser::Configuration createConfigurationFromProbeDefinition(ProbeXmlConfigParser::Configuration basis, ProbeDefinition data)
Namespace for all CustusX production code.