|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CLightTrav Class ReferenceThe light traversal.
More...
#include <light_trav.h>
Inheritance diagram for NL3D::CLightTrav:
List of all members.
Detailed Description
The light traversal.
The purpose of this traversal is to compute lighting on lightable objects.
Lightable objects can be CTransform only.
NB: see CScene for 3d conventions (orthonormal basis...) -
See also:
-
CScene IBaseLightObs
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2000
Definition at line 65 of file light_trav.h.
Constructor & Destructor Documentation
NL3D::CLightTrav::CLightTrav |
( |
|
) |
|
|
Member Function Documentation
|
Add an observer to the list of lighted observers. DOESN'T CHECK if already inserted.
Definition at line 73 of file light_trav.cpp.
References _LightedList. |
void NL3D::CLightTrav::clearLightedList |
( |
|
) |
|
|
IObs * NL3D::CLightTrav::createDefaultObs |
( |
|
) |
const [virtual] |
|
|
This method must create a default observer for this traversal.
Any model which doesn't provide (by registerObs() or by inheritance) an observer for this view will be linked with this default observer.
Implements NL3D::ITrav.
Definition at line 61 of file light_trav.cpp. |
|
This function must return the Unique Ident for this traversal class.
Implements NL3D::ITrav.
Definition at line 75 of file light_trav.h. |
sint NL3D::CLightTrav::getRenderOrder |
( |
|
) |
const [inline, virtual] |
|
|
Return the order of the traversal.
This is usefull for CScene::render() method. It indicate when the traversal is called. Order for basic traversal are:
Implements NL3D::ITravScene.
Definition at line 76 of file light_trav.h. |
void NL3D::CLightTrav::setLightModelRoot |
( |
CRootModel * |
lightModelRoot |
) |
|
|
void NL3D::CLightTrav::traverse |
( |
|
) |
[virtual] |
|
Member Data Documentation
std::vector<IBaseLightObs*> NL3D::CLightTrav::_LightedList [private]
|
|
|
The lightingManager, where objects/lights are inserted, and modelContributions are computed.
Definition at line 95 of file light_trav.h.
Referenced by traverse. |
bool NL3D::CLightTrav::LightingSystemEnabled
|
|
The documentation for this class was generated from the following files:
|
|