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>
93 ransac_consensus_percentage
103 } vpMatchingMethodEnum;
107 std::string m_detectorName;
109 std::string m_extractorName;
111 std::string m_matcherName;
113 double m_matchingFactorThreshold;
115 vpMatchingMethodEnum m_matchingMethod;
117 double m_matchingRatioThreshold;
119 int m_nbRansacIterations;
121 int m_nbRansacMinInlierCount;
123 double m_ransacConsensusPercentage;
125 double m_ransacReprojectionError;
127 double m_ransacThreshold;
130 bool m_useRansacConsensusPercentage;
147 return m_detectorName;
156 return m_extractorName;
164 return m_matcherName;
172 return m_matchingFactorThreshold;
181 return m_matchingMethod;
190 return m_matchingRatioThreshold;
199 return m_nbRansacIterations;
208 return m_nbRansacMinInlierCount;
217 return m_ransacConsensusPercentage;
226 return m_ransacReprojectionError;
235 return m_ransacThreshold;
244 return m_useRansacConsensusPercentage;
254 return m_useRansacVVS;
262 void parse(
const std::string &filename);
268 void read_detector(xmlDocPtr doc, xmlNodePtr node);
269 void read_extractor(xmlDocPtr doc, xmlNodePtr node);
270 void read_matcher(xmlDocPtr doc, xmlNodePtr node);
272 void read_ransac(xmlDocPtr doc, xmlNodePtr node);
276 #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
virtual ~vpXmlConfigParserKeyPoint()
Default destructor.
std::string getExtractorName() const
vpMatchingMethodEnum getMatchingMethod() const
void parse(const std::string &filename)