30 m_pointingX(0),m_pointingY(0),m_pointingZ(0),
32 m_azimuthDeg(45),m_elevationDeg(45),
33 m_projectiveModel(true),
34 m_projectiveFOVdeg(30),
50 out << m_pointingX << m_pointingY << m_pointingZ
52 << m_azimuthDeg << m_elevationDeg
53 << m_projectiveModel << m_projectiveFOVdeg;
68 in >> m_pointingX >> m_pointingY >> m_pointingZ
70 >> m_azimuthDeg >> m_elevationDeg
71 >> m_projectiveModel >> m_projectiveFOVdeg;
76 in >> m_pointingX >> m_pointingY >> m_pointingZ
78 >> m_azimuthDeg >> m_elevationDeg;
90 bb_min =
mrpt::math::TPoint3D(std::numeric_limits<double>::max(),std::numeric_limits<double>::max(), std::numeric_limits<double>::max());
91 bb_max =
mrpt::math::TPoint3D(-std::numeric_limits<double>::max(),-std::numeric_limits<double>::max(),-std::numeric_limits<double>::max());
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
The base class of 3D objects that can be directly rendered through OpenGL.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
This base provides a set of functions for maths stuff.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
void readFromStream(mrpt::utils::CStream &in, int version)
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly...
virtual void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const MRPT_OVERRIDE
In this class, returns a fixed box (max,max,max), (-max,-max,-max).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
The namespace for 3D scene representation and rendering.
void writeToStream(mrpt::utils::CStream &out, int *getVersion) const
Introduces a pure virtual method responsible for writing to a CStream.
A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camer...