13 #ifndef MITKUSProbe_H_HEADER_INCLUDED_ 14 #define MITKUSProbe_H_HEADER_INCLUDED_ 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);
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);
#define mitkNewMacro1Param(classname, type)
DataCollection - Class to facilitate loading/accessing structured data.
std::map< int, Vector3D > m_DepthsAndSpacings
USProbeCropping_(unsigned int top, unsigned int bottom, unsigned int left, unsigned int right)
#define mitkClassMacroItkParent(className, SuperClassName)
Right now, the US Probe is only a fancy name for a string. Later, it could handle probe specific para...
USProbeCropping m_Cropping
Struct to define a probe specific ultrasound image cropping.