CrystalSpace

Public API Reference

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

csFrustumContext Class Reference
[Visibility]

This structure keeps track of the current frustum context. More...

#include <fview.h>

List of all members.

Public Methods

 csFrustumContext ()
 Constructor. More...

iShadowBlockListGetShadows ()
 Get the list of shadows. More...

void SetShadows (iShadowBlockList *shad, bool sh=true)
 Set the list of shadows. More...

void SetNewShadows (csPtr< iShadowBlockList > shad, bool sh=false)
 Set a new (already IncRef'd) list of shadows. More...

bool IsShared ()
 Get shared. More...

void SetLightFrustum (csFrustum *lf)
 Set the light frustum. More...

void SetNewLightFrustum (csPtr< csFrustum > lf)
 Set a new (already IncRef'd) light frustrum. More...

csFrustumGetLightFrustum ()
 Get the light frustum. More...

void SetMirrored (bool m)
 Set/Disable mirrored space (default false). More...

bool IsMirrored ()
 Is mirrored. More...


Detailed Description

This structure keeps track of the current frustum context.

It is used by iFrustumView. When recursing through a portal a new frustum context will be created and set in place of the old one.

Definition at line 64 of file fview.h.


Constructor & Destructor Documentation

csFrustumContext::csFrustumContext   [inline]
 

Constructor.

Definition at line 90 of file fview.h.


Member Function Documentation

csFrustum* csFrustumContext::GetLightFrustum   [inline]
 

Get the light frustum.

Definition at line 126 of file fview.h.

iShadowBlockList* csFrustumContext::GetShadows   [inline]
 

Get the list of shadows.

Definition at line 105 of file fview.h.

bool csFrustumContext::IsMirrored   [inline]
 

Is mirrored.

Definition at line 134 of file fview.h.

bool csFrustumContext::IsShared   [inline]
 

Get shared.

Definition at line 119 of file fview.h.

void csFrustumContext::SetLightFrustum csFrustum   lf [inline]
 

Set the light frustum.

Definition at line 122 of file fview.h.

void csFrustumContext::SetMirrored bool    m [inline]
 

Set/Disable mirrored space (default false).

Set this to true if the frustum starts in mirrored space.

Definition at line 132 of file fview.h.

void csFrustumContext::SetNewLightFrustum csPtr< csFrustum   lf [inline]
 

Set a new (already IncRef'd) light frustrum.

Definition at line 124 of file fview.h.

void csFrustumContext::SetNewShadows csPtr< iShadowBlockList   shad,
bool    sh = false
[inline]
 

Set a new (already IncRef'd) list of shadows.

Definition at line 113 of file fview.h.

void csFrustumContext::SetShadows iShadowBlockList   shad,
bool    sh = true
[inline]
 

Set the list of shadows.

Definition at line 107 of file fview.h.


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