DGtal  1.5.beta
DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel > Struct Template Reference

Aim: The predicate returning true iff the point is in the domain given at construction. More...

#include <DGtal/topology/SurfelSetPredicate.h>

Inheritance diagram for DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >:
[legend]

Public Types

typedef TSurfelSet SurfelSet
 
typedef TSurfel Surfel
 

Public Member Functions

 SurfelSetPredicate (ConstAlias< SurfelSet > aSet)
 
 SurfelSetPredicate (const SurfelSetPredicate &other)
 
SurfelSetPredicateoperator= (const SurfelSetPredicate &other)
 
bool operator() (const Surfel &s) const
 

Protected Member Functions

 SurfelSetPredicate ()
 

Private Attributes

const SurfelSetmySet
 

Detailed Description

template<typename TSurfelSet, typename TSurfel = typename TSurfelSet::Surfel>
struct DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >

Aim: The predicate returning true iff the point is in the domain given at construction.

Description of template class 'SurfelSetPredicate'

Model of CSurfelPredicate

Definition at line 64 of file SurfelSetPredicate.h.

Member Typedef Documentation

◆ Surfel

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
typedef TSurfel DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::Surfel

Definition at line 69 of file SurfelSetPredicate.h.

◆ SurfelSet

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
typedef TSurfelSet DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::SurfelSet

Definition at line 68 of file SurfelSetPredicate.h.

Constructor & Destructor Documentation

◆ SurfelSetPredicate() [1/3]

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::SurfelSetPredicate ( ConstAlias< SurfelSet aSet)

Constructor.

Parameters
aSetany set.

◆ SurfelSetPredicate() [2/3]

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::SurfelSetPredicate ( const SurfelSetPredicate< TSurfelSet, TSurfel > &  other)

Copy constructor.

Parameters
otherthe object to clone.

◆ SurfelSetPredicate() [3/3]

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::SurfelSetPredicate ( )
protected

Constructor. Forbidden by default (protected to avoid g++ warnings).

Member Function Documentation

◆ operator()()

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
bool DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::operator() ( const Surfel s) const
Parameters
sany surfel.
Returns
true iff s is in the set of surfels.

◆ operator=()

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
SurfelSetPredicate& DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::operator= ( const SurfelSetPredicate< TSurfelSet, TSurfel > &  other)

Assignment.

Parameters
otherthe object to copy.
Returns
a reference on 'this'.

Field Documentation

◆ mySet

template<typename TSurfelSet , typename TSurfel = typename TSurfelSet::Surfel>
const SurfelSet* DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel >::mySet
private

Definition at line 107 of file SurfelSetPredicate.h.


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