13 #ifndef mitkPlanarLine_h
14 #define mitkPlanarLine_h
36 itkFactorylessNewMacro(Self);
71 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Implementation of PlanarFigure representing a straight line segment.
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.
bool Equals(const mitk::PlanarFigure &other) const override
Compares this PlanarLine with another PlanarFigure for equality.
mitkClassMacro(PlanarLine, PlanarFigure)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
const unsigned int FEATURE_ID_LENGTH
unsigned int GetMaximumNumberOfControlPoints() const override
Returns 2 – a line requires exactly two control points.
void EvaluateFeaturesInternal() override
Calculates feature quantities of the planar figure.
unsigned int GetMinimumNumberOfControlPoints() const override
Returns 2 – a line requires exactly two control points.
PlanarLine(const Self &other)
Find image slices visible on a given plane.