$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::accu::shape::bbox< P > Struct Template Reference

#include <mln/accu/shape/bbox.hh>

Public Member Functions

 bbox ()
bool is_valid () const
const box< P > & 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)
const box< P > & to_result () const
void init ()
void take_as_init_ (const P &p)
void take (const P &p)
void take (const bbox< P > &other)
void take (const box< P > &b)

Protected Attributes

box< P > b_
bool is_valid_

Public Types

typedef P argument
typedef Accumulator< void > category
typedef bbox< P > exact_t
typedef const box< P > & q_result
typedef mln::metal::unqualif
< const box< P > & >::ret 
result

Detailed Description

template<typename P>
struct mln::accu::shape::bbox< P >

Generic bounding box accumulator class.

The parameter P is the type of points.

Definition at line 55 of file accu/shape/bbox.hh.

Constructor & Destructor Documentation

template<typename P>
mln::accu::shape::bbox< P >::bbox ( )

Member Function Documentation

template<typename P>
void mln::accu::shape::bbox< P >::init ( )

Manipulators.

template<typename P>
bool mln::accu::shape::bbox< P >::is_valid ( ) const

Check whether this accu is able to return a result.

Always true here.

const box< P > & mln::accu::internal::base< const box< P > & , bbox< P > >::subj_ ( )
inherited
template<typename P>
void mln::accu::shape::bbox< P >::take ( const P &  p)
template<typename P>
void mln::accu::shape::bbox< P >::take ( const bbox< P > &  other)
template<typename P>
void mln::accu::shape::bbox< P >::take ( const box< P > &  b)
void mln::Accumulator< bbox< P > >::take_as_init ( const T t)
inherited

Take as initialization the value t.

template<typename P>
void mln::accu::shape::bbox< P >::take_as_init_ ( const P &  p)
void mln::Accumulator< bbox< P > >::take_as_init_ ( const T t)
inherited

INTERNAL_API

Default implementation of "take as initialization".

void mln::Accumulator< bbox< P > >::take_n_times ( unsigned  n,
const T t 
)
inherited

Take n times the value t.

void mln::Accumulator< bbox< P > >::take_n_times_ ( unsigned  n,
const T t 
)
inherited

INTERNAL_API

Default implementation of "take n times".

template<typename P>
const box<P>& mln::accu::shape::bbox< P >::to_result ( ) const

Get the value of the accumulator.

Member Data Documentation

template<typename P>
box<P> mln::accu::shape::bbox< P >::b_
protected

Definition at line 80 of file accu/shape/bbox.hh.

template<typename P>
bool mln::accu::shape::bbox< P >::is_valid_
protected

Definition at line 79 of file accu/shape/bbox.hh.

Member Typedef Documentation

template<typename P>
typedef P mln::accu::shape::bbox< P >::argument

Definition at line 57 of file accu/shape/bbox.hh.

typedef Accumulator<void> mln::Accumulator< bbox< P > >::category
inherited

Definition at line 64 of file accumulator.hh.

typedef bbox< P > mln::Object< bbox< P > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef const box< P > & mln::accu::internal::base< const box< P > & , bbox< P > >::q_result
inherited

Definition at line 58 of file base.hh.

typedef mln::metal::unqualif< const box< P > & >::ret mln::accu::internal::base< const box< P > & , bbox< P > >::result
inherited

Definition at line 59 of file base.hh.