17 #ifndef _MITK_PLANAR_POLYGON_H_
18 #define _MITK_PLANAR_POLYGON_H_
36 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
39 virtual void SetClosed(
bool closed);
41 itkBooleanMacro(Closed);
54 std::vector<mitk::Point2D> CheckForLineIntersection(
const Point2D &p1,
const Point2D &p2)
const;
64 virtual void GeneratePolyLine()
override;
67 virtual void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
70 virtual void EvaluateFeaturesInternal()
override;
82 virtual void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
92 #endif //_MITK_PLANAR_POLYGON_H_
Base of all data objects.
DataCollection - Class to facilitate loading/accessing structured data.
Implementation of PlanarFigure representing a polygon with two or more control points.
unsigned int GetMaximumNumberOfControlPoints() const override
Polygon maximum number of control points is principally not limited.
#define mitkClassMacro(className, SuperClassName)
const unsigned int FEATURE_ID_CIRCUMFERENCE
unsigned int GetMinimumNumberOfControlPoints() const override
Place figure in its minimal configuration (a point at least) onto the given 2D geometry.
#define mitkCloneMacro(classname)
const unsigned int FEATURE_ID_AREA