CrystalSpace

Public API Reference

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

iShadowIterator Struct Reference
[Lighting]

A shadow iterator allows someone to iterate over all shadows in a iShadowBlock or iShadowBlockList. More...

#include <shadows.h>

Inheritance diagram for iShadowIterator:

iBase List of all members.

Public Methods

virtual void Reset ()=0
 Reset the iterator to start again.

virtual bool HasNext ()=0
 Is there still an element in this iterator?

virtual csFrustum * Next ()=0
 Get the next shadow.

virtual void * GetUserData ()=0
 Get the user data for the last shadow.

virtual bool IsRelevant ()=0
 Return if the last shadow is relevant or not.

virtual void MarkRelevant (bool rel)=0
 Mark the last shadow as relevant.

virtual void DeleteCurrent ()=0
 Delete the last returned shadow.

virtual iShadowBlock * GetCurrentShadowBlock ()=0
 Return the shadow list for the current element.

virtual iShadowBlock * GetNextShadowBlock ()=0
 Return the shadow list for the next element.


Detailed Description

A shadow iterator allows someone to iterate over all shadows in a iShadowBlock or iShadowBlockList.

Definition at line 44 of file shadows.h.


Member Function Documentation

virtual void iShadowIterator::DeleteCurrent (    )  [pure virtual]
 

Delete the last returned shadow.

virtual iShadowBlock* iShadowIterator::GetCurrentShadowBlock (    )  [pure virtual]
 

Return the shadow list for the current element.

virtual iShadowBlock* iShadowIterator::GetNextShadowBlock (    )  [pure virtual]
 

Return the shadow list for the next element.

virtual void* iShadowIterator::GetUserData (    )  [pure virtual]
 

Get the user data for the last shadow.

virtual bool iShadowIterator::HasNext (    )  [pure virtual]
 

Is there still an element in this iterator?

virtual bool iShadowIterator::IsRelevant (    )  [pure virtual]
 

Return if the last shadow is relevant or not.

virtual void iShadowIterator::MarkRelevant (  bool    rel )  [pure virtual]
 

Mark the last shadow as relevant.

virtual csFrustum* iShadowIterator::Next (    )  [pure virtual]
 

Get the next shadow.

virtual void iShadowIterator::Reset (    )  [pure virtual]
 

Reset the iterator to start again.


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