DGtal  1.4.2
DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate Struct Reference

#include <DGtal/geometry/volumes/estimation/VoronoiCovarianceMeasure.h>

Public Types

typedef CharacteristicSetPredicate Self
 
typedef Space::Point Point
 the type of digital point More...
 

Public Member Functions

 CharacteristicSetPredicate ()
 
 CharacteristicSetPredicate (ConstAlias< CharacteristicSet > aSet)
 
 CharacteristicSetPredicate (const Self &other)
 
Selfoperator= (const Self &other)
 
bool operator() (const Point &p) const
 

Private Attributes

const CharacteristicSetptrSet
 

Detailed Description

template<typename TSpace, typename TSeparableMetric>
struct DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate

A predicate that returns 'true' whenever the given binary image contains 'true'. Model of concepts::CPointPredicate.

Note
Internal use.

Definition at line 99 of file VoronoiCovarianceMeasure.h.

Member Typedef Documentation

◆ Point

template<typename TSpace , typename TSeparableMetric >
typedef Space::Point DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::Point

the type of digital point

Definition at line 101 of file VoronoiCovarianceMeasure.h.

◆ Self

template<typename TSpace , typename TSeparableMetric >
typedef CharacteristicSetPredicate DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::Self

Definition at line 100 of file VoronoiCovarianceMeasure.h.

Constructor & Destructor Documentation

◆ CharacteristicSetPredicate() [1/3]

template<typename TSpace , typename TSeparableMetric >
DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::CharacteristicSetPredicate ( )
inline

Definition at line 102 of file VoronoiCovarianceMeasure.h.

◆ CharacteristicSetPredicate() [2/3]

template<typename TSpace , typename TSeparableMetric >
DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::CharacteristicSetPredicate ( ConstAlias< CharacteristicSet aSet)
inline

Definition at line 103 of file VoronoiCovarianceMeasure.h.

103 : ptrSet( &aSet ) {}

◆ CharacteristicSetPredicate() [3/3]

template<typename TSpace , typename TSeparableMetric >
DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::CharacteristicSetPredicate ( const Self other)
inline

Definition at line 104 of file VoronoiCovarianceMeasure.h.

104 : ptrSet( other.ptrSet ) {}

Member Function Documentation

◆ operator()()

template<typename TSpace , typename TSeparableMetric >
bool DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::operator() ( const Point p) const
inline

Definition at line 106 of file VoronoiCovarianceMeasure.h.

107  {
108  ASSERT( ptrSet != 0 );
109  return (*ptrSet)( p );
110  }

References DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::ptrSet.

◆ operator=()

template<typename TSpace , typename TSeparableMetric >
Self& DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::operator= ( const Self other)
inline

Field Documentation

◆ ptrSet

template<typename TSpace , typename TSeparableMetric >
const CharacteristicSet* DGtal::VoronoiCovarianceMeasure< TSpace, TSeparableMetric >::CharacteristicSetPredicate::ptrSet
private

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