43 #ifndef _vpMomentGravityCenter_h_ 44 #define _vpMomentGravityCenter_h_ 46 #include <visp3/core/vpMoment.h> 47 #include <visp3/core/vpMomentDatabase.h> 122 const std::vector<double> &
get()
const;
127 double getXg()
const {
return values[0]; }
132 double getYg()
const {
return values[1]; }
136 const char *
name()
const {
return "vpMomentGravityCenter"; }
virtual ~vpMomentGravityCenter()
Class for generic objects.
const char * name() const
This class defines shared methods/attributes for 2D moments.
Class describing 2D gravity center moment.
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpMoment &m)
virtual void printDependencies(std::ostream &os) const