24 uint8_t
CCamera::serializeGetVersion()
const {
return 1; }
28 out << m_pointingX << m_pointingY << m_pointingZ << m_eyeDistance
29 << m_azimuthDeg << m_elevationDeg << m_projectiveModel
30 << m_projectiveFOVdeg;
40 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_eyeDistance >>
41 m_azimuthDeg >> m_elevationDeg >> m_projectiveModel >>
47 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_eyeDistance >>
48 m_azimuthDeg >> m_elevationDeg;
61 std::numeric_limits<double>::max(), std::numeric_limits<double>::max(),
62 std::numeric_limits<double>::max());
64 -std::numeric_limits<double>::max(),
65 -std::numeric_limits<double>::max(),
66 -std::numeric_limits<double>::max());
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files.
The base class of 3D objects that can be directly rendered through OpenGL.
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive.
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
In this class, returns a fixed box (max,max,max), (-max,-max,-max).
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
This base provides a set of functions for maths stuff.
TPoint3D_< double > TPoint3D
Lightweight 3D point.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Virtual base class for "archives": classes abstracting I/O streams.
mrpt::vision::TStereoCalibResults out
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive.
The namespace for 3D scene representation and rendering.
A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camer...