49 #include <visp3/core/vpConfig.h>
50 #include <visp3/core/vpException.h>
144 virtual void compute()=0;
150 const std::vector<double>&
get()
const {
return values;}
152 virtual const char* name()
const = 0;
153 virtual void printDependencies(std::ostream& os)
const;
156 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMoment& m);
Class for generic objects.
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.
vpMomentDatabase & getMoments() const
const vpMomentObject & getObject() const
std::vector< double > values