17 #ifndef _MITK_PLANAR_SUBDIVISION_POLYGON_H_
18 #define _MITK_PLANAR_SUBDIVISION_POLYGON_H_
37 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
40 unsigned
int GetMinimumNumberOfControlPoints()
const override
54 int GetControlPointForPolylinePoint(
int indexOfPolylinePoint,
int polyLineIndex)
const;
63 std::vector<mitk::Point2D> CheckForLineIntersection(
const Point2D &p1,
const Point2D &p2)
const;
65 void IncreaseSubdivisions();
66 void DecreaseSubdivisions();
76 virtual void GeneratePolyLine()
override;
86 #endif //_MITK_PLANAR_SUBDIVISION_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.
Implementation of PlanarFigure representing a polygon with two or more control points.
float GetTensionParameter() const
Parameter w_tension defines the tension. the higher w_tension, the lower the "tension" on points...
unsigned int GetMaximumNumberOfControlPoints() const override
Polygon maximum number of control points is principally not limited.
unsigned int GetSubdivisionRounds() const
How many times should we generate a round of subdivisions?
#define mitkClassMacro(className, SuperClassName)
void SetSubdivisionRounds(int subdivisionRounds)
#define mitkCloneMacro(classname)
void SetTensionParameter(float tensionParameter)