Public Fields
-
GLenum glname
-
Vector3D Position
Public Methods
-
Light(GLenum glname)
- Constructors / Destructors
-
~Light()
-
void setName(const string &name)
- Other public methods
-
string getName()
-
void SetAmbient(double r, double g, double b, double a)
- const unsigned int LightIndex;
-
void SetDiffuse(double r, double g, double b, double a)
-
void SetSpecular(double r, double g, double b, double a)
-
void SetPosition(double x, double y, double z)
-
double* getAmbientColor(void)
-
double* getDiffuseColor(void)
-
double* getSpecularColor(void)
-
void ShowPosition(void)
-
void MakeDisplayList(void)
-
GLuint getList()
-
void setOnOff(bool b)
-
void setShowPos(bool b)
-
bool getOnOff(void)
-
bool getShowPos(void)
-
void glDraw()
-
int LoadXML(char* file_name)
- Load a light from a XML file.
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- Parse a light node inside a XML file.
Private Fields
-
string name
-
GLuint glList
- Vector3D Position;
-
double ambient[4]
- The display list
-
double diffuse[4]
-
double specular[4]
-
bool OnOff
-
bool ShowPos
Documentation
- Light(GLenum glname)
- Constructors / Destructors
- ~Light()
- void setName(const string &name)
- Other public methods
- string getName()
- GLenum glname
- void SetAmbient(double r, double g, double b, double a)
- const unsigned int LightIndex;
- void SetDiffuse(double r, double g, double b, double a)
- void SetSpecular(double r, double g, double b, double a)
- void SetPosition(double x, double y, double z)
- double* getAmbientColor(void)
- double* getDiffuseColor(void)
- double* getSpecularColor(void)
- void ShowPosition(void)
- void MakeDisplayList(void)
- GLuint getList()
- void setOnOff(bool b)
- void setShowPos(bool b)
- bool getOnOff(void)
- bool getShowPos(void)
- void glDraw()
- int LoadXML(char* file_name)
- Load a light from a XML file. (0 if OK, 1 if ERROR)
- int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- Parse a light node inside a XML file. (0 if OK, 1 if ERROR)
- Vector3D Position
- string name
- GLuint glList
- Vector3D Position;
- double ambient[4]
- The display list
- double diffuse[4]
- double specular[4]
- bool OnOff
- bool ShowPos
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.