DGtal  1.5.beta
DGtal::concepts::CLMSTDSSFilter< T > Struct Template Reference

Aim: Defines the concept describing a functor which filters DSSes for L-MST calculations. More...

#include <DGtal/geometry/curves/estimation/CLMSTDSSFilter.h>

Inheritance diagram for DGtal::concepts::CLMSTDSSFilter< T >:
[legend]

Public Types

typedef T::DSSType TDSS
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CForwardSegmentComputer< TDSS >))
 
 BOOST_CONCEPT_USAGE (CLMSTDSSFilter)
 
void checkConstConstraints () const
 

Private Attributes

bool c
 
long int i
 
x
 
T::Point p
 
TDSS dss
 

Detailed Description

template<typename T>
struct DGtal::concepts::CLMSTDSSFilter< T >

Aim: Defines the concept describing a functor which filters DSSes for L-MST calculations.

Description of concept 'CLMSTDSSFilter'

Refinement of boost::DefaultConstructible<T>, boost::CopyConstructible<T>, boost::Assignable<T>

Associated types

  • TDSS a 3d digital straight segment recognition algorithm

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
operator() x() (const TDSS &) bool Checks if a DSS fulfills a given condition. model dependant

Invariants

Models

Notes

Template Parameters
Tthe type that should be a model of CLMSTDSSFilter.

Definition at line 89 of file CLMSTDSSFilter.h.

Member Typedef Documentation

◆ TDSS

template<typename T >
typedef T::DSSType DGtal::concepts::CLMSTDSSFilter< T >::TDSS

Definition at line 92 of file CLMSTDSSFilter.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

template<typename T >
DGtal::concepts::CLMSTDSSFilter< T >::BOOST_CONCEPT_ASSERT ( (CForwardSegmentComputer< TDSS >)  )

◆ BOOST_CONCEPT_USAGE()

template<typename T >
DGtal::concepts::CLMSTDSSFilter< T >::BOOST_CONCEPT_USAGE ( CLMSTDSSFilter< T >  )
inline

Definition at line 96 of file CLMSTDSSFilter.h.

97  {
98  ConceptUtils::sameType( c, x.operator()( dss ) );
99  ConceptUtils::sameType( c, x.admissibility ( dss, p ) );
100  ConceptUtils::sameType( i, x.position ( dss, p ) );
101  }
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117

References DGtal::concepts::CLMSTDSSFilter< T >::dss, DGtal::concepts::CLMSTDSSFilter< T >::i, and DGtal::concepts::ConceptUtils::sameType().

◆ checkConstConstraints()

template<typename T >
void DGtal::concepts::CLMSTDSSFilter< T >::checkConstConstraints ( ) const
inline

Definition at line 102 of file CLMSTDSSFilter.h.

103  {
104  ConceptUtils::sameType( c, x.operator()( dss ) );
105  ConceptUtils::sameType( c, x.admissibility ( dss, p ) );
106  ConceptUtils::sameType( i, x.position ( dss, p ) );
107  }

References DGtal::concepts::CLMSTDSSFilter< T >::dss, DGtal::concepts::CLMSTDSSFilter< T >::i, and DGtal::concepts::ConceptUtils::sameType().

Field Documentation

◆ c

template<typename T >
bool DGtal::concepts::CLMSTDSSFilter< T >::c
private

Definition at line 110 of file CLMSTDSSFilter.h.

◆ dss

◆ i

◆ p

template<typename T >
T::Point DGtal::concepts::CLMSTDSSFilter< T >::p
private

Definition at line 113 of file CLMSTDSSFilter.h.

◆ x

template<typename T >
T DGtal::concepts::CLMSTDSSFilter< T >::x
private

Definition at line 112 of file CLMSTDSSFilter.h.


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