17 #ifndef _MITK_PLANAR_CIRCLE_H_
18 #define _MITK_PLANAR_CIRCLE_H_
36 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
45 bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
false)
override;
64 virtual bool SetCurrentControlPoint(
const Point2D &point)
override;
74 virtual void GeneratePolyLine()
override;
77 virtual void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
80 virtual Point2D ApplyControlPointConstraints(
unsigned int index,
const Point2D &point)
override;
83 virtual void EvaluateFeaturesInternal()
override;
85 virtual void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
102 #endif //_MITK_PLANAR_CIRCLE_H_
unsigned int GetMaximumNumberOfControlPoints() const override
Circle has 2 control points per definition.
Base of all data objects.
double GetMinimumRadius()
Gets the minimum radius.
const unsigned int FEATURE_ID_DIAMETER
bool m_MinMaxRadiusContraintsActive
DataCollection - Class to facilitate loading/accessing structured data.
void ActivateMinMaxRadiusContstraints(bool active)
double GetMaximumRadius()
Gets the minimum radius.
const unsigned int FEATURE_ID_RADIUS
unsigned int GetMinimumNumberOfControlPoints() const override
Circle has 2 control points per definition.
#define mitkClassMacro(className, SuperClassName)
void SetMinimumRadius(double radius)
Sets the minimum radius.
#define mitkCloneMacro(classname)
Implementation of PlanarFigure representing a circle through two control points.
void SetMaximumRadius(double radius)
Sets the maximum radius.
const unsigned int FEATURE_ID_AREA