# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::IBaseLightObs Class Reference

The base interface for clip traversal. More...

#include <base_light_obs.h>

Inheritance diagram for NL3D::IBaseLightObs:

NL3D::IObs NLMISC::CRefCount NL3D::CDefaultLightObs NL3D::CRootModelLightObs NL3D::CSkipModelLightObs NL3D::CTransformLightObs NL3D::CPointLightModelLightObs List of all members.

Public Methods

 IBaseLightObs ()
 Constructor. More...

virtual void init ()
 Build shortcut to HrcObs and RenderObs. More...


Public Attributes

IBaseHrcObsHrcObs
 Shortcut to observers. More...

IBaseClipObsClipObs

Detailed Description

The base interface for clip traversal.

Clip observers MUST derive from IBaseLightObs. This observer:

  • leave the notification system to DO NOTHING.
  • leave the traverse() method as undefined.
  • implement the init() method, to set shortcut to neighbor observers.
DERIVER RULES:
  • implement the notification system (see IObs and IObs() for details).
  • implement the traverse() method.
  • possibly modify/extend the graph methods (such as a graph behavior).
See also:
CLightTrav
Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 59 of file base_light_obs.h.


Constructor & Destructor Documentation

NL3D::IBaseLightObs::IBaseLightObs   [inline]
 

Constructor.

Definition at line 70 of file base_light_obs.h.

References ClipObs, and HrcObs.


Member Function Documentation

void NL3D::IBaseLightObs::init   [virtual]
 

Build shortcut to HrcObs and RenderObs.

Reimplemented from NL3D::IObs.

Definition at line 39 of file base_light_obs.cpp.

References ClipObs, NL3D::ClipTravId, NL3D::IObs::getObs, HrcObs, NL3D::HrcTravId, and nlassert.


Member Data Documentation

IBaseClipObs* NL3D::IBaseLightObs::ClipObs
 

Definition at line 64 of file base_light_obs.h.

Referenced by IBaseLightObs, and init.

IBaseHrcObs* NL3D::IBaseLightObs::HrcObs
 

Shortcut to observers.

Definition at line 63 of file base_light_obs.h.

Referenced by IBaseLightObs, and init.


The documentation for this class was generated from the following files: