17 #ifndef _MITK_PLANAR_RECTANGLE_H_
18 #define _MITK_PLANAR_RECTANGLE_H_
36 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
44 virtual void PlaceFigure(
const Point2D &point)
override;
50 virtual bool SetControlPoint(
unsigned int index,
const Point2D &point,
bool createIfDoesNotExist =
false)
override;
58 virtual void GeneratePolyLine()
override;
61 virtual void GenerateHelperPolyLine(
double mmPerDisplayUnit,
unsigned int displayHeight)
override;
64 virtual void EvaluateFeaturesInternal()
override;
66 virtual void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
78 #endif //_MITK_PLANAR_POLYGON_H_
Base of all data objects.
const unsigned int FEATURE_ID_CIRCUMFERENCE
virtual unsigned int GetMinimumNumberOfControlPoints() const override
Polygon has 2 control points per definition.
Implementation of PlanarFigure representing a polygon with two or more control points.
DataCollection - Class to facilitate loading/accessing structured data.
virtual unsigned int GetMaximumNumberOfControlPoints() const override
Polygon maximum number of control points is principally not limited.
#define mitkClassMacro(className, SuperClassName)
#define mitkCloneMacro(classname)
const unsigned int FEATURE_ID_AREA