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