![]() |
Public API Reference |
#include <shadows.h>
Inheritance diagram for iShadowBlock:
Public Methods | |
virtual iShadowIterator * | GetShadowIterator (bool reverse=false)=0 |
Get an iterator to iterate over all shadows in this block. More... | |
virtual void | DeleteShadows ()=0 |
Dereference all shadows in the list. More... | |
virtual void | AddRelevantShadows (iShadowBlock *source, csTransform *trans=NULL)=0 |
Copy all relevant shadow frustums from another shadow block into this block. More... | |
virtual void | AddRelevantShadows (iShadowBlockList *source)=0 |
Copy all relevant shadow frustums from another shadow block list into this block. More... | |
virtual void | AddAllShadows (iShadowBlockList *source)=0 |
Copy all shadow frustums from another shadow block list into this block. More... | |
virtual void | AddUniqueRelevantShadows (iShadowBlockList *source)=0 |
Add unique shadows. More... | |
virtual csFrustum * | AddShadow (const csVector3 &origin, void *userData, int num_verts, csPlane3 &backplane)=0 |
Add a new frustum and return a reference. More... | |
virtual void | UnlinkShadow (int idx)=0 |
Unlink a shadow frustum from the list and dereference it. More... | |
virtual int | GetShadowCount ()=0 |
Get the number of shadows in this list. More... | |
virtual csFrustum * | GetShadow (int idx)=0 |
Get the specified shadow. More... | |
virtual void | Transform (csTransform *trans)=0 |
Apply a transformation to all frustums in this list. More... | |
virtual const csBox3 & | GetBoundingBox ()=0 |
Get the bounding box of this shadow block. More... |
Definition at line 72 of file shadows.h.
|
Copy all shadow frustums from another shadow block list into this block. The frustums are not really copied but a new reference is kept. Implemented in csShadowBlock. |
|
Copy all relevant shadow frustums from another shadow block list into this block. The frustums are not really copied but a new reference is kept. Implemented in csShadowBlock. |
|
Copy all relevant shadow frustums from another shadow block into this block. The frustums are not really copied but a new reference is kept. However, if a transformation is given then a copy is made and the shadows are transformed. Implemented in csShadowBlock. |
|
Add a new frustum and return a reference. The frustum will have the specified number of vertices but the vertices still need to be initialized. Implemented in csShadowBlock. |
|
Add unique shadows. Only add relevant shadow frustums that are not already in the current list. The frustums are not really copied but a new reference is kept. Implemented in csShadowBlock. |
|
Dereference all shadows in the list.
Implemented in csShadowBlock. |
|
Get the bounding box of this shadow block.
Implemented in csShadowBlock. |
|
Get the specified shadow.
Implemented in csShadowBlock. |
|
Get the number of shadows in this list.
Implemented in csShadowBlock. |
|
Get an iterator to iterate over all shadows in this block.
Implemented in csShadowBlock. |
|
Apply a transformation to all frustums in this list.
Implemented in csShadowBlock. |
|
Unlink a shadow frustum from the list and dereference it.
Implemented in csShadowBlock. |