40 #ifndef vpGenericFeature_hh
41 #define vpGenericFeature_hh
43 #include <visp3/core/vpConfig.h>
44 #include <visp3/core/vpMatrix.h>
45 #include <visp3/core/vpRGBa.h>
46 #include <visp3/visual_features/vpBasicFeature.h>
194 unsigned int thickness = 1)
const VP_OVERRIDE;
196 unsigned int thickness = 1)
const VP_OVERRIDE;
204 void get_s(
double &s0)
const;
205 void get_s(
double &s0,
double &s1)
const;
206 void get_s(
double &s0,
double &s1,
double &s2)
const;
208 void init() VP_OVERRIDE;
209 vpMatrix interaction(
unsigned int select = FEATURE_ALL) VP_OVERRIDE;
210 void print(
unsigned int select = FEATURE_ALL) const VP_OVERRIDE;
211 void setInteractionMatrix(const
vpMatrix &L);
214 void set_s(const
double s0);
215 void set_s(const
double s0, const
double s1);
216 void set_s(const
double s0, const
double s1, const
double s2);
219 typedef enum { errorNotInitialized, errorInitialized, errorHasToBeUpdated } vpGenericFeatureErrorType;
223 vpGenericFeatureErrorType errorStatus;
class that defines what is a visual feature
virtual vpColVector error(const vpBasicFeature &s_star, unsigned int select=FEATURE_ALL)
vpColVector get_s(unsigned int select=FEATURE_ALL) const
Get the feature vector .
virtual void display(const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const =0
virtual vpBasicFeature * duplicate() const =0
Generic class defining intrinsic camera parameters.
Implementation of column vector and the associated operations.
Class to define RGB colors available for display functionalities.
static const vpColor green
Class that enables to define a feature or a set of features which are not implemented in ViSP as a sp...
vpMatrix getInteractionMatrix() const
Implementation of a matrix and operations on matrices.