|
DGtal 2.1.1
|
#include <DGtal/images/ArrayImageAdapter.h>
Public Types | |
| using | Domain = typename Self::Domain |
| Domain type. | |
| using | Point = typename Self::Point |
| Point type. | |
| using | Difference = typename Self::Difference |
| Type of the difference between two iterators. | |
Public Member Functions | |
| DistanceFunctor (Self const *anImage) | |
| Difference | operator() (Point const &aPoint) const |
Private Attributes | |
| Domain | myDomain |
| Stored domain to avoid iterator corruption if domain changed. | |
Functor that returns the distance between the domain's lower bound and a given point.
Definition at line 398 of file ArrayImageAdapter.h.
| using DGtal::IteratorCompletionTraits< ArrayImageAdapter< TArrayIterator, TDomain > >::DistanceFunctor::Difference = typename Self::Difference |
Type of the difference between two iterators.
Definition at line 403 of file ArrayImageAdapter.h.
| using DGtal::IteratorCompletionTraits< ArrayImageAdapter< TArrayIterator, TDomain > >::DistanceFunctor::Domain = typename Self::Domain |
Domain type.
Definition at line 401 of file ArrayImageAdapter.h.
| using DGtal::IteratorCompletionTraits< ArrayImageAdapter< TArrayIterator, TDomain > >::DistanceFunctor::Point = typename Self::Point |
Point type.
Definition at line 402 of file ArrayImageAdapter.h.
|
inline |
Constructor from an image.
| anImage | Constant pointer to an image. |
Definition at line 408 of file ArrayImageAdapter.h.
|
inline |
Return the distance between the domain's lower bound and the given point.
| aPoint | The point. |
Definition at line 416 of file ArrayImageAdapter.h.
References aPoint.
|
private |
Stored domain to avoid iterator corruption if domain changed.
Definition at line 426 of file ArrayImageAdapter.h.