43 #ifndef vpXMLPARSERCAMERA_H 44 #define vpXMLPARSERCAMERA_H 46 #include <visp3/core/vpConfig.h> 48 #include <visp3/core/vpCameraParameters.h> 173 std::string getCameraName()
const;
175 unsigned int getHeight()
const;
176 unsigned int getSubsampling_width()
const;
177 unsigned int getSubsampling_height()
const;
178 unsigned int getWidth()
const;
180 int parse(
vpCameraParameters &cam,
const std::string &filename,
const std::string &camera_name,
182 unsigned int image_height = 0);
184 int save(
const vpCameraParameters &cam,
const std::string &filename,
const std::string &camera_name,
185 unsigned int image_width = 0,
unsigned int image_height = 0,
186 const std::string &additionalInfo =
"");
188 void setCameraName(
const std::string &name);
189 void setHeight(
unsigned int height);
190 void setSubsampling_width(
unsigned int subsampling);
191 void setSubsampling_height(
unsigned int subsampling);
192 void setWidth(
unsigned int width);
XML parser to load and save intrinsic camera parameters.
vpCameraParametersProjType
Generic class defining intrinsic camera parameters.