40 #include <visp3/core/vpMoment.h>
41 #include <visp3/core/vpMomentDatabase.h>
42 #include <visp3/core/vpMomentObject.h>
98 this->moments = &data_base;
100 data_base.add(*
this, m_name);
117 for (std::vector<double>::const_iterator i = m.
values.begin(); i != m.
values.end(); ++i)
130 os <<
" WARNING : Falling back to base class version of "
131 "printDependencies(). To prevent that, this has to be implemented in "
132 "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