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