13 #ifndef _MITK_PLANAR_CROSS_H_ 14 #define _MITK_PLANAR_CROSS_H_ 55 itkFactorylessNewMacro(
Self);
61 void SetSingleLineMode(
bool singleLineMode);
65 bool GetSingleLineMode()
const;
69 itkBooleanMacro(SingleLineMode);
76 bool ResetOnPointSelect()
override;
78 bool ResetOnPointSelectNeeded()
const override;
81 unsigned int GetNumberOfFeatures()
const override;
90 Point2D ApplyControlPointConstraints(
unsigned int index,
const Point2D &point)
override;
93 void GeneratePolyLine()
override;
96 void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
99 void EvaluateFeaturesInternal()
override;
101 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
109 virtual Point2D InternalApplyControlPointConstraints(
unsigned int index,
const Point2D &point);
114 #endif //_MITK_PLANAR_CROSS_H_
Base of all data objects.
const unsigned int FEATURE_ID_LONGESTDIAMETER
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
unsigned int GetMaximumNumberOfControlPoints() const override
PlanarCross has either two or four control points, depending on the operation mode.
unsigned int GetMinimumNumberOfControlPoints() const override
PlanarCross has either two or four control points, depending on the operation mode.
#define mitkCloneMacro(classname)
Implementation of PlanarFigure modeling a cross with two orthogonal lines on a plane.
const unsigned int FEATURE_ID_SHORTAXISDIAMETER