40 #ifndef vpBasicFeature_H 41 #define vpBasicFeature_H 48 #include <visp3/core/vpColVector.h> 49 #include <visp3/core/vpMatrix.h> 54 #include <visp3/core/vpCameraParameters.h> 57 #include <visp3/core/vpColor.h> 58 #include <visp3/core/vpImage.h> 59 #include <visp3/core/vpRGBa.h> 80 static const unsigned int FEATURE_LINE[32];
82 enum { FEATURE_ALL = 0xffff };
115 unsigned int thickness = 1)
const = 0;
117 virtual void init() = 0;
122 vpColVector get_s(
unsigned int select = FEATURE_ALL)
const;
126 unsigned int getDimension(
unsigned int select = FEATURE_ALL)
const;
128 virtual vpMatrix interaction(
unsigned int select = FEATURE_ALL) = 0;
130 virtual inline double operator[](
unsigned int i)
const {
return s[i]; }
133 virtual void print(
unsigned int select = FEATURE_ALL)
const = 0;
Implementation of a matrix and operations on matrices.
void setDeallocate(vpBasicFeatureDeallocatorType d)
Class to define RGB 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
virtual double operator[](unsigned int i) const
Return element i in the state vector (usage : x = s[i] )
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.