43 #ifndef vpXMLPARSERCAMERA_H 44 #define vpXMLPARSERCAMERA_H 46 #include <visp3/core/vpConfig.h> 48 #ifdef VISP_HAVE_PUGIXML 50 #include <visp3/core/vpCameraParameters.h> 180 std::string getCameraName()
const;
182 unsigned int getHeight()
const;
183 unsigned int getSubsampling_width()
const;
184 unsigned int getSubsampling_height()
const;
185 unsigned int getWidth()
const;
187 int parse(
vpCameraParameters &cam,
const std::string &filename,
const std::string &camera_name,
189 unsigned int image_height = 0);
191 int save(
const vpCameraParameters &cam,
const std::string &filename,
const std::string &camera_name,
192 unsigned int image_width = 0,
unsigned int image_height = 0,
193 const std::string &additionalInfo =
"");
195 void setCameraName(
const std::string &name);
196 void setHeight(
unsigned int height);
197 void setSubsampling_width(
unsigned int subsampling);
198 void setSubsampling_height(
unsigned int subsampling);
199 void setWidth(
unsigned int width);
209 #endif //VISP_HAVE_PUGIXML XML parser to load and save intrinsic camera parameters.
vpCameraParametersProjType
Generic class defining intrinsic camera parameters.