40 #include <visp3/core/vpMoment.h>
41 #include <visp3/core/vpMomentDatabase.h>
42 #include <visp3/core/vpMomentObject.h>
52 for (std::vector<double>::const_iterator i = m.
values.begin(); i != m.
values.end(); ++i)
117 this->moments = &data_base;
119 data_base.add(*
this, m_name);
136 os <<
" WARNING : Falling back to base class version of "
137 "printDependencies(). To prevent that, this has to be implemented in "
138 "the derived classes!"
friend std::ostream & operator<<(std::ostream &s, const vpArray2D< Type > &A)
This class allows to register all vpMoments so they can access each other according to their dependen...
Class for generic objects.
This class defines shared methods/attributes for 2D moments.
virtual const std::string name() const =0
std::vector< double > values
void linkTo(vpMomentDatabase &moments)
void update(vpMomentObject &object)
virtual void printDependencies(std::ostream &os) const