Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csFrustumView Class Reference

This structure represents all information needed for the frustum visibility calculator. More...

#include <lview.h>

Inheritance diagram for csFrustumView:

iFrustumView iBase List of all members.

Public Methods

 csFrustumView ()
 Constructor.

virtual ~csFrustumView ()
 Destroy the object.

virtual csFrustumContextGetFrustumContext () const
 Get the current frustum context.

virtual void CreateFrustumContext ()
 Create a new frustum context.

virtual csFrustumContextCopyFrustumContext ()
 Create a copy.

virtual void SetFrustumContext (csFrustumContext *ctxt)
 Set the frustum context.

virtual void RestoreFrustumContext (csFrustumContext *original)
 Restore a frustum context.

virtual void StartNewShadowBlock ()
 Start new shadow list for this frustum.

void SetNodeFunction (csFrustumViewNodeFunc *func)
 Set the function that is called for every node.

void SetPolygonFunction (csFrustumViewFunc *func)
 Set the function that is called for every polygon to visit.

void SetCurveFunction (csFrustumViewFunc *func)
 Set the function that is called for every curve to visit.

virtual void CallNodeFunction (csOctreeNode *onode, bool vis)
 Call the node function.

virtual void CallPolygonFunction (csObject *poly, bool vis)
 Call the polygon function.

virtual void CallCurveFunction (csObject *curve, bool vis)
 Call the curve function.

void SetRadius (float rad)
 Set the maximum radius to use for visiting objects.

virtual float GetRadius ()
 Get the radius.

float GetSquaredRadius ()
 Get the squared radius.

void EnableThingShadows (bool e)
 Enable shadowing for things (off by default). @SUSPECT!!! More...

virtual bool ThingShadowsEnabled ()
 Return true if shadowing for things is enabled.

void SetShadowMask (unsigned int mask, unsigned int value)
 Set shadow mask.

void SetProcessMask (unsigned int mask, unsigned int value)
 Set process mask.

virtual bool CheckShadowMask (unsigned int mask)
 Check if a mask corresponds with the shadow mask.

virtual bool CheckProcessMask (unsigned int mask)
 Check if a mask corresponds with the process mask.

virtual void SetUserdata (iFrustumViewUserdata *data)
 Set or clear userdata.

virtual iFrustumViewUserdataGetUserdata ()
 Get userdata.


Public Attributes

 SCF_DECLARE_IBASE

Detailed Description

This structure represents all information needed for the frustum visibility calculator.


Member Function Documentation

void csFrustumView::EnableThingShadows ( bool e ) [inline]
 

Enable shadowing for things (off by default). @SUSPECT!!!

@


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