aimstil
5.0.5
|
Neighborhood as a list of vectors. More...
#include <til/Neighborhood.h>
Public Types | |
typedef Neighborhood_list | Self |
typedef std::vector< numeric_array< int, 3 > > | NeighborList |
typedef NeighborList::iterator | iterator |
typedef NeighborList::const_iterator | const_iterator |
Public Member Functions | |
Neighborhood_list () | |
Default constructor, empty neighborhood. More... | |
template<class TNeighborhood > | |
Neighborhood_list (const TNeighborhood &nh) | |
Copy constructor from any type of neighborhood. More... | |
Neighborhood_list (const bool array[3 *3 *3]) | |
From C array. More... | |
template<class TNeighborhood > | |
enable_if< is_Neighborhood< TNeighborhood > >::type | init (const TNeighborhood &nh) |
void | init (const bool array[3 *3 *3]) |
From C array. More... | |
template<typename TFunctor > | |
void | for_all_neighbors (const TFunctor &functor) |
A loop to execute something per neighbor. More... | |
Self::iterator | begin () |
Self::iterator | end () |
Self::const_iterator | begin () const |
Self::const_iterator | end () const |
void | set (const numeric_array< int, 3 > &v) |
void | reset (const numeric_array< int, 3 > &v) |
void | reset () |
Neighborhood as a list of vectors.
Definition at line 80 of file Neighborhood.h.
typedef NeighborList::const_iterator til::Neighborhood_list::const_iterator |
Definition at line 87 of file Neighborhood.h.
typedef NeighborList::iterator til::Neighborhood_list::iterator |
Definition at line 86 of file Neighborhood.h.
typedef std::vector<numeric_array<int,3> > til::Neighborhood_list::NeighborList |
Definition at line 85 of file Neighborhood.h.
Definition at line 84 of file Neighborhood.h.
|
inline |
Default constructor, empty neighborhood.
Definition at line 92 of file Neighborhood.h.
|
inline |
Copy constructor from any type of neighborhood.
Definition at line 96 of file Neighborhood.h.
|
inline |
From C array.
Definition at line 99 of file Neighborhood.h.
|
inline |
Definition at line 147 of file Neighborhood.h.
|
inline |
Definition at line 149 of file Neighborhood.h.
|
inline |
Definition at line 148 of file Neighborhood.h.
|
inline |
Definition at line 150 of file Neighborhood.h.
|
inline |
A loop to execute something per neighbor.
Definition at line 134 of file Neighborhood.h.
References til::detail::numeric_array_impl< T, D >::begin().
|
inline |
Definition at line 105 of file Neighborhood.h.
|
inline |
From C array.
Definition at line 122 of file Neighborhood.h.
References COFFSET, and FOR_ALL_NEIGHBORS.
|
inline |
Definition at line 163 of file Neighborhood.h.
|
inline |
Definition at line 180 of file Neighborhood.h.
|
inline |
Definition at line 154 of file Neighborhood.h.