# 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

Inheritance graph
[legend]
Collaboration diagram for NL3D::CTransformClipObs:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual bool isRenderable () const
 don't render. More...

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

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


Detailed Description

This observer: leave the notification system to DO NOTHING.

See also:
CHrcTrav IBaseClipObs
Author(s):
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 275 of file transform.h.


Member Function Documentation

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

Don't clip.

Reimplemented from NL3D::IBaseClipObs.

Reimplemented in NL3D::CLandscapeClipObs, and NL3D::CTransformShapeClipObs.

Definition at line 283 of file transform.h.

bool NL3D::CTransformClipObs::isRenderable ( ) const [inline, virtual]
 

don't render.

Reimplemented from NL3D::IBaseClipObs.

Reimplemented in NL3D::CLandscapeClipObs, and NL3D::CTransformShapeClipObs.

Definition at line 280 of file transform.h.

void NL3D::CTransformClipObs::traverse ( IObs * caller ) [inline, 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).
  • if Visible==true, and renderable, add it to the RenderTraversal: RenderTrav->addRenderObs(RenderObs);
  • always traverseSons(), to clip the sons.

Reimplemented from NL3D::IBaseClipObs.

Definition at line 296 of file transform.h.


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