44 if (
m_Name.compare(probe->GetName()) == 0)
return true;
61 defaultSpacing[0] = 1;
62 defaultSpacing[1] = 1;
63 defaultSpacing[2] = 1;
86 spacing[0] = it->second[0];
87 spacing[1] = it->second[1];
88 spacing[2] = it->second[2];
std::map< int, Vector3D > GetDepthsAndSpacing()
Gets all scanning depths and the associates spacings of the probe as an std::map with depth as key (r...
USProbeCropping GetProbeCropping()
bool IsDepthAndSpacingEmpty()
Checks, whether the std::map m_DepthAndSpacings contains at least one depth element or not...
std::map< int, Vector3D > m_DepthsAndSpacings
bool IsEqualToProbe(mitk::USProbe::Pointer probe)
Compares this probe to another probe and returns true if they are equal in terms of name AND NAME ONL...
Vector3D GetSpacingForGivenDepth(int givenDepth)
Returns the spacing that is associated to the given depth of the probe. If spacing was not calibrated...
void SetSpacingForGivenDepth(int givenDepth, Vector3D spacing)
void SetProbeCropping(unsigned int top, unsigned int bottom, unsigned int left, unsigned int right)
Sets the probe cropping.
USProbeCropping m_Cropping
void SetDepthAndSpacing(int depth, Vector3D spacing)
Sets a scanning depth of the probe and the associated spacing.
void SetDepth(int depth)
Sets a scanning depth of the probe with the default spacing (1,1,1). Exact spacing needs to be calibr...
void RemoveDepth(int depthToRemove)
Removes the given depth of the probe, if it exists.
Struct to define a probe specific ultrasound image cropping.