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

#include <skip_model.h>

Inheritance diagram for NL3D::CSkipModelClipObs:

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

Public Methods

 CSkipModelClipObs ()
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::CSkipModelClipObs::CSkipModelClipObs   [inline]
 

Definition at line 95 of file skip_model.h.

Referenced by creator.


Member Function Documentation

virtual bool NL3D::CSkipModelClipObs::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 97 of file skip_model.h.

References NL3D::IBaseClipObs::IBaseClipObs.

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

Definition at line 100 of file skip_model.h.

References CSkipModelClipObs, and NL3D::IObs::IObs.

void NL3D::CSkipModelClipObs::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 55 of file skip_model.cpp.


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