45 #ifndef vpMbXmlParser_HH 46 #define vpMbXmlParser_HH 48 #include <visp3/core/vpConfig.h> 52 #include <libxml/xmlmemory.h> 54 #include <visp3/core/vpCameraParameters.h> 55 #include <visp3/core/vpXmlParser.h> 191 void parse(
const char *filename);
194 void read_camera(xmlDocPtr doc, xmlNodePtr node);
195 void read_face(xmlDocPtr doc, xmlNodePtr node);
196 void read_lod(xmlDocPtr doc, xmlNodePtr node);
bool getFovClipping() const
vpCameraParameters cam
Camera parameters.
double getAngleAppear() const
double nearClipping
Near clipping distance.
double angleAppear
Angle to determine if a face appeared.
double minLineLengthThreshold
Minimum line length to track a segment when LOD is enabled.
virtual void writeMainClass(xmlNodePtr node)=0
void getCameraParameters(vpCameraParameters &_cam) const
bool hasFarClipping
Is far clipping distance specified?
bool hasNearClippingDistance() const
double angleDisappear
Angle to determine if a face disappeared.
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
double getAngleDisappear() const
double farClipping
Near clipping distance.
double getNearClippingDistance() const
double getFarClippingDistance() const
void setAngleDisappear(const double &adisappear)
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 getMinPolygonAreaThreshold() const
void setAngleAppear(const double &aappear)
bool hasFarClippingDistance() const
double getMinLineLengthThreshold() const
bool fovClipping
Fov Clipping.
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)