Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iVisibilityObject Struct Reference

An object that wants to know if it is visible or not for some visibility culler needs to implement this interface. More...

#include <viscull.h>

Inheritance diagram for iVisibilityObject:

iBase List of all members.

Public Methods

virtual iMovableGetMovable () const=0
 Get the reference to the movable from this object.

virtual long GetShapeNumber () const=0
 Get the shape number of the underlying object.

virtual void GetBoundingBox (csBox3 &bbox)=0
 Get the bounding box of the object in object space.

virtual void MarkVisible ()=0
 Mark the object as visible. More...

virtual void MarkInvisible ()=0
 Mark the object as invisible. More...

virtual bool IsVisible () const=0
 After running iVisibilityCuller::VisTest() this function can be used to test if the object is visible or not.


Detailed Description

An object that wants to know if it is visible or not for some visibility culler needs to implement this interface.


Member Function Documentation

void iVisibilityObject::MarkInvisible ( ) [pure virtual]
 

Mark the object as invisible.

This will be called by the visibility culler at initialization time.

void iVisibilityObject::MarkVisible ( ) [pure virtual]
 

Mark the object as visible.

This will be called by the visibility culler whenever it thinks the object is visible.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000