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