CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csShadowFrustum Class Reference

This class is a csFrustum especially used for the lighting calculations. More...

#include <lview.h>

Inheritance diagram for csShadowFrustum:

csFrustum List of all members.

Public Methods

 csShadowFrustum ()
 Create empty frustum. More...

 csShadowFrustum (const csVector3 &origin)
 Create empty frustum. More...

 csShadowFrustum (const csVector3 &origin, int num_verts)
 Create empty frustum. More...

 csShadowFrustum (const csShadowFrustum &orig)
 Copy constructor. More...

void SetUserData (void *ud)
 Set user data. More...

void * GetUserData ()
 Get user data. More...

void MarkRelevant (bool rel=true)
 Mark shadow as relevant or not. More...

bool IsRelevant ()
 Is shadow relevant? More...


Detailed Description

This class is a csFrustum especially used for the lighting calculations.

It represents a shadow. It extends csFrustum by adding the notion of a 'shadow' originator.

Definition at line 45 of file lview.h.


Constructor & Destructor Documentation

csShadowFrustum::csShadowFrustum   [inline]
 

Create empty frustum.

Definition at line 52 of file lview.h.

csShadowFrustum::csShadowFrustum const csVector3   origin [inline]
 

Create empty frustum.

Definition at line 56 of file lview.h.

csShadowFrustum::csShadowFrustum const csVector3   origin,
int    num_verts
[inline]
 

Create empty frustum.

Definition at line 60 of file lview.h.

csShadowFrustum::csShadowFrustum const csShadowFrustum &    orig
 

Copy constructor.


Member Function Documentation

void* csShadowFrustum::GetUserData   [inline]
 

Get user data.

Definition at line 68 of file lview.h.

Referenced by csShadowIterator::GetUserData.

bool csShadowFrustum::IsRelevant   [inline]
 

Is shadow relevant?

Definition at line 72 of file lview.h.

Referenced by csShadowIterator::IsRelevant.

void csShadowFrustum::MarkRelevant bool    rel = true [inline]
 

Mark shadow as relevant or not.

Definition at line 70 of file lview.h.

Referenced by csShadowIterator::MarkRelevant.

void csShadowFrustum::SetUserData void *    ud [inline]
 

Set user data.

Definition at line 66 of file lview.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14