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];
122 unsigned int thickness=1)
const = 0;
126 unsigned int thickness=1)
const = 0;
128 virtual void init() = 0 ;
131 const unsigned int select= FEATURE_ALL);
134 vpColVector get_s(
unsigned int select=FEATURE_ALL)
const;
138 unsigned int getDimension(
const unsigned int select=FEATURE_ALL)
const;
140 virtual vpMatrix interaction(
const unsigned int select = FEATURE_ALL) = 0;
142 virtual inline double operator[](
const unsigned int i)
const {
return s[i]; }
145 virtual void print(
const unsigned int select= FEATURE_ALL)
const = 0 ;
154 static unsigned int selectAll() {
return FEATURE_ALL ; }
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)
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()
virtual double operator[](const unsigned int i) const
Return element i in the state vector (usage : x = s[i] )
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpColVector s
State of the visual feature.