13 #ifndef mitkPlanarLine_h
14 #define mitkPlanarLine_h
32 itkFactorylessNewMacro(Self);
67 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
Implementation of PlanarFigure representing a line through 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.
bool Equals(const mitk::PlanarFigure &other) const override
Compare two PlanarFigure objects Note: all subclasses have to implement the method on their own.
mitkClassMacro(PlanarLine, PlanarFigure)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
const unsigned int FEATURE_ID_LENGTH
unsigned int GetMaximumNumberOfControlPoints() const override
Line has 2 control points per definition.
void EvaluateFeaturesInternal() override
Calculates feature quantities of the planar figure.
unsigned int GetMinimumNumberOfControlPoints() const override
Place figure in its minimal configuration (a point at least) onto the given 2D geometry.
Find image slices visible on a given plane.