41 #ifndef vpBasicFeature_H
42 #define vpBasicFeature_H
49 #include <visp3/core/vpMatrix.h>
50 #include <visp3/core/vpColVector.h>
55 #include <visp3/core/vpCameraParameters.h>
58 #include <visp3/core/vpColor.h>
59 #include <visp3/core/vpImage.h>
60 #include <visp3/core/vpRGBa.h>
82 static const unsigned int FEATURE_LINE [32];
105 virtual void init() = 0 ;
112 virtual inline double operator[](
const unsigned int i)
const {
return s[i]; }
115 static unsigned int selectAll() {
return FEATURE_ALL ; }
118 vpColVector get_s(
unsigned int select=FEATURE_ALL)
const;
121 unsigned int getDimension(
const unsigned int select=FEATURE_ALL)
const;
123 virtual vpMatrix interaction(
const unsigned int select = FEATURE_ALL) = 0;
125 const unsigned int select= FEATURE_ALL);
127 virtual void print(
const unsigned int select= FEATURE_ALL)
const = 0 ;
135 unsigned int thickness=1)
const = 0;
139 unsigned int thickness=1)
const = 0;
157 } vpBasicFeatureDeallocatorType;
Implementation of a matrix and operations on matrices.
bool * flags
Ensure that all the parameters needed to compute the iteraction matrix are set.
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
Implementation of column vector and the associated operations.
vpBasicFeatureDeallocatorType getDeallocate()
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpColVector s
State of the visual feature.