38 #include <visp3/visual_features/vpFeatureMomentCommon.h>
39 #include <visp3/core/vpMomentDatabase.h>
49 featureGravity(moments,A,B,C),
50 featureGravityNormalized(moments,A,B,C),
51 featureAn(moments,A,B,C),
52 featureCInvariant(moments,A,B,C),
53 featureAlpha(moments,A,B,C),
54 featureCentered(moments,A,B,C),
55 featureMomentBasic(moments,A,B,C),
56 feature_moment_area(moments,A,B,C)
59 featureGravity.
linkTo(*
this);
60 featureGravityNormalized.
linkTo(*
this);
62 featureCInvariant.
linkTo(*
this);
63 featureAlpha.
linkTo(*
this);
64 featureMomentBasic.
linkTo(*
this);
65 featureCentered.
linkTo(*
this);
66 feature_moment_area.
linkTo(*
this);
76 featureMomentBasic.
update(A,B,C);
77 featureGravity.
update(A,B,C);
78 featureCentered.
update(A,B,C);
80 featureGravityNormalized.
update(A,B,C);
81 featureCInvariant.
update(A,B,C);
82 featureAlpha.
update(A,B,C);
83 feature_moment_area.
update(A,B,C);
void linkTo(vpFeatureMomentDatabase &featureMoments)
void updateAll(double A, double B, double C)
This class allows to register all vpMoments so they can access each other according to their dependen...
vpFeatureMomentCommon(vpMomentDatabase &moments, double A=0.0, double B=0.0, double C=1.0)
void update(double A, double B, double C)