47 #ifndef vpMbXmlParser_HH
48 #define vpMbXmlParser_HH
50 #include <visp/vpConfig.h>
54 #include <libxml/xmlmemory.h>
56 #include <visp/vpXmlParser.h>
57 #include <visp/vpCameraParameters.h>
162 void parse(
const char * filename);
165 void read_camera (xmlDocPtr doc, xmlNodePtr node);
166 void read_face(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
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)
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)
void setAngleAppear(const double &aappear)
bool fovClipping
Fov Clipping.
double getAngleAppear() const
bool getFovClipping() const
void setFarClippingDistance(const double &fclip)
void parse(const std::string &filename)