36 out << m_pointingX << m_pointingY << m_pointingZ << m_distanceZoom
37 << m_azimuthDeg << m_elevationDeg << m_projectiveModel
38 << m_projectiveFOVdeg;
48 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_distanceZoom >>
49 m_azimuthDeg >> m_elevationDeg >> m_projectiveModel >>
55 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_distanceZoom >>
56 m_azimuthDeg >> m_elevationDeg;
69 std::numeric_limits<double>::max(), std::numeric_limits<double>::max(),
70 std::numeric_limits<double>::max());
72 -std::numeric_limits<double>::max(),
73 -std::numeric_limits<double>::max(),
74 -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.
uint8_t serializeGetVersion() const override
Must return the current versioning number of the object.
This base provides a set of functions for maths stuff.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Virtual base class for "archives": classes abstracting I/O streams.
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...