46 #ifndef vpMbtKltXmlParser_HH
47 #define vpMbtKltXmlParser_HH
49 #include <visp/vpConfig.h>
53 #include <libxml/xmlmemory.h>
55 #include <visp/vpXmlParser.h>
56 #include <visp/vpCameraParameters.h>
246 void parse(
const char * filename);
249 void read_camera (xmlDocPtr doc, xmlNodePtr node);
250 void read_klt(xmlDocPtr doc, xmlNodePtr node);
251 void read_face(xmlDocPtr doc, xmlNodePtr node);
unsigned int winSize
Windows size.
bool hasFarClippingDistance() const
unsigned int getMaskBorder() const
void setQuality(const double &q)
double getHarrisParam() const
double getFarClippingDistance() const
bool hasFarClipping
Is far clipping distance specified?
double minDist
Minimum distance between klt points.
unsigned int maskBorder
Border of the mask used on Klt points.
unsigned int getBlockSize() const
void getCameraParameters(vpCameraParameters &_cam) const
bool hasNearClipping
Is near clipping distance specified?
double angleAppear
Angle to determine if a face appeared.
double getAngleAppear() const
virtual void writeMainClass(xmlNodePtr node)=0
double getAngleDisappear() const
unsigned int getMaxFeatures() const
double harrisParam
Harris free parameters.
double farClipping
Near clipping distance.
bool fovClipping
Fov Clipping.
double angleDisappear
Angle to determine if a face disappeared.
unsigned int maxFeatures
Maximum of Klt features.
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
void setCameraParameters(const vpCameraParameters &_cam)
void setNearClippingDistance(const double &nclip)
void setPyramidLevels(const unsigned int &pL)
Parse an Xml file to extract configuration parameters of a Mbt Klt object.Data parser for the KLT mod...
unsigned int getWindowSize() const
void setWindowSize(const unsigned int &w)
double nearClipping
Near clipping distance.
unsigned int pyramidLevels
Number of pyramid levels.
Generic class defining intrinsic camera parameters.
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)=0
void setAngleDisappear(const double &adisappear)
void setHarrisParam(const double &hp)
void setMinDistance(const double &mD)
void setAngleAppear(const double &aappear)
void setMaxFeatures(const unsigned int &mF)
unsigned int blockSize
Block size.
double getQuality() const
void setFarClippingDistance(const double &fclip)
double qualityValue
Quality of the Klt points.
void setBlockSize(const unsigned int &bs)
bool hasNearClippingDistance() const
double getMinDistance() const
bool getFovClipping() const
vpCameraParameters cam
Camera parameters.
double getNearClippingDistance() const
void setMaskBorder(const unsigned int &mb)
unsigned int getPyramidLevels() const
void parse(const std::string &filename)