![]() |
Public API Reference |
#include <lview.h>
Inheritance diagram for csShadowBlockList:
Public Methods | |
csShadowBlockList () | |
Create a new empty list. More... | |
virtual | ~csShadowBlockList () |
Destroy the list and all shadow blocks in it. More... | |
virtual iShadowBlock * | NewShadowBlock (int num_shadows=30) |
Create a new shadow block and append to the list. More... | |
void | AppendShadowBlock (csShadowBlock *slist) |
Append a shadow block to this list. More... | |
virtual void | RemoveLastShadowBlock () |
Remove the last shadow block from this list. More... | |
void | Clear () |
Clear first and last pointers without deleting anything! More... | |
virtual void | DeleteAllShadows () |
Destroy all shadow lists and shadows in the list. More... | |
virtual iShadowBlock * | GetFirstShadowBlock () |
Get first shadow block in the list. More... | |
virtual iShadowBlock * | GetLastShadowBlock () |
Get last shadow block in the list. More... | |
virtual iShadowBlock * | GetNextShadowBlock (iShadowBlock *s) |
Get next shadow block. More... | |
virtual iShadowBlock * | GetPreviousShadowBlock (iShadowBlock *s) |
Get previous shadow block. More... | |
csShadowIterator * | GetCsShadowIterator (bool reverse=false) |
Return an iterator to iterate over all shadows in this list. More... | |
virtual iShadowIterator * | GetShadowIterator (bool reverse=false) |
Return an iterator to iterate over all shadows in this list. More... | |
virtual iShadowIterator * | GetShadowIterator (const csBox3 &bbox, bool reverse=false) |
Get an iterator to iterate over all shadows in this list. More... | |
virtual uint32 | MarkNewRegion () |
Mark a new region of shadow blocks. More... | |
virtual void | RestoreRegion (uint32 prev) |
Restore a region (as parameter use the number returned by MarkNewRegion()). More... | |
virtual bool | FromCurrentRegion (iShadowBlock *block) |
Returns true if the shadow block belongs to the current region. More... |
Definition at line 284 of file lview.h.
|
Create a new empty list.
|
|
Destroy the list and all shadow blocks in it.
Definition at line 295 of file lview.h. References DeleteAllShadows. |
|
Append a shadow block to this list.
Definition at line 304 of file lview.h. References csShadowBlock::next, and csShadowBlock::prev. |
|
Clear first and last pointers without deleting anything!
Definition at line 339 of file lview.h. References csShadowBlock::next, and csShadowBlock::prev. |
|
Destroy all shadow lists and shadows in the list.
Implements iShadowBlockList. Definition at line 356 of file lview.h. References csShadowBlock::DeleteShadows, and csShadowBlock::next. Referenced by ~csShadowBlockList. |
|
Returns true if the shadow block belongs to the current region.
Implements iShadowBlockList. |
|
Return an iterator to iterate over all shadows in this list.
|
|
Get first shadow block in the list.
Implements iShadowBlockList. |
|
Get last shadow block in the list.
Implements iShadowBlockList. |
|
Get next shadow block.
Implements iShadowBlockList. |
|
Get previous shadow block.
Implements iShadowBlockList. |
|
Get an iterator to iterate over all shadows in this list. This version will test the bounding boxes of all shadow blocks and only iterate over the shadow blocks that are potentially relevant (i.e. that potentially shadow the given bounding box). Implements iShadowBlockList. |
|
Return an iterator to iterate over all shadows in this list.
Implements iShadowBlockList. |
|
Mark a new region of shadow blocks. This is usually called after entering a portal and it allows us to easily restore the shadow list upto the point of the last portal traversal. Returns the original region. Implements iShadowBlockList. Definition at line 403 of file lview.h. References uint32. |
|
Create a new shadow block and append to the list.
Implements iShadowBlockList. |
|
Remove the last shadow block from this list.
Implements iShadowBlockList. Definition at line 323 of file lview.h. References csShadowBlock::next, and csShadowBlock::prev. |
|
Restore a region (as parameter use the number returned by MarkNewRegion()).
Implements iShadowBlockList. Definition at line 409 of file lview.h. References uint32. |