39 #ifndef vpGenericFeature_hh 40 #define vpGenericFeature_hh 48 #include <visp3/core/vpMatrix.h> 49 #include <visp3/core/vpRGBa.h> 50 #include <visp3/visual_features/vpBasicFeature.h> 192 unsigned int thickness = 1)
const;
194 unsigned int thickness = 1)
const;
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;
212 void print(
unsigned int select = FEATURE_ALL)
const;
213 void setInteractionMatrix(
const vpMatrix &L);
216 void set_s(
const double s0);
217 void set_s(
const double s0,
const double s1);
218 void set_s(
const double s0,
const double s1,
const double s2);
221 typedef enum { errorNotInitalized, errorInitialized, errorHasToBeUpdated } vpGenericFeatureErrorType;
225 vpGenericFeatureErrorType errorStatus;
Implementation of a matrix and operations on matrices.
Class to define RGB colors available for display functionnalities.
static const vpColor green
vpColVector get_s(unsigned int select=FEATURE_ALL) const
Get the feature vector .
vpMatrix getInteractionMatrix() const
virtual void print(unsigned int select=FEATURE_ALL) const =0
Print the name of the feature.
class that defines what is a visual feature
virtual vpColVector error(const vpBasicFeature &s_star, unsigned int select=FEATURE_ALL)
Generic class defining intrinsic camera parameters.
Implementation of column vector and the associated operations.
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
virtual vpMatrix interaction(unsigned int select=FEATURE_ALL)=0
Compute the interaction matrix from a subset of the possible features.
virtual void display(const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const =0