21 const uint8_t version = 0;
24 out << diffuse << ambient << specular << direction;
35 in >> diffuse >> ambient >> specular >> direction;
mrpt::serialization::CArchive & operator>>(mrpt::serialization::CArchive &in, CPolyhedron::TPolyhedronEdge &o)
Reads a polyhedron edge from a binary stream.
void readFromStream(mrpt::serialization::CArchive &in)
COpenGLScene::Ptr & operator<<(COpenGLScene::Ptr &s, const CRenderizable::Ptr &r)
Inserts an openGL object into a scene.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
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
The namespace for 3D scene representation and rendering.
Lighting parameters, mostly for triangle shaders.
void writeToStream(mrpt::serialization::CArchive &out) const