13 #ifndef mitkPlanarFourPointAngle_h
14 #define mitkPlanarFourPointAngle_h
40 itkFactorylessNewMacro(Self);
42 itkCloneMacro(Self) public :
73 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Implementation of PlanarFigure representing a four-point angle measurement.
mitkClassMacro(PlanarFourPointAngle, PlanarFigure)
bool Equals(const mitk::PlanarFigure &other) const override
Compares this PlanarFourPointAngle with another PlanarFigure for equality.
void GeneratePolyLine() override
Generates the poly-line representation of the planar figure.
unsigned int GetMaximumNumberOfControlPoints() const override
Returns 4 – a four-point angle requires exactly four control points.
void GenerateHelperPolyLine(double mmPerDisplayUnit, unsigned int displayHeight) override
Generates the poly-lines that should be drawn the same size regardless of zoom.
unsigned int GetMinimumNumberOfControlPoints() const override
Returns 4 – a four-point angle requires exactly four control points.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
void EvaluateFeaturesInternal() override
Calculates feature quantities of the planar figure.
PlanarFourPointAngle(const Self &other)
const unsigned int FEATURE_ID_ANGLE
Feature identifier for the angle measurement (in degrees).
Find image slices visible on a given plane.