45 #include <OpenMesh/Core/Mesh/PolyConnectivity.hh> 46 #include <OpenMesh/Core/Utils/PropertyManager.hh> 52 #include <type_traits> 58 namespace Predicates {
64 template <
typename PredicateT>
69 template <
typename PredicateT>
78 bool operator()(
const T& _t)
const {
return p_(_t); }
83 template <
typename PredicateT>
86 template <
typename PredicateT>
89 template <
typename Predicate1T,
typename Predicate2T>
99 bool operator()(
const T& _t)
const {
return p1_( _t) || p2_( _t); }
105 template <
typename Predicate1T,
typename Predicate2T>
114 template <
typename T>
115 bool operator()(
const T& _t)
const {
return p1_( _t) && p2_( _t); }
122 template <
typename PredicateT>
130 template <
typename T>
131 bool operator()(
const T& _t)
const {
return !p1_( _t); }
136 template <
typename P1,
typename P2>
142 template <
typename P1,
typename P2>
148 template <
typename P1,
typename P2>
154 template <
typename P1,
typename P2>
160 template <
typename P1,
typename P2>
166 template <
typename P1,
typename P2>
172 template <
typename P1,
typename P2>
178 template <
typename P1,
typename P2>
184 template <
typename P>
190 template <
typename P>
198 template <
typename HandleType>
204 template <
typename HandleType>
210 template <
typename HandleType>
216 template <
typename HandleType>
222 template <
typename HandleType>
228 template <
typename HandleType>
234 template <
typename HandleType>
240 template <
typename HandleType>
244 template <
int inner_reg,
int boundary_reg>
256 template <
typename T,
typename MF>
268 template <
typename O>
269 auto operator()(
const O& _o) -> decltype ((t_.*mf_)(_o))
271 return (t_.*mf_)(_o);
276 template <
typename T,
typename MF>
283 #define OM_MFW(member_function) OpenMesh::Predicates::make_member_function_wrapper(*this, &std::decay<decltype(*this)>::type::member_function)
Base class for all smart handle types that contains status related methods.
bool feature() const
Returns true iff the handle is marked as feature.
bool tagged2() const
Returns true iff the handle is marked as tagged2.
Base class for all smart handle types that contains status related methods.
bool selected() const
Returns true iff the handle is marked as selected.
uint valence() const
Returns valence of the vertex.
Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access t...
bool is_boundary() const
Returns true iff the handle is boundary.
bool tagged() const
Returns true iff the handle is marked as tagged.
bool deleted() const
Returns true iff the handle is marked as deleted.
bool locked() const
Returns true iff the handle is marked as locked.
bool hidden() const
Returns true iff the handle is marked as hidden.