43 #ifndef vpMbXmlParser_HH
44 #define vpMbXmlParser_HH
46 #include <visp3/core/vpConfig.h>
50 #include <libxml/xmlmemory.h>
52 #include <visp3/core/vpXmlParser.h>
53 #include <visp3/core/vpCameraParameters.h>
162 return minLineLengthThreshold;
171 return minPolygonAreaThreshold;
195 void parse(
const char * filename);
198 void read_camera (xmlDocPtr doc, xmlNodePtr node);
199 void read_face(xmlDocPtr doc, xmlNodePtr node);
200 void read_lod (xmlDocPtr doc, xmlNodePtr node);
vpCameraParameters cam
Camera parameters.
void getCameraParameters(vpCameraParameters &_cam) const
double nearClipping
Near clipping distance.
double angleAppear
Angle to determine if a face appeared.
double getNearClippingDistance() const
double minLineLengthThreshold
Minimum line length to track a segment when LOD is enabled.
virtual void writeMainClass(xmlNodePtr node)=0
bool hasFarClipping
Is far clipping distance specified?
double angleDisappear
Angle to determine if a face disappeared.
bool hasNearClippingDistance() const
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
double getFarClippingDistance() const
bool hasFarClippingDistance() const
double farClipping
Near clipping distance.
double getAngleDisappear() const
void setAngleDisappear(const double &adisappear)
double getMinPolygonAreaThreshold() const
Generic class defining intrinsic camera parameters.
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)=0
void setCameraParameters(const vpCameraParameters &_cam)
bool hasNearClipping
Is near clipping distance specified?
Parse an Xml file to extract configuration parameters of a mbtConfig object.Data parser for the model...
void setNearClippingDistance(const double &nclip)
double getMinLineLengthThreshold() const
void setAngleAppear(const double &aappear)
bool fovClipping
Fov Clipping.
double getAngleAppear() const
bool getFovClipping() const
void setFarClippingDistance(const double &fclip)
double minPolygonAreaThreshold
Minimum polygon area to track a face when LOD is enabled.
bool useLod
If true, the LOD is enabled, otherwise it is not.
void parse(const std::string &filename)