44 #ifndef vpMbtKltXmlParser_HH
45 #define vpMbtKltXmlParser_HH
47 #include <visp3/core/vpConfig.h>
51 #include <libxml/xmlmemory.h>
53 #include <visp3/mbt/vpMbXmlParser.h>
67 unsigned int maskBorder;
69 unsigned int maxFeatures;
79 unsigned int blockSize;
81 unsigned int pyramidLevels;
107 inline unsigned int getBlockSize()
const {
return blockSize; }
114 inline double getHarrisParam()
const {
return harrisParam; }
121 inline unsigned int getMaskBorder()
const {
return maskBorder; }
128 inline unsigned int getMaxFeatures()
const {
return maxFeatures; }
135 inline double getMinDistance()
const {
return minDist; }
142 inline unsigned int getPyramidLevels()
const {
return pyramidLevels; }
149 inline double getQuality()
const {
return qualityValue; }
156 inline unsigned int getWindowSize()
const {
return winSize; }
159 void read_klt(xmlDocPtr doc, xmlNodePtr node);
166 inline void setBlockSize(
const unsigned int &bs) { blockSize = bs; }
173 inline void setHarrisParam(
const double &hp) { harrisParam = hp; }
180 inline void setMaskBorder(
const unsigned int &mb) { maskBorder = mb; }
187 inline void setMaxFeatures(
const unsigned int &mF) { maxFeatures = mF; }
194 inline void setMinDistance(
const double &mD) { minDist = mD; }
201 inline void setPyramidLevels(
const unsigned int &pL) { pyramidLevels = pL; }
208 inline void setQuality(
const double &q) { qualityValue = q; }
215 inline void setWindowSize(
const unsigned int &w) { winSize = w; }