Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPlanarDoubleEllipse_h
14 #define mitkPlanarDoubleEllipse_h
31 itkFactorylessNewMacro(
Self);
34 unsigned int GetNumberOfSegments()
const;
35 void SetNumberOfSegments(
unsigned int numSegments);
37 unsigned int GetMaximumNumberOfControlPoints()
const override;
38 unsigned int GetMinimumNumberOfControlPoints()
const override;
39 bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
true)
override;
45 static const unsigned int CP_CENTER = 0;
46 static const unsigned int CP_OUTER_MAJOR_AXIS = 1;
47 static const unsigned int CP_OUTER_MINOR_AXIS = 2;
48 static const unsigned int CP_INNER_MAJOR_AXIS = 3;
60 void EvaluateFeaturesInternal()
override;
61 void GenerateHelperPolyLine(
double,
unsigned int)
override;
62 void GeneratePolyLine()
override;
65 unsigned int m_NumberOfSegments;
66 bool m_ConstrainCircle;
67 bool m_ConstrainThickness;
68 double m_FixedRadius = 0;
69 double m_FixedThickness = 0;
70 bool m_SizeIsFixed =
false;
#define mitkNewMacro2Param(classname, typea, typeb)
Planar representing a double ellipse. The double ellipse is either represented by 4 control points (c...
Find image slices visible on a given plane.
const unsigned int FEATURE_ID_MINOR_AXIS
const unsigned int FEATURE_ID_MAJOR_AXIS
Base of all data objects.
const unsigned int FEATURE_ID_THICKNESS
#define mitkCloneMacro(classname)
#define mitkClassMacro(className, SuperClassName)