50 #include <visp3/core/vpConfig.h> 51 #include <visp3/core/vpException.h> 149 virtual void compute() = 0;
155 const std::vector<double> &
get()
const {
return values; }
157 virtual const char *name()
const = 0;
158 virtual void printDependencies(std::ostream &os)
const;
161 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