43 #ifndef _vpFeatureMomentGravityCenter_h_ 44 #define _vpFeatureMomentGravityCenter_h_ 46 #include <visp3/visual_features/vpFeatureMoment.h> 48 #ifdef VISP_MOMENTS_COMBINE_MATRICES 174 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
178 const char *
name()
const {
return "vpFeatureMomentGravityCenter"; }
183 static unsigned int selectXg() {
return 1 << 0; }
188 static unsigned int selectYg() {
return 1 << 1; }
245 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
249 const char *
name()
const {
return "vpFeatureMomentGravityCenter"; }
static unsigned int selectXg()
const char * name() const
virtual const char * name() const =0
virtual void compute_interaction(void)
virtual const char * momentName() const =0
This class allows to register all vpMoments so they can access each other according to their dependen...
const char * momentName() const
This class defines shared system methods/attributes for 2D moment features but no functional code...
vpFeatureMomentGravityCenter(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments=NULL)
Functionality computation for gravity center moment feature. Computes the interaction matrix associat...
static unsigned int selectYg()
This class allows to register all feature moments (implemented in vpFeatureMoment... classes) so they can access each other according to their dependencies.