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