10 #ifndef opengl_CLight_H    11 #define opengl_CLight_H    19         namespace utils { 
class CStream; }
    32                         void setPosition(
float x,
float y,
float z,
float w);
    33                         void setDirection(
float dx,
float dy,
float dz);
    37                         float   color_ambient[4];
    38                         float   color_diffuse[4];
    39                         float   color_specular[4];
    52                         void  sendToOpenGL() 
const; 
 
OPENGL_IMPEXP mrpt::utils::CStream & operator<<(mrpt::utils::CStream &out, const mrpt::opengl::CLight &o)
 
float constant_attenuation
 
A template to obtain the type of its argument as a string at compile time. 
 
::mrpt::utils::CStream & operator>>(mrpt::utils::CStream &in, CAngularObservationMeshPtr &pObj)
 
GLubyte GLubyte GLubyte GLubyte w
 
Each of the possible lights of a 3D scene. 
 
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
 
GLsizei const GLchar ** string
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
uint8_t light_ID
OpenGL ID (typical range: 0-7) 
 
float quadratic_attenuation