float Sample(ShadeContext &sc, float x, float y, float z, float xslope, float yslope); BOOL QuickSample(int x, int y, float z); FiltSample(int x, int y, float z, int level); LineSample(int x1, int y1, float z1, int x2, int y2, float z2);
#include <shadgen.h>

Public Member Functions |
|
| virtual | ~ShadowGenerator () |
| virtual int | Update (TimeValue t, const RendContext &rendCntxt, RenderGlobalContext *rgc, Matrix3 &lightToWorld, float aspect, float param, float clipDist=DONT_CLIP)=0 |
| virtual int | UpdateViewDepParams (const Matrix3 &worldToCam)=0 |
| virtual void | FreeBuffer ()=0 |
| virtual void | DeleteThis ()=0 |
| virtual float | Sample (ShadeContext &sc, Point3 &norm, Color &color) |
| virtual float | Sample (ShadeContext &sc, float x, float y, float z, float xslope, float yslope) |
| virtual BOOL | QuickSample (int x, int y, float z) |
| virtual float | FiltSample (int x, int y, float z, int level) |
| virtual float | LineSample (int x1, int y1, float z1, int x2, int y2, float z2) |
| virtual ~ShadowGenerator | ( | ) | [inline, virtual] |
{}
| virtual int Update | ( | TimeValue | t, |
| const RendContext & | rendCntxt, | ||
| RenderGlobalContext * | rgc, | ||
| Matrix3 & | lightToWorld, | ||
| float | aspect, | ||
| float | param, | ||
| float | clipDist =
DONT_CLIP |
||
| ) | [pure virtual] |
| virtual int UpdateViewDepParams | ( | const Matrix3 & | worldToCam | ) | [pure virtual] |
| virtual void FreeBuffer | ( | ) | [pure virtual] |
| virtual void DeleteThis | ( | ) | [pure virtual] |
| virtual float Sample | ( | ShadeContext & | sc, |
| Point3 & | norm, | ||
| Color & | color | ||
| ) | [inline, virtual] |
{ return 1.0f; }
| virtual float Sample | ( | ShadeContext & | sc, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | xslope, | ||
| float | yslope | ||
| ) | [inline, virtual] |
{ return 1.0f; }
| virtual BOOL QuickSample | ( | int | x, |
| int | y, | ||
| float | z | ||
| ) | [inline, virtual] |
{ return 1; }
| virtual float FiltSample | ( | int | x, |
| int | y, | ||
| float | z, | ||
| int | level | ||
| ) | [inline, virtual] |
{ return 1.0f; }
| virtual float LineSample | ( | int | x1, |
| int | y1, | ||
| float | z1, | ||
| int | x2, | ||
| int | y2, | ||
| float | z2 | ||
| ) | [inline, virtual] |
{ return 1.0f; }