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

#include <root_model.h>

Inheritance diagram for NL3D::CRootModelClipObs:

NL3D::IBaseClipObs NL3D::IObs NLMISC::CRefCount List of all members.

Public Methods

 CRootModelClipObs ()
virtual bool clip (IBaseClipObs *caller)
 Should return true if object is visible (eg in frustum). More...

virtual void traverse (IObs *caller)
 The base doit method. More...


Static Public Methods

IObscreator ()

Constructor & Destructor Documentation

NL3D::CRootModelClipObs::CRootModelClipObs   [inline]
 

Definition at line 99 of file root_model.h.

Referenced by creator.


Member Function Documentation

virtual bool NL3D::CRootModelClipObs::clip IBaseClipObs   caller [inline, virtual]
 

Should return true if object is visible (eg in frustum).

Parameters:
caller  the caller obs (may NULL)

Implements NL3D::IBaseClipObs.

Definition at line 101 of file root_model.h.

References NL3D::IBaseClipObs::IBaseClipObs.

IObs* NL3D::CRootModelClipObs::creator   [inline, static]
 

Definition at line 104 of file root_model.h.

References CRootModelClipObs, and NL3D::IObs::IObs.

void NL3D::CRootModelClipObs::traverse IObs   caller [virtual]
 

The base doit method.

The default behavior should be:

  • test if HrcObs->WorldVis is visible.
  • test if the observer is clipped with clip()
  • if visible and not clipped, set Visible=true (else false).
  • if Visible==true, add it to the post-clip traversals which need it (if renderable, animDetailable etc...)
  • always traverseSons(), to clip the sons.

Implements NL3D::IBaseClipObs.

Definition at line 60 of file root_model.cpp.

References NL3D::IObs::traverseSons.


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