35 m_projectiveModel(true),
36 m_projectiveFOVdeg(30),
45 out << m_pointingX << m_pointingY << m_pointingZ << m_distanceZoom
46 << m_azimuthDeg << m_elevationDeg << m_projectiveModel
47 << m_projectiveFOVdeg;
57 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_distanceZoom >>
58 m_azimuthDeg >> m_elevationDeg >> m_projectiveModel >>
64 in >> m_pointingX >> m_pointingY >> m_pointingZ >> m_distanceZoom >>
65 m_azimuthDeg >> m_elevationDeg;
78 std::numeric_limits<double>::max(), std::numeric_limits<double>::max(),
79 std::numeric_limits<double>::max());
81 -std::numeric_limits<double>::max(),
82 -std::numeric_limits<double>::max(),
83 -std::numeric_limits<double>::max());
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camer...
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive.
virtual 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).
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive.
uint8_t serializeGetVersion() const override
Must return the current versioning number of the object.
The base class of 3D objects that can be directly rendered through OpenGL.
Virtual base class for "archives": classes abstracting I/O streams.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
This base provides a set of functions for maths stuff.
The namespace for 3D scene representation and rendering.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.