DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
SurfelSetPredicate.h
1
16
17
#pragma once
18
30
31
#if defined(SurfelSetPredicate_RECURSES)
32
#error Recursive header files inclusion detected in SurfelSetPredicate.h
33
#else
// defined(SurfelSetPredicate_RECURSES)
35
#define SurfelSetPredicate_RECURSES
36
37
#if !defined SurfelSetPredicate_h
39
#define SurfelSetPredicate_h
40
42
// Inclusions
43
#include <iostream>
44
#include "DGtal/base/Common.h"
45
#include "DGtal/base/ConstAlias.h"
46
#include "DGtal/kernel/BasicPointPredicates.h"
48
49
// @since 0.8 In DGtal::functors
50
namespace
DGtal
{
51
namespace
functors
{
52
54
// template class SurfelSetPredicate
62
template
<
typename
TSurfelSet,
63
typename
TSurfel =
typename
TSurfelSet::Surfel >
64
struct
SurfelSetPredicate
65
{
66
// ----------------------- Standard services ------------------------------
67
public
:
68
typedef
TSurfelSet
SurfelSet
;
69
typedef
TSurfel
Surfel
;
70
75
SurfelSetPredicate
(
ConstAlias<SurfelSet>
aSet );
76
81
SurfelSetPredicate
(
const
SurfelSetPredicate
& other );
82
88
SurfelSetPredicate
&
operator=
(
const
SurfelSetPredicate
& other );
89
94
bool
operator()
(
const
Surfel
& s )
const
;
95
96
// ------------------------- Hidden services ------------------------------
97
protected
:
98
103
SurfelSetPredicate
();
104
105
// ------------------------- Internals ------------------------------------
106
private
:
107
const
SurfelSet
*
mySet
;
108
109
};
// end of struct SurfelSetPredicate
110
111
112
}
// namespace functors
113
}
// namespace DGtal
114
115
117
// Includes inline functions.
118
#include "DGtal/topology/SurfelSetPredicate.ih"
119
120
// //
122
123
#endif
// !defined SurfelSetPredicate_h
124
125
#undef SurfelSetPredicate_RECURSES
126
#endif
// else defined(SurfelSetPredicate_RECURSES)
DGtal::ConstAlias
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Definition
ConstAlias.h:187
DGtal::functors
functors namespace gathers all DGtal functors.
Definition
BasicBoolFunctors.h:49
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::functors::SurfelSetPredicate< SurfelSet, Surfel >::Surfel
Surfel Surfel
Definition
SurfelSetPredicate.h:69
DGtal::functors::SurfelSetPredicate< SurfelSet, Surfel >::mySet
const SurfelSet * mySet
Definition
SurfelSetPredicate.h:107
DGtal::functors::SurfelSetPredicate::operator()
bool operator()(const Surfel &s) const
DGtal::functors::SurfelSetPredicate::SurfelSetPredicate
SurfelSetPredicate()
DGtal::functors::SurfelSetPredicate::SurfelSetPredicate
SurfelSetPredicate(ConstAlias< SurfelSet > aSet)
DGtal::functors::SurfelSetPredicate::operator=
SurfelSetPredicate & operator=(const SurfelSetPredicate &other)
DGtal::functors::SurfelSetPredicate< SurfelSet, Surfel >::SurfelSet
SurfelSet SurfelSet
Definition
SurfelSetPredicate.h:68
DGtal::functors::SurfelSetPredicate::SurfelSetPredicate
SurfelSetPredicate(const SurfelSetPredicate &other)
src
DGtal
topology
SurfelSetPredicate.h
Generated on
for DGtal by
1.18.0