45 #ifndef vpBasicFeature_H
46 #define vpBasicFeature_H
53 #include <visp/vpMatrix.h>
54 #include <visp/vpColVector.h>
59 #include <visp/vpCameraParameters.h>
62 #include <visp/vpColor.h>
63 #include <visp/vpImage.h>
64 #include <visp/vpRGBa.h>
85 static const unsigned int FEATURE_LINE [32];
106 virtual void init() = 0 ;
113 virtual inline double operator[](
const unsigned int i)
const {
return s[i]; }
116 static unsigned int selectAll() {
return FEATURE_ALL ; }
119 vpColVector get_s(
unsigned int select=FEATURE_ALL)
const;
122 unsigned int getDimension(
const unsigned int select=FEATURE_ALL)
const;
124 virtual vpMatrix interaction(
const unsigned int select = FEATURE_ALL) = 0;
126 const unsigned int select= FEATURE_ALL);
128 virtual void print(
const unsigned int select= FEATURE_ALL)
const = 0 ;
136 unsigned int thickness=1)
const = 0;
140 unsigned int thickness=1)
const = 0;
158 } vpBasicFeatureDeallocatorType;
Definition of the vpMatrix class.
bool * flags
Ensure that all the parameters needed to compute the iteraction matrix are set.
static const unsigned int FEATURE_ALL
void setDeallocate(vpBasicFeatureDeallocatorType d)
virtual double operator[](const unsigned int i) const
Return element i in the state vector (usage : x = s[i] )
Class to define colors available for display functionnalities.
unsigned int dim_s
Dimension of the visual feature.
static unsigned int selectAll()
Select all the features.
unsigned int dimension_s()
static const vpColor green
class that defines what is a visual feature
vpBasicFeatureDeallocatorType
Generic class defining intrinsic camera parameters.
vpBasicFeatureDeallocatorType deallocate
Class that provides a data structure for the column vectors as well as a set of operations on these v...
vpBasicFeatureDeallocatorType getDeallocate()
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpColVector s
State of the visual feature.