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