DGtal
1.5.beta
|
Aim: Abstract DSSDecorator for ArithmeticalDSSComputer. Has 2 virtual methods returning the first and last leaning point: More...
#include <DGtal/geometry/curves/FP.h>
Public Types | |
typedef TDSS | DSS |
Public Member Functions | |
bool | isExtendableFront () const |
bool | extendFront () |
bool | retractBack () |
DSS::ConstIterator | end () |
virtual | ~DSSDecorator () |
virtual TDSS::Point | firstLeaningPoint () const =0 |
virtual TDSS::Point | lastLeaningPoint () const =0 |
virtual bool | isInConvexPart () const =0 |
Protected Attributes | |
TDSS * | myDSS |
Aim: Abstract DSSDecorator for ArithmeticalDSSComputer. Has 2 virtual methods returning the first and last leaning point:
TDSS | type devoted to DSS recognition Must have a nested type 'Point' and four accessors: Uf(), Ul(), Lf(), Ll() |
typedef TDSS DGtal::detail::DSSDecorator< TDSS >::DSS |
|
inlinevirtual |
|
inline |
End of the underlying segment
Definition at line 117 of file FP.h.
References DGtal::detail::DSSDecorator< TDSS >::myDSS.
|
inline |
Extends the underlying segment (if possible)
Definition at line 100 of file FP.h.
References DGtal::detail::DSSDecorator< TDSS >::myDSS.
|
pure virtual |
First leaning point accessor
Implemented in DGtal::detail::DSSDecorator4ConcavePart< TDSS >, and DGtal::detail::DSSDecorator4ConvexPart< TDSS >.
|
inline |
Tells whether the underlying segment can be extended or not
Definition at line 91 of file FP.h.
References DGtal::detail::DSSDecorator< TDSS >::myDSS.
|
pure virtual |
Tells whether it adapts a DSS computer for convex parts or not
Implemented in DGtal::detail::DSSDecorator4ConcavePart< TDSS >, and DGtal::detail::DSSDecorator4ConvexPart< TDSS >.
|
pure virtual |
Last leaning point accessor
Implemented in DGtal::detail::DSSDecorator4ConcavePart< TDSS >, and DGtal::detail::DSSDecorator4ConvexPart< TDSS >.
|
inline |
Retracts the underlying segment (if possible)
Definition at line 109 of file FP.h.
References DGtal::detail::DSSDecorator< TDSS >::myDSS.
|
protected |
Aliasing pointer to an instance of TDSS
Definition at line 85 of file FP.h.
Referenced by DGtal::detail::DSSDecorator4ConcavePart< TDSS >::DSSDecorator4ConcavePart(), DGtal::detail::DSSDecorator4ConvexPart< TDSS >::DSSDecorator4ConvexPart(), DGtal::detail::DSSDecorator< TDSS >::end(), DGtal::detail::DSSDecorator< TDSS >::extendFront(), DGtal::detail::DSSDecorator4ConvexPart< TDSS >::firstLeaningPoint(), DGtal::detail::DSSDecorator4ConcavePart< TDSS >::firstLeaningPoint(), DGtal::detail::DSSDecorator< TDSS >::isExtendableFront(), DGtal::detail::DSSDecorator4ConvexPart< TDSS >::lastLeaningPoint(), DGtal::detail::DSSDecorator4ConcavePart< TDSS >::lastLeaningPoint(), and DGtal::detail::DSSDecorator< TDSS >::retractBack().