$extrastylesheet
#include <mln/morpho/attribute/count_adjacent_vertices.hh>
Public Member Functions | |
count_adjacent_vertices () | |
bool | is_valid () const |
unsigned | subj_ () |
void | take_as_init (const T &t) |
void | take_as_init_ (const T &t) |
void | take_n_times (unsigned n, const T &t) |
void | take_n_times_ (unsigned n, const T &t) |
unsigned | to_result () const |
void | init () |
void | take (const argument &px) |
void | take (const count_adjacent_vertices< I > &other) |
void | take_as_init_ (const argument &px) |
Protected Member Functions | |
void | update_ () |
Protected Attributes | |
unsigned | count__ |
std::set< util::vertex_id_t > | vertices_ |
Public Types | |
typedef I::psite | argument |
typedef Accumulator< void > | category |
typedef count_adjacent_vertices< I > | exact_t |
typedef unsigned | q_result |
typedef mln::metal::unqualif < unsigned >::ret | result |
Count_Adjacent_Vertices accumulator class.
The parameter I
is the image type on which the accumulator of pixels is built.
Definition at line 83 of file morpho/attribute/count_adjacent_vertices.hh.
mln::morpho::attribute::count_adjacent_vertices< I >::count_adjacent_vertices | ( | ) |
void mln::morpho::attribute::count_adjacent_vertices< I >::init | ( | ) |
Manipulators.
bool mln::morpho::attribute::count_adjacent_vertices< I >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
|
inherited |
void mln::morpho::attribute::count_adjacent_vertices< I >::take | ( | const argument & | px | ) |
void mln::morpho::attribute::count_adjacent_vertices< I >::take | ( | const count_adjacent_vertices< I > & | other | ) |
|
inherited |
Take as initialization the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
void mln::morpho::attribute::count_adjacent_vertices< I >::take_as_init_ | ( | const argument & | px | ) |
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
unsigned mln::morpho::attribute::count_adjacent_vertices< I >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
Update the value of the counter.
|
protected |
The value of the counter.
Definition at line 113 of file morpho/attribute/count_adjacent_vertices.hh.
|
protected |
The set of adjacent vertices.
Definition at line 115 of file morpho/attribute/count_adjacent_vertices.hh.
typedef I ::psite mln::morpho::attribute::count_adjacent_vertices< I >::argument |
Definition at line 87 of file morpho/attribute/count_adjacent_vertices.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |