40 #include <visp3/core/vpMomentDatabase.h> 41 #include <visp3/visual_features/vpFeatureMomentCommon.h> 52 : featureGravity(moments, A, B, C), featureGravityNormalized(moments, A, B, C), featureAn(moments, A, B, C),
53 featureCInvariant(moments, A, B, C), featureAlpha(moments, A, B, C), featureCentered(moments, A, B, C),
54 featureMomentBasic(moments, A, B, C), feature_moment_area(moments, A, B, C)
57 featureGravity.
linkTo(*
this);
58 featureGravityNormalized.
linkTo(*
this);
60 featureCInvariant.
linkTo(*
this);
61 featureAlpha.
linkTo(*
this);
62 featureMomentBasic.
linkTo(*
this);
63 featureCentered.
linkTo(*
this);
64 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)