Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPlanarEllipse_h
14 #define mitkPlanarEllipse_h
31 itkFactorylessNewMacro(
Self);
39 void PlaceFigure(
const Point2D &point)
override;
41 bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
true)
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;
unsigned int GetMaximumNumberOfControlPoints() const override
Ellipse has 3 control points per definition.
double GetMinimumRadius()
Gets the minimum radius.
const unsigned int FEATURE_ID_MINOR_AXIS
const unsigned int FEATURE_ID_AREA
unsigned int GetMinimumNumberOfControlPoints() const override
Ellipse has 3 control points per definition.
bool m_MinMaxRadiusContraintsActive
void SetMaximumRadius(double radius)
Sets the maximum radius.
Find image slices visible on a given plane.
Implementation of PlanarFigure representing a circle through two control points.
void ActivateMinMaxRadiusContstraints(bool active)
Base of all data objects.
void SetTreatAsCircle(bool active)
Treat ellipse as circle (equal radii)
#define mitkCloneMacro(classname)
const unsigned int FEATURE_ID_MAJOR_AXIS
#define mitkClassMacro(className, SuperClassName)
double GetMaximumRadius()
Gets the minimum radius.
void SetMinimumRadius(double radius)
Sets the minimum radius.