41#ifndef _vpFeatureMoment_h_
42#define _vpFeatureMoment_h_
46#include <visp3/core/vpConfig.h>
47#include <visp3/core/vpException.h>
48#include <visp3/visual_features/vpBasicFeature.h>
190#if !defined(VISP_MOMENTS_COMBINE_MATRICES)
191#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
220 virtual void compute_interaction(
void);
224 unsigned int thickness = 1) const VP_OVERRIDE;
226 unsigned int thickness = 1) const VP_OVERRIDE;
228 int getDimension(
unsigned int select = FEATURE_ALL) const;
229 void init(
void) VP_OVERRIDE;
230 vpMatrix interaction(
unsigned int select = FEATURE_ALL) VP_OVERRIDE;
243 virtual const std::
string name() const = 0;
248 void update(
double A,
double B,
double C);
251 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os, const
vpFeatureMoment &featM);
278 this->moment = p_moment;
284 const std::string
momentName()
const {
return std::string(); }
289 virtual const std::string
name()
const {
return std::string(); }
class that defines what is a visual feature
virtual vpBasicFeature * duplicate() const =0
Generic class defining intrinsic camera parameters.
Class to define RGB colors available for display functionalities.
This class allows to register all feature moments (implemented in vpFeatureMoment....
vpFeatureMoment(vpMomentDatabase &data_base, double A_=0.0, double B_=0.0, double C_=0.0, vpFeatureMomentDatabase *featureMoments=nullptr, unsigned int nbmatrices=1)
virtual void printDependencies(std::ostream &os) const
std::vector< vpMatrix > interaction_matrices
vpFeatureMomentDatabase * featureMomentsDataBase
vpMomentDatabase & moments
const vpMoment & getMoment() const
vpFeatureMoment(const vpFeatureMoment &)=delete
void print(unsigned int select=FEATURE_ALL) const VP_OVERRIDE
virtual const std::string name() const =0
void update(double A, double B, double C)
virtual const std::string momentName() const =0
vpFeatureMoment & operator=(const vpFeatureMoment &)=delete
Definition of the vpImage class member functions.
Implementation of a matrix and operations on matrices.
This class allows to register all vpMoments so they can access each other according to their dependen...
vpMomentGenericFeature(vpMomentDatabase &data_base, double A_, double B_, double C_, vpFeatureMomentDatabase *featureMoments, const vpMoment *p_moment)
const std::string momentName() const
virtual const std::string name() const
Class for generic objects.
This class defines shared methods/attributes for 2D moments.