void loadFromConfigFile(const mrpt::config::CConfigFileBase &cfg, const std::string §ion)
overload This signature is consistent with the rest of MRPT APIs
void scaleToResolution(unsigned int new_ncols, unsigned int new_nrows)
Rescale all the parameters for a new camera resolution (it raises an exception if the aspect ratio is...
void scaleToResolution(unsigned int new_ncols, unsigned int new_nrows)
Rescale all the parameters for a new camera resolution (it raises an exception if the aspect ratio is...
This class allows loading and storing values and vectors of different types from a configuration text...
std::string dumpAsText() const
Dumps all the parameters as a multi-line string, with the same format than saveToConfigFile.
Parameters for the Brown-Conrady camera lens distortion model.
void loadFromConfigFile(const std::string §ion, const mrpt::config::CConfigFileBase &cfg)
Load all the params from a config source, in the same format that used in saveToConfigFile().
void saveToConfigFile(const std::string §ion, mrpt::config::CConfigFileBase &cfg) const
Save all params to a plain text config file in this format:
Lightweight 3D pose (three spatial coordinates, plus a quaternion ).
TCamera leftCamera
Intrinsic and distortion parameters of the left and right cameras.
The virtual base class which provides a unified interface for all persistent objects in MRPT...
mrpt::math::TPose3DQuat rightCameraPose
Pose of the right camera with respect to the coordinate origin of the left camera.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Structure to hold the parameters of a pinhole stereo camera model.