Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPlanarPolygon_h
14 #define mitkPlanarPolygon_h
32 itkFactorylessNewMacro(
Self);
37 virtual void SetClosed(
bool closed);
39 itkBooleanMacro(Closed);
52 std::vector<mitk::Point2D> CheckForLineIntersection(
const Point2D &p1,
const Point2D &p2)
const;
62 void GeneratePolyLine()
override;
65 void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
68 void EvaluateFeaturesInternal()
override;
80 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Find image slices visible on a given plane.
unsigned int GetMinimumNumberOfControlPoints() const override
Place figure in its minimal configuration (a point at least) onto the given 2D geometry.
unsigned int GetMaximumNumberOfControlPoints() const override
Polygon maximum number of control points is principally not limited.
const unsigned int FEATURE_ID_CIRCUMFERENCE
Base of all data objects.
#define mitkCloneMacro(classname)
const unsigned int FEATURE_ID_AREA
#define mitkClassMacro(className, SuperClassName)
Implementation of PlanarFigure representing a polygon with two or more control points.