# 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::ITravScene Class Reference

A Traversal which may be renderable in a CScene. More...

#include <trav_scene.h>

Inheritance diagram for NL3D::ITravScene:

NL3D::ITrav NLMISC::CRefCount NL3D::CAnimDetailTrav NL3D::CHrcTrav NL3D::CLightTrav NL3D::ITravCameraScene NL3D::CClipTrav NL3D::CLoadBalancingTrav NL3D::CRenderTrav List of all members.

Public Methods

 ITravScene ()
 ctor. More...

virtual sint getRenderOrder () const=0
 Return the order of the traversal. More...

virtual void traverse ()=0
 Execute the traversal. More...


Public Attributes

CSceneScene

Protected Methods

virtual void addedToMOT (CMOT *mot)
 From ITrav : called when this trav is added in a CMOT instance. More...


Detailed Description

A Traversal which may be renderable in a CScene.

Such a traversal provide just a method to get his Render order, and a standard traverse() method, which compute the traversal.

DERIVERS RULES:

Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 61 of file trav_scene.h.


Constructor & Destructor Documentation

NL3D::ITravScene::ITravScene   [inline]
 

ctor.

Definition at line 67 of file trav_scene.h.

References Scene.


Member Function Documentation

void NL3D::ITravScene::addedToMOT CMOT   mot [protected, virtual]
 

From ITrav : called when this trav is added in a CMOT instance.

Reimplemented from NL3D::ITrav.

Definition at line 36 of file trav_scene.cpp.

References nlassert, and Scene.

virtual sint NL3D::ITravScene::getRenderOrder   const [pure 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:

Implemented in NL3D::CAnimDetailTrav.

virtual void NL3D::ITravScene::traverse   [pure virtual]
 

Execute the traversal.

CScene::render() will call this method, to execute the traversal.

Implemented in NL3D::CAnimDetailTrav.


Member Data Documentation

CScene* NL3D::ITravScene::Scene
 

Definition at line 64 of file trav_scene.h.

Referenced by addedToMOT, ITravScene, NL3D::CClipTrav::loadBalanceSkeletonCLod, NL3D::CRenderTrav::traverse, and NL3D::CClipTrav::traverse.


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