Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPlanarCircle_h
14 #define mitkPlanarCircle_h
33 itkFactorylessNewMacro(
Self);
44 bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
false)
override;
63 bool SetCurrentControlPoint(
const Point2D &point)
override;
75 void GeneratePolyLine()
override;
78 void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
81 Point2D ApplyControlPointConstraints(
unsigned int index,
const Point2D &point)
override;
84 void EvaluateFeaturesInternal()
override;
86 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
double GetMaximumRadius()
Gets the minimum radius.
unsigned int GetMinimumNumberOfControlPoints() const override
Circle has 2 control points per definition.
const unsigned int FEATURE_ID_AREA
bool m_MinMaxRadiusContraintsActive
#define mitkNewMacro1Param(classname, type)
void SetMaximumRadius(double radius)
Sets the maximum radius.
void ActivateMinMaxRadiusContstraints(bool active)
Find image slices visible on a given plane.
double GetMinimumRadius()
Gets the minimum radius.
const unsigned int FEATURE_ID_DIAMETER
unsigned int GetMaximumNumberOfControlPoints() const override
Circle has 2 control points per definition.
Base of all data objects.
void SetMinimumRadius(double radius)
Sets the minimum radius.
#define mitkCloneMacro(classname)
#define mitkClassMacro(className, SuperClassName)
const unsigned int FEATURE_ID_RADIUS
Implementation of PlanarFigure representing a circle either through two control points or by one cont...