File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
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

◆ 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 c, dss, i, p, DGtal::concepts::ConceptUtils::sameType(), and x.

Field Documentation

◆ c

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

Definition at line 110 of file CLMSTDSSFilter.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ dss

template<typename T>
TDSS DGtal::concepts::CLMSTDSSFilter< T >::dss
private

Definition at line 114 of file CLMSTDSSFilter.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ i

template<typename T>
long int DGtal::concepts::CLMSTDSSFilter< T >::i
private

Definition at line 111 of file CLMSTDSSFilter.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ p

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

Definition at line 113 of file CLMSTDSSFilter.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ x

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

Definition at line 112 of file CLMSTDSSFilter.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().


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