DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Private Member Functions | Private Attributes
DGtal::CDomainAdjacency< T > Struct Template Reference

#include <CDomainAdjacency.h>

Inheritance diagram for DGtal::CDomainAdjacency< T >:
Inheritance graph
[legend]
Collaboration diagram for DGtal::CDomainAdjacency< T >:
Collaboration graph
[legend]

Public Types

typedef Adj::Domain Domain
typedef Adj::Predicate Predicate
- Public Types inherited from DGtal::CAdjacency< T >
typedef T::Space Space
typedef T::Point Point
typedef T::Adjacency Adjacency
- Public Types inherited from DGtal::CUndirectedSimpleLocalGraph< T >
typedef T::Vertex Vertex
typedef T::Size Size
typedef T::VertexSet VertexSet

Private Member Functions

 BOOST_CONCEPT_USAGE (CDomainAdjacency)

Private Attributes

myT
Domain myDomain
Predicate myPredicate

Additional Inherited Members

- Public Member Functions inherited from DGtal::CAdjacency< T >
 BOOST_CONCEPT_USAGE (CAdjacency)
- Public Member Functions inherited from DGtal::CUndirectedSimpleLocalGraph< T >
 BOOST_CONCEPT_ASSERT ((CInteger< Size >))
 BOOST_CONCEPT_USAGE (CUndirectedSimpleLocalGraph)
void checkConstConstraints () const

Detailed Description

template<typename T>
struct DGtal::CDomainAdjacency< T >

Aim: Refines the concept CAdjacency by telling that the adjacency is specific to a given domain of the embedding digital space.

DescriptionDescription 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.

Refinement of CAdjacency

Associated types :

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition 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)

Invariants###

Models###

Notes###

Definition at line 107 of file CDomainAdjacency.h.


Member Typedef Documentation

template<typename T >
typedef Adj::Domain DGtal::CDomainAdjacency< T >::Domain

Definition at line 112 of file CDomainAdjacency.h.

template<typename T >
typedef Adj::Predicate DGtal::CDomainAdjacency< T >::Predicate

Definition at line 113 of file CDomainAdjacency.h.


Member Function Documentation

template<typename T >
DGtal::CDomainAdjacency< T >::BOOST_CONCEPT_USAGE ( CDomainAdjacency< T >  )
inlineprivate

Field Documentation

template<typename T >
Domain DGtal::CDomainAdjacency< T >::myDomain
private
template<typename T >
Predicate DGtal::CDomainAdjacency< T >::myPredicate
private
template<typename T >
T DGtal::CDomainAdjacency< T >::myT
private

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