13 #ifndef _MITK_PLANAR_RECTANGLE_H_ 14 #define _MITK_PLANAR_RECTANGLE_H_ 32 itkFactorylessNewMacro(
Self);
42 void PlaceFigure(
const Point2D &point)
override;
48 bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
false)
override;
56 void GeneratePolyLine()
override;
59 void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
62 void EvaluateFeaturesInternal()
override;
64 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
76 #endif //_MITK_PLANAR_POLYGON_H_
Base of all data objects.
const unsigned int FEATURE_ID_CIRCUMFERENCE
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.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
#define mitkCloneMacro(classname)
const unsigned int FEATURE_ID_AREA
unsigned int GetMinimumNumberOfControlPoints() const override
Polygon has 2 control points per definition.