In file include/csengine/rview.h:

class csShadowFrustrum : public csFrustrum

This class is a csFrustrum especially used for the lighting calculations

Inheritance:


Public Fields

csShadowFrustrum* next
Linked list.
csPolygon3D* polygon
Polygon which generated this shadow.
bool relevant
If true then this frustrum is relevant

Public Methods

csShadowFrustrum (csVector3& origin)
Create empty frustrum.

Inherited from csFrustrum:

Public Methods

void AddVertex(const csVector3& v)
void ClipPolyToPlane(csPlane* plane)
void ClipToPlane(csVector3& v1, csVector3& v2)
bool Contains(const csVector3& point)
csPlane* GetBackPlane()
int GetNumVertices()
csVector3& GetOrigin()
csVector3& GetVertex(int idx)
csVector3* GetVertices()
csFrustrum* Intersect(csVector3* poly, int num)
csFrustrum* Intersect(const csFrustrum& other)
bool IsEmpty()
bool IsInfinite()
bool IsMirrored()
bool IsWide()
void MakeEmpty()
void MakeInfinite()
void RemoveBackPlane()
void SetBackPlane(csPlane& plane)
void SetMirrored(bool m)
void SetOrigin(csVector3& o)
void Transform(csTransform* trans)

Private Fields

bool mirrored
bool wide

Documentation

This class is a csFrustrum especially used for the lighting calculations. It represents a shadow. It extends csFrustrum by adding 'next' and 'prev' for living in a linked list and it adds the 'polygon' member so that we can find for which polygon this frustrum was generated.
csShadowFrustrum* next
Linked list.

csPolygon3D* polygon
Polygon which generated this shadow.

bool relevant
If true then this frustrum is relevant. This is a temporary variable which is used during the lighting calculation process. It may change value several times during the life time of a shadow frustrum.

csShadowFrustrum(csVector3& origin)
Create empty frustrum.


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