44 #ifndef vpGenericFeature_hh
45 #define vpGenericFeature_hh
53 #include <visp/vpMatrix.h>
54 #include <visp/vpBasicFeature.h>
55 #include <visp/vpRGBa.h>
189 const unsigned int select = FEATURE_ALL) ;
193 void print(
const unsigned int select = FEATURE_ALL )
const ;
203 } vpGenericFeatureErrorType;
207 vpGenericFeatureErrorType errorStatus ;
210 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 void get_s(
double &s0)
const;
220 void get_s(
double &s0,
double &s1)
const;
221 void get_s(
double &s0,
double &s1,
double &s2)
const;
227 unsigned int thickness=1)
const ;
231 unsigned int thickness=1)
const ;
Definition of the vpMatrix class.
virtual void print(const unsigned int select=FEATURE_ALL) const =0
Print the name of the feature.
Class to define colors available for display functionnalities.
vpMatrix getInteractionMatrix() const
virtual vpColVector error(const vpBasicFeature &s_star, const unsigned int select=FEATURE_ALL)
Compute the error between two visual features from a subset of the possible features.
static const vpColor green
class that defines what is a visual feature
virtual vpMatrix interaction(const unsigned int select=FEATURE_ALL)=0
Compute the interaction matrix from a subset of the possible features.
Generic class defining intrinsic camera parameters.
Class that provides a data structure for the column vectors as well as a set of operations on these v...
Class that enables to define a feature or a set of features which are not implemented in ViSP as a sp...
virtual vpBasicFeature * duplicate() const =0
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