16 #include <MitkUSExports.h>
18 #include <itkObject.h>
19 #include <itkObjectFactory.h>
30 class MITKUS_EXPORT
USProbe :
public itk::Object
34 itkFactorylessNewMacro(Self);
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();
107 itkGetMacro(Name, std::string);
108 itkSetMacro(Name, std::string);
109 itkGetMacro(CurrentDepth,
double);
110 itkSetMacro(CurrentDepth,
double);
114 USProbe(std::string identifier);