48 #include <visp/vpMomentObject.h>
49 #include <visp/vpMoment.h>
50 #include <visp/vpMomentDatabase.h>
105 std::strcpy(_name,
name());
106 this->moments=&moments;
109 moments.add(*
this,_name);
118 this->
object=&object;
127 for(std::vector<double>::const_iterator i = m.
values.begin();i!=m.
values.end();i++)
void linkTo(vpMomentDatabase &moments)
virtual const char * name()=0
Class for generic objects.
void update(vpMomentObject &object)
This class allows to register all vpMoments so they can access each other according to their dependen...
This class defines shared methods/attributes for 2D moments.
VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpImagePoint &ip)
std::vector< double > values