43 #ifndef __FEATUREMOMENTGRAVITYCENTER_H__ 44 #define __FEATUREMOMENTGRAVITYCENTER_H__ 45 #include <visp3/visual_features/vpFeatureMoment.h> 46 #ifdef VISP_MOMENTS_COMBINE_MATRICES 172 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
176 const char *
name()
const {
return "vpFeatureMomentGravityCenter"; }
181 static unsigned int selectXg() {
return 1 << 0; }
186 static unsigned int selectYg() {
return 1 << 1; }
243 const char *
momentName()
const {
return "vpMomentGravityCenter"; }
247 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.