16#include <MitkUSExports.h>
17#include <mitkCommon.h>
19#include <itkObjectFactory.h>
20#include <mitkVector.h>
30 class MITKUS_EXPORT
USProbe :
public itk::Object
36 mitkNewMacro1Param(Self, std::string);
49 : top(0), bottom(0), left(0), right(0) { };
51 USProbeCropping_(
unsigned int top,
unsigned int bottom,
unsigned int left,
unsigned int right)
52 : top(top), bottom(bottom), left(left), right(right) { };
58 void SetProbeCropping(
unsigned int top,
unsigned int bottom,
unsigned int left,
unsigned int right);
59 USProbeCropping GetProbeCropping();
65 bool IsEqualToProbe(mitk::USProbe::Pointer probe);
70 void SetDepthAndSpacing(
int depth, Vector3D spacing);
76 std::map<int, Vector3D> GetDepthsAndSpacing();
81 void SetDepth(
int depth);
86 void RemoveDepth(
int depthToRemove);
91 void SetSpacingForGivenDepth(
int givenDepth, Vector3D spacing);
97 Vector3D GetSpacingForGivenDepth(
int givenDepth);
103 bool IsDepthAndSpacingEmpty();
114 USProbe(std::string identifier);
Right now, the US Probe is only a fancy name for a string. Later, it could handle probe specific para...
itkFactorylessNewMacro(Self)
mitkClassMacroItkParent(USProbe, itk::Object)
itkCloneMacro(Self) mitkNewMacro1Param(Self
itkSetMacro(Name, std::string)
itkGetMacro(Name, std::string)
itkGetMacro(CurrentDepth, double)
USProbeCropping m_Cropping
itkSetMacro(CurrentDepth, double)
std::map< int, Vector3D > m_DepthsAndSpacings
Struct to define a probe specific ultrasound image cropping.
USProbeCropping_(unsigned int top, unsigned int bottom, unsigned int left, unsigned int right)