DGtal 1.3.0
|
Aim: Refines the concept CAdjacency by telling that the adjacency is specific to a given domain of the embedding digital space. More...
#include <DGtal/topology/CDomainAdjacency.h>
Public Types | |
typedef Adj::Domain | Domain |
typedef Adj::Predicate | Predicate |
Public Types inherited from DGtal::concepts::CAdjacency< T > | |
typedef Adj::Space | Space |
typedef Adj::Point | Point |
typedef Adj::Adjacency | Adjacency |
Public Types inherited from DGtal::concepts::CUndirectedSimpleLocalGraph< T > | |
typedef T::Vertex | Vertex |
typedef T::Size | Size |
typedef T::VertexSet | VertexSet |
Private Member Functions | |
BOOST_CONCEPT_USAGE (CDomainAdjacency) | |
Private Attributes | |
T | myT |
Domain | myDomain |
Predicate | myPredicate |
Additional Inherited Members | |
Public Member Functions inherited from DGtal::concepts::CAdjacency< T > | |
BOOST_CONCEPT_USAGE (CAdjacency) | |
Public Member Functions inherited from DGtal::concepts::CUndirectedSimpleLocalGraph< T > | |
BOOST_CONCEPT_ASSERT ((CIntegralNumber< Size >)) | |
BOOST_CONCEPT_ASSERT ((boost::DefaultConstructible< Vertex >)) | |
BOOST_CONCEPT_ASSERT ((boost::Assignable< Vertex >)) | |
BOOST_CONCEPT_ASSERT ((boost::CopyConstructible< Vertex >)) | |
BOOST_CONCEPT_USAGE (CUndirectedSimpleLocalGraph) | |
void | checkConstConstraints () const |
Aim: Refines the concept CAdjacency by telling that the adjacency is specific to a given domain of the embedding digital space.
Description of concept 'CDomainAdjacency'
This class is useful to define subspaces with restricted neighborhood relations. For instance, you can limit the adjacency to an object, then to its border, then to a subset of its border, etc.
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
embedding domain | x.domain() | const Domain & | return a reference to the embedding domain. | O(1) | |||
"is in domain ?" predicate | x.predicate() | const Predicate & | return a reference to the predicate object that is characteristic of the embedding domain. | O(1) |
Definition at line 96 of file CDomainAdjacency.h.
typedef Adj::Domain DGtal::concepts::CDomainAdjacency< T >::Domain |
Definition at line 101 of file CDomainAdjacency.h.
typedef Adj::Predicate DGtal::concepts::CDomainAdjacency< T >::Predicate |
Definition at line 102 of file CDomainAdjacency.h.
|
inlineprivate |
Definition at line 106 of file CDomainAdjacency.h.
References DGtal::concepts::CDomainAdjacency< T >::myDomain, DGtal::concepts::CDomainAdjacency< T >::myPredicate, DGtal::concepts::CDomainAdjacency< T >::myT, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 117 of file CDomainAdjacency.h.
Referenced by DGtal::concepts::CDomainAdjacency< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 118 of file CDomainAdjacency.h.
Referenced by DGtal::concepts::CDomainAdjacency< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 116 of file CDomainAdjacency.h.
Referenced by DGtal::concepts::CDomainAdjacency< T >::BOOST_CONCEPT_USAGE().