13 #ifndef _MITK_PLANAR_SUBDIVISION_POLYGON_H_ 14 #define _MITK_PLANAR_SUBDIVISION_POLYGON_H_ 33 itkFactorylessNewMacro(
Self);
52 int GetControlPointForPolylinePoint(
int indexOfPolylinePoint,
int polyLineIndex)
const override;
61 std::vector<mitk::Point2D> CheckForLineIntersection(
const Point2D &p1,
const Point2D &p2)
const;
63 void IncreaseSubdivisions();
64 void DecreaseSubdivisions();
74 void GeneratePolyLine()
override;
84 #endif //_MITK_PLANAR_SUBDIVISION_POLYGON_H_
unsigned int GetSubdivisionRounds() const
How many times should we generate a round of subdivisions?
Base of all data objects.
unsigned int GetMinimumNumberOfControlPoints() const override
Subdivision Polygon has 3 control points per definition.
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.
unsigned int GetMaximumNumberOfControlPoints() const override
Polygon maximum number of control points is principally not limited.
#define mitkClassMacro(className, SuperClassName)
void SetSubdivisionRounds(int subdivisionRounds)
float GetTensionParameter() const
Parameter w_tension defines the tension. the higher w_tension, the lower the "tension" on points...
#define mitkCloneMacro(classname)
void SetTensionParameter(float tensionParameter)