45 #ifndef __vpXmlConfigParserKeyPoint_h__
46 #define __vpXmlConfigParserKeyPoint_h__
48 #include <visp3/core/vpConfig.h>
55 #include <libxml/xmlmemory.h>
57 #include <visp3/core/vpXmlParser.h>
89 ransac_consensus_percentage
99 } vpMatchingMethodEnum;
103 std::string m_detectorName;
105 std::string m_extractorName;
107 std::string m_matcherName;
109 double m_matchingFactorThreshold;
111 vpMatchingMethodEnum m_matchingMethod;
113 double m_matchingRatioThreshold;
115 int m_nbRansacIterations;
117 int m_nbRansacMinInlierCount;
119 double m_ransacConsensusPercentage;
121 double m_ransacReprojectionError;
123 double m_ransacThreshold;
126 bool m_useRansacConsensusPercentage;
141 return m_detectorName;
150 return m_extractorName;
158 return m_matcherName;
166 return m_matchingFactorThreshold;
175 return m_matchingMethod;
184 return m_matchingRatioThreshold;
193 return m_nbRansacIterations;
202 return m_nbRansacMinInlierCount;
211 return m_ransacConsensusPercentage;
220 return m_ransacReprojectionError;
229 return m_ransacThreshold;
238 return m_useRansacConsensusPercentage;
248 return m_useRansacVVS;
256 void parse(
const std::string &filename);
262 void read_detector(xmlDocPtr doc, xmlNodePtr node);
263 void read_extractor(xmlDocPtr doc, xmlNodePtr node);
264 void read_matcher(xmlDocPtr doc, xmlNodePtr node);
266 void read_ransac(xmlDocPtr doc, xmlNodePtr node);
270 #endif //VISP_HAVE_XML2
std::string getMatcherName() const
double getMatchingFactorThreshold() const
bool getUseRansacVVSPoseEstimation() const
double getRansacConsensusPercentage() const
virtual void writeMainClass(xmlNodePtr node)=0
int getNbRansacMinInlierCount() const
bool getUseRansacConsensusPercentage() const
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
double getRansacReprojectionError() const
int getNbRansacIterations() const
double getMatchingRatioThreshold() const
std::string getDetectorName() const
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)=0
double getRansacThreshold() const
std::string getExtractorName() const
vpMatchingMethodEnum getMatchingMethod() const
void parse(const std::string &filename)