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

The AnimDetail traversal. More...

#include <anim_detail_trav.h>

Inheritance diagram for NL3D::CAnimDetailTrav:

NL3D::ITravScene NL3D::ITrav NLMISC::CRefCount List of all members.

Public Methods

 CAnimDetailTrav ()
 Constructor. More...

void clearVisibleList ()
void addVisibleObs (CTransformAnimDetailObs *obs)
ITrav/ITravScene Implementation.
IObscreateDefaultObs () const
 This method must create a default observer for this traversal. More...

NLMISC::CClassId getClassId () const
 This function must return the Unique Ident for this traversal class. More...

sint getRenderOrder () const
 render after Clip and before light. More...

void traverse ()
 Execute the traversal. More...


Public Attributes

sint64 CurrentDate

Private Methods

void traverseHrcRecurs (IBaseAnimDetailObs *adObs)
 traverse the observer recusrively, followin Hrc hierarchy. More...


Private Attributes

std::vector< CTransformAnimDetailObs * > _VisibleList

Detailed Description

The AnimDetail traversal.

AnimDetail observers MUST derive from IBaseAnimDetailObs. There is no AnimDetail graph. traverse() use the clipTrav VisibilityList to traverse all observers.

NB: see CScene for 3d conventions (orthonormal basis...)

See also:
CScene IBaseAnimDetailObs
Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 66 of file anim_detail_trav.h.


Constructor & Destructor Documentation

NL3D::CAnimDetailTrav::CAnimDetailTrav  
 

Constructor.

Definition at line 50 of file anim_detail_trav.cpp.

References _VisibleList, and CurrentDate.


Member Function Documentation

void NL3D::CAnimDetailTrav::addVisibleObs CTransformAnimDetailObs   obs
 

Definition at line 64 of file anim_detail_trav.cpp.

References _VisibleList.

void NL3D::CAnimDetailTrav::clearVisibleList  
 

Definition at line 58 of file anim_detail_trav.cpp.

References _VisibleList.

IObs * NL3D::CAnimDetailTrav::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 44 of file anim_detail_trav.cpp.

NLMISC::CClassId NL3D::CAnimDetailTrav::getClassId   const [inline, virtual]
 

This function must return the Unique Ident for this traversal class.

Implements NL3D::ITrav.

Definition at line 77 of file anim_detail_trav.h.

sint NL3D::CAnimDetailTrav::getRenderOrder   const [inline, virtual]
 

render after Clip and before light.

This order is important for possibles lights sticked to bones of skeletons.

Implements NL3D::ITravScene.

Definition at line 81 of file anim_detail_trav.h.

void NL3D::CAnimDetailTrav::traverse   [virtual]
 

Execute the traversal.

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

Implements NL3D::ITravScene.

Definition at line 71 of file anim_detail_trav.cpp.

References _VisibleList, CurrentDate, H_AUTO, and traverseHrcRecurs.

void NL3D::CAnimDetailTrav::traverseHrcRecurs IBaseAnimDetailObs   adObs [private]
 

traverse the observer recusrively, followin Hrc hierarchy.

Definition at line 114 of file anim_detail_trav.cpp.

Referenced by traverse.


Member Data Documentation

std::vector<CTransformAnimDetailObs*> NL3D::CAnimDetailTrav::_VisibleList [private]
 

Definition at line 105 of file anim_detail_trav.h.

Referenced by addVisibleObs, CAnimDetailTrav, clearVisibleList, and traverse.

sint64 NL3D::CAnimDetailTrav::CurrentDate
 

Definition at line 89 of file anim_detail_trav.h.

Referenced by CAnimDetailTrav, and traverse.


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