#include <ivf/IvfOldLightModel.h>
Inheritance diagram for CIvfOldLightModel:
Public Member Functions | |
void | deleteLight (CIvfOldLight *light) |
CIvfOldLightModel () | |
~CIvfOldLightModel () | |
IvfClassInfo ("CIvfOldLightModel", CIvfObject) | |
void | setAmbient (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
void | setLocalViewer (GLboolean t) |
void | setTwoSide (GLboolean t) |
void | getAmbient (GLfloat &r, GLfloat &g, GLfloat &b, GLfloat &a) const |
bool | getLocalViewer () const |
bool | getTwoSide () const |
void | render () |
void | setUseReference (bool flag) |
void | addLight (CIvfOldLight *light) |
CIvfOldLight * | removeLight (int index) |
void | deleteLight (int index) |
CIvfOldLight * | getLight (int i) |
const CIvfOldLight * | getLight (int i) const |
int | getNoLights () const |
void | activate () |
void | deactivate () |
void | disableAll () |
void | deleteAll () |
Protected Member Functions | |
CIvfOldLightModel & | operator= (const CIvfOldLightModel &) |
CIvfOldLightModel (const CIvfOldLightModel &) |
Contains all scene lighting info
Definition at line 40 of file IvfOldLightModel.h.
|
Constructor |
|
Destructor |
|
Activate all lights |
|
Add a light to light model If addReference is not called before adding the light to the light model, it is owned by the light model instance and is deleted if not needed anymore. |
|
Deactivate all lights |
|
Deletes a light from the model |
|
Disable all OpenGL lights |
|
Return environment ambient lighting components |
|
Returns the i:th light |
|
Return local viewer flag |
|
Returns the total number of lights |
|
Return two sided flag |
|
Removes a light from the light model |
|
Render light model Reimplemented from CIvfObject. |
|
Set environment ambient lighting components |
|
Set local viewer flag |
|
Set two sided flag |
|
Set the use reference flag Determines if reference counting should be used on object. |