In file include/csengine/rview.h:

## class csFrustrumList

> A list of frustrums

### Public Methods

void AddFirst(csShadowFrustrum* fr)
  Add a new frustrum to the front of the list.
void AddLast(csShadowFrustrum* fr)
  Add a new frustrum to the back of the list.
void AppendList(csFrustrumList* list)
  Append a list to this one
void Clear()
  Clear the list (make empty but don't delete elements).
csFrustrumList()
  Create an empty list.
void DeleteFrustrums()
  Destroy all frustrums in the list.
csShadowFrustrum* GetFirst()
  Get the first element in this list (or NULL if empty).
csShadowFrustrum* GetLast()
  Get the last element in this list (or NULL if empty).
void SetLast(csShadowFrustrum* frust)
  Set the last element in this list
void Transform(csTransform* trans)
  Apply a transformation to all frustrums in this list
virtual ~csFrustrumList()
  Destroy the list but do not destroy the individual elements!

## Documentation

> A list of frustrums

`csFrustrumList()`
  Create an empty list.

`virtual ~csFrustrumList()`
  Destroy the list but do not destroy the individual elements!

`void DeleteFrustrums()`
  Destroy all frustrums in the list.

`void Clear()`
  Clear the list (make empty but don't delete elements).

`csShadowFrustrum* GetFirst()`
  Get the first element in this list (or NULL if empty).

`csShadowFrustrum* GetLast()`
  Get the last element in this list (or NULL if empty).

`void AppendList(csFrustrumList* list)`
  Append a list to this one. Note that you should not do any modifications on the other list after this is done.

`void SetLast(csShadowFrustrum* frust)`
  Set the last element in this list. This basicly has the effect of truncating the list to some specific element. Note that this function only works if the frustrum is actually part of the list. No checking is done. The elements which are clipped of the list are unchanged (not deleted). You can relink or delete them if you want. If the given frustrum is NULL then this function has the same effect as making the list empty.

`void AddFirst(csShadowFrustrum* fr)`
  Add a new frustrum to the front of the list.

`void AddLast(csShadowFrustrum* fr)`
  Add a new frustrum to the back of the list.

`void Transform(csTransform* trans)`
  Apply a transformation to all frustrums in this list

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de