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.

iShadowBlockListGetShadows ()
 Get the list of shadows.

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

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

bool IsShared ()
 Get shared.

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

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

csFrustumGetLightFrustum ()
 Get the light frustum.

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

bool IsMirrored ()
 Is mirrored.


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.18