DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
DGtal::Adapter4ConcavePart< ArithmeticalDSS > Class Template Reference

#include <FP.h>

Inheritance diagram for DGtal::Adapter4ConcavePart< ArithmeticalDSS >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::Adapter4ConcavePart< ArithmeticalDSS >:
Collaboration graph
[legend]

Public Member Functions

 Adapter4ConcavePart (ArithmeticalDSS &aDSS)
ArithmeticalDSS::Point firstLeaningPoint () const
ArithmeticalDSS::Point lastLeaningPoint () const

Additional Inherited Members

- Protected Attributes inherited from DGtal::Adapter< ArithmeticalDSS >
ArithmeticalDSSmyDSS

Detailed Description

template<typename ArithmeticalDSS>
class DGtal::Adapter4ConcavePart< ArithmeticalDSS >

Aim: adapter for ArithmeticalDSS used by FP in concave parts. Has 2 methods:

that respectively return the first and last lower leaning point of the underlying instance of ArithmeticalDSS.

Template Parameters:
'ArithmeticalDSS'type for arithmetical recognition algorithm of DSS. Must have a nested type Point and have four accessors: getUf(), getUl(), getLf(), getLl()
See also:
Adapter FP

Definition at line 149 of file FP.h.


Constructor & Destructor Documentation

template<typename ArithmeticalDSS >
DGtal::Adapter4ConcavePart< ArithmeticalDSS >::Adapter4ConcavePart ( ArithmeticalDSS aDSS)
inline

Constructor

Parameters:
aDSS

Definition at line 156 of file FP.h.

References DGtal::Adapter< ArithmeticalDSS >::myDSS.

{
this->myDSS = &aDSS;
}

Member Function Documentation

template<typename ArithmeticalDSS >
ArithmeticalDSS::Point DGtal::Adapter4ConcavePart< ArithmeticalDSS >::firstLeaningPoint ( ) const
inlinevirtual
Returns:
the first lower leaning point

Implements DGtal::Adapter< ArithmeticalDSS >.

Definition at line 163 of file FP.h.

References DGtal::ArithmeticalDSS< TIterator, TInteger, connectivity >::getLf(), and DGtal::Adapter< ArithmeticalDSS >::myDSS.

{
return this->myDSS->getLf();
}
template<typename ArithmeticalDSS >
ArithmeticalDSS::Point DGtal::Adapter4ConcavePart< ArithmeticalDSS >::lastLeaningPoint ( ) const
inlinevirtual
Returns:
the last lower leaning point

Implements DGtal::Adapter< ArithmeticalDSS >.

Definition at line 170 of file FP.h.

References DGtal::ArithmeticalDSS< TIterator, TInteger, connectivity >::getLl(), and DGtal::Adapter< ArithmeticalDSS >::myDSS.

{
return this->myDSS->getLl();
}

The documentation for this class was generated from the following file: