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

This observer: leave the notification system to DO NOTHING. More...

#include <transform.h>

Inheritance diagram for NL3D::CTransformClipObs:

NL3D::IBaseClipObs NL3D::IObs NLMISC::CRefCount NL3D::CCoarseMeshClipObs NL3D::CLandscapeClipObs NL3D::CParticleSystemClipObs NL3D::CTransformShapeClipObs NL3D::CVegetableBlendLayerClipObs NL3D::CMeshMultiLodClipObs List of all members.

Public Methods

 CTransformClipObs ()
virtual bool clip (IBaseClipObs *caller)
 Don't clip. More...

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


Static Public Methods

IObscreator ()

Public Attributes

sint64 Date

Detailed Description

This observer: leave the notification system to DO NOTHING.

  • * - implement the clip() method to return true (not renderable)
See also:
CHrcTrav IBaseClipObs
Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 633 of file transform.h.


Constructor & Destructor Documentation

NL3D::CTransformClipObs::CTransformClipObs   [inline]
 

Definition at line 642 of file transform.h.

References Date.

Referenced by creator.


Member Function Documentation

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

Don't clip.

Implements NL3D::IBaseClipObs.

Reimplemented in NL3D::CCoarseMeshClipObs.

Definition at line 645 of file transform.h.

References NL3D::IBaseClipObs::IBaseClipObs.

Referenced by traverse.

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

Reimplemented in NL3D::CCoarseMeshClipObs.

Definition at line 661 of file transform.h.

References CTransformClipObs, and NL3D::IObs::IObs.

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

The base doit method.

The behavior is to:

  • test if HrcObs->WorldVis is visible.
  • test if the observer is clipped with clip() OR IF SKELETON MODEL, USE SKELETON MODEL clip!!
  • if visible and not clipped, set Visible=true (else false). and
  • if Visible==true, and renderable, add it to the RenderTraversal: RenderTrav->addRenderObs(RenderObs);
  • always traverseSons(), to clip the sons.

Implements NL3D::IBaseClipObs.

Reimplemented in NL3D::CParticleSystemClipObs.

Definition at line 709 of file transform.cpp.

References NL3D::IBaseClipObs::AnimDetailObs, clip, Date, NL3D::IBaseClipObs::HrcObs, NL3D::IBaseClipObs::IBaseClipObs, NL3D::IBaseClipObs::LoadBalancingObs, NL3D::IObs::Model, nlassert, NL3D::IBaseClipObs::RenderObs, transform, NL3D::IObs::traverseSons, and NL3D::IBaseClipObs::Visible.


Member Data Documentation

sint64 NL3D::CTransformClipObs::Date
 

Definition at line 638 of file transform.h.

Referenced by CTransformClipObs, traverse, and NL3D::CParticleSystemClipObs::traverse.


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