50 #include <visp/vpConfig.h>
127 const std::vector<double>&
get()
const {
return values;}
130 virtual void compute()=0;
131 virtual const char* name()
const = 0;
132 friend VISP_EXPORT std::ostream & operator<<(std::ostream & os,
const vpMoment& m);
133 virtual void printDependencies(std::ostream& os)
const;
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