13 #ifndef _MITK_PLANAR_POLYGON_H_ 14 #define _MITK_PLANAR_POLYGON_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;
90 #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