35 #ifndef ANA_COLOR_LIGHT_H
36 #define ANA_COLOR_LIGHT_H
Light used for OpenGL in 3D windows.
void SetQuadraticAttenuation(float val)
Set the light spot quadratic attenuation.
void SetSpecularB(float val)
Set the specular blue component of the light.
void SetModelAmbientA(float val)
Set the light ambient model alpha coefficient.
void SetBackgroundG(float val)
Set the specular green component of the light.
GLfloat SpotDirection(int i)
void SetDiffuseB(float val)
Set the diffuse blue component of the light.
void SetPositionZ(float val)
Set the Z position of the spot light.
void SetSpotCutoff(float val)
Set the light spot cutoff angle.
void SetSpecularG(float val)
Set the specular green component of the light.
void SetSpotExponent(float val)
Set the light spot attenuation exponent.
GLfloat ConstantAttenuation()
void SetSpecular(float, float, float, float)
Set the four specular components of the light.
void SetAmbientA(float val)
Set the ambient alpha coefficient of the light.
void SetDiffuseG(float val)
Set the diffuse green component of the light.
GLfloat ModelLocalViewer()
GLfloat * SpotDirection()
void set(const carto::Object &)
void SetConstantAttenuation(float val)
Set the light spot constant attenuation.
void SetModelTwoSide(float val)
Set the light two side model.
void SetAmbientB(float val)
Set the ambient blue component of the light.
void SetPositionW(float val)
Set the W position of the spot light.
void SetAmbientG(float val)
Set the ambient green component of the light.
void SetDiffuseA(float val)
Set the diffuse alpha coefficient of the light.
void SetPositionY(float val)
Set the Y position of the spot light.
GLfloat Background(int i)
void SetDiffuseR(float val)
Set the diffuse red component of the light.
void SetSpotDirectionX(float val)
Set the X spot light direction.
void SetSpotDirectionZ(float val)
Set the Z spot light direction.
void SetBackground(float, float, float, float)
Set the four background components of the light.
void SetSpecularA(float val)
Set the specular alpha coefficient of the light.
void SetModelAmbientR(float val)
Set the light ambient model red component.
void SetAmbient(float, float, float, float)
Set the four ambient components of the light.
void SetSpotDirectionY(float val)
Set the Y spot ligth direction.
GLfloat _quadraticAttenuation
void SetModelLocalViewer(float val)
Set the light local viewer model.
void set(const carto::GenericObject &)
GLfloat _spotDirection[3]
void SetPosition(float, float, float, float)
Set the four position coordinates of the light.
void SetBackgroundA(float val)
Set the specular alpha coefficient of the light.
GLfloat ModelAmbient(int i)
GLfloat LinearAttenuation()
GLfloat _modelLocalViewer
GLfloat _linearAttenuation
void SetBackgroundB(float val)
Set the specular blue component of the light.
carto::Object genericDescription() const
void SetModelAmbientG(float val)
Set the light ambient model green component.
void SetModelAmbientB(float val)
Set the light ambient model blue component.
void SetLinearAttenuation(float val)
Set the light spot linear attenuation.
void SetModelAmbient(float, float, float, float)
Set the four ambient model components of the light.
GLfloat QuadraticAttenuation()
void SetSpotDirection(float, float, float)
Set the three spot direction components of the light.
void setChanged(bool=true)
GLfloat _constantAttenuation
void SetAmbientR(float val)
Set the ambient red component of the light.
void SetDiffuse(float, float, float, float)
Set the four diffuse components of the light .
void SetBackgroundR(float val)
Set the specular red component of the light.
void SetSpecularR(float val)
Set the specular red component of the light.
void SetPositionX(float val)
Set the X position of the spot light.