45 #include <visp3/core/vpConfig.h>
46 #include <visp3/core/vpException.h>
134 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
155 const std::vector<double> &
get()
const {
return values; }
157 virtual const std::string
name()
const = 0;
158 virtual void printDependencies(std::ostream &os)
const;
161 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
vpMoment & operator=(const vpMoment &)=delete
vpMomentDatabase & getMoments() const
const std::vector< double > & get() const
vpMoment(const vpMoment &)=delete