13 #ifndef mitkPlanarArrow_h
14 #define mitkPlanarArrow_h
40 itkFactorylessNewMacro(Self);
84 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Implementation of PlanarFigure representing an arrow with two control points.
float m_ArrowTipScaleFactor
void SetArrowTipScaleFactor(float scale)
Sets the scale factor for the arrowhead size.
unsigned int GetMaximumNumberOfControlPoints() const override
Returns 2 – an arrow requires exactly two control points.
mitkClassMacro(PlanarArrow, PlanarFigure)
PlanarArrow(const Self &other)
void EvaluateFeaturesInternal() override
Calculates feature quantities of the planar figure.
unsigned int GetMinimumNumberOfControlPoints() const override
Returns 2 – an arrow requires exactly two control points.
void GeneratePolyLine() override
Generates the poly-line representation of the planar figure.
void GenerateHelperPolyLine(double mmPerDisplayUnit, unsigned int displayHeight) override
Generates the poly-lines that should be drawn the same size regardless of zoom.
const unsigned int FEATURE_ID_LENGTH
void PrintSelf(std::ostream &os, itk::Indent indent) const override
bool Equals(const mitk::PlanarFigure &other) const override
Compares this PlanarArrow with another PlanarFigure for equality.
Find image slices visible on a given plane.