50 #ifndef vpMbtXmlParser_HH
51 #define vpMbtXmlParser_HH
53 #include <visp/vpConfig.h>
57 #include <libxml/xmlmemory.h>
59 #include <visp/vpMbXmlParser.h>
60 #include <visp/vpMe.h>
126 return minLineLengthThreshold;
135 return minPolygonAreaThreshold;
138 void parse(
const char * filename);
141 void read_ecm (xmlDocPtr doc, xmlNodePtr node);
142 void read_sample (xmlDocPtr doc, xmlNodePtr node);
143 void read_mask (xmlDocPtr doc, xmlNodePtr node);
144 void read_range (xmlDocPtr doc, xmlNodePtr node);
145 void read_contrast (xmlDocPtr doc, xmlNodePtr node);
146 void read_lod (xmlDocPtr doc, xmlNodePtr node);
Parse an Xml file to extract configuration parameters of a mbtConfig object.Data parser for the model...
double minLineLengthThreshold
Minimum line length to track a segment when LOD is enabled.
void getMe(vpMe &_ecm) const
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)
Contains predetermined masks for sites and holds moving edges tracking parameters.
bool useLod
If true, the LOD is enabled, otherwise it is not.
vpMe m_ecm
Moving edges parameters.
void writeMainClass(xmlNodePtr node)
double getMinPolygonAreaThreshold() const
Parse an Xml file to extract configuration parameters of a mbtConfig object.Data parser for the model...
void parse(const char *filename)
double minPolygonAreaThreshold
Minimum polygon area to track a face when LOD is enabled.
void setMovingEdge(const vpMe &_ecm)
double getMinLineLengthThreshold() const