DGtal  0.9.3beta
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
DGtal::functors::SurfelSetPredicate< TSurfelSet, TSurfel > Struct Template Reference

#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

Examples:
topology/ctopo-fillContours.cpp.

Definition at line 64 of file SurfelSetPredicate.h.

Member Typedef Documentation

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

Definition at line 69 of file SurfelSetPredicate.h.

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

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

Constructor.

Parameters
aSetany set.
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.
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

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.
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

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: