45 #if MRPT_HAS_OPENGL_GLUT    49     glColor4ub(m_color.R, m_color.G, m_color.B, m_color.A);
    64     writeToStreamRender(out);
    78             readFromStreamRender(
in);
 void renderTextBitmap(const char *str, void *fontStyle)
This method is safe for calling from within ::render() methods. 
 
A 2D text (bitmap rendering): it always "faces the observer" despite it's at some 3D location...
 
~CText() override
Private, virtual destructor: only can be deleted from smart pointers. 
 
uint8_t serializeGetVersion() const override
Must return the current versioning number of the object. 
 
GLAPI void GLAPIENTRY glEnable(GLenum cap)
 
GLAPI void GLAPIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
 
#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. 
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations. 
 
This base provides a set of functions for maths stuff. 
 
void render() const override
Render. 
 
GLAPI void GLAPIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
 
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive. 
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
Virtual base class for "archives": classes abstracting I/O streams. 
 
The namespace for 3D scene representation and rendering. 
 
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive. 
 
unsigned __int32 uint32_t
 
GLAPI void GLAPIENTRY glDisable(GLenum cap)
 
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of th...