35 #include <visp3/core/vpMomentDatabase.h>
36 #include <visp3/visual_features/vpFeatureMomentCommon.h>
47 : featureGravity(moments, A, B, C), featureGravityNormalized(moments, A, B, C), featureAn(moments, A, B, C),
48 featureCInvariant(moments, A, B, C), featureAlpha(moments, A, B, C), featureCentered(moments, A, B, C),
49 featureMomentBasic(moments, A, B, C), feature_moment_area(moments, A, B, C)
52 featureGravity.
linkTo(*
this);
53 featureGravityNormalized.
linkTo(*
this);
55 featureCInvariant.
linkTo(*
this);
56 featureAlpha.
linkTo(*
this);
57 featureMomentBasic.
linkTo(*
this);
58 featureCentered.
linkTo(*
this);
59 feature_moment_area.
linkTo(*
this);
70 featureMomentBasic.
update(A, B, C);
71 featureGravity.
update(A, B, C);
72 featureCentered.
update(A, B, C);
74 featureGravityNormalized.
update(A, B, C);
75 featureCInvariant.
update(A, B, C);
76 featureAlpha.
update(A, B, C);
77 feature_moment_area.
update(A, B, C);
vpFeatureMomentCommon(vpMomentDatabase &moments, double A=0.0, double B=0.0, double C=1.0)
void updateAll(double A, double B, double C)
void update(double A, double B, double C)
void linkTo(vpFeatureMomentDatabase &featureMoments)
This class allows to register all vpMoments so they can access each other according to their dependen...