DGtal 1.4.0
Loading...
Searching...
No Matches
CSurfelPredicate.h
1
17#pragma once
18
31#if defined(CSurfelPredicate_RECURSES)
32#error Recursive header files inclusion detected in CSurfelPredicate.h
33#else // defined(CSurfelPredicate_RECURSES)
35#define CSurfelPredicate_RECURSES
36
37#if !defined CSurfelPredicate_h
39#define CSurfelPredicate_h
40
42// Inclusions
43#include <iostream>
44#include "DGtal/base/Common.h"
45#include "DGtal/base/CPredicate.h"
47
48// @since 0.8 In DGtal::concepts
49namespace DGtal {
50 namespace concepts {
51
53 // class CSurfelPredicate
75 template <typename T>
76 struct CSurfelPredicate : CPredicate< T, typename T::Surfel>
77 {
78 }; // end of concept CSurfelPredicate
79
80} // namespace concepts
81} // namespace DGtal
82
83// //
85
86#endif // !defined CSurfelPredicate_h
87
88#undef CSurfelPredicate_RECURSES
89#endif // else defined(CSurfelPredicate_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines a predicate function, ie. a functor mapping a domain into the set of booleans.
Definition CPredicate.h:94
Aim: Defines a predicate on a surfel.