Public Member Functions | |
| TDirectionSampler (const int32 quality) | |
| ~TDirectionSampler () | |
| int32 | GetQuality () const |
| void | ReInit () |
Protected Member Functions | |
| virtual void | SampleArea (const TMCPoint &position, int32 level, const real threshold) |
| virtual void | SampleGrid () |
| TMCColorRGBA | AverageLighting () |
| virtual void | SampleDirection (const TMCPoint &position)=0 |
| GridSample & | GetSample (const TMCPoint &position) |
| int32 | GetSampleOffset (const TMCPoint &position) |
| void | InterpolateOrSample (const TMCPoint &position, const GridSample &leftSample, const GridSample &rightSample, const real threshold) |
| void | InterpolateColor (const TMCPoint &position, int32 size) |
Protected Attributes | |
| int32 | fMaxDepth |
| TMCClassArray < GridSample > | fGrid |
| TMCArray< boolean > | fHasBeenSampled |
| int32 | fSamplePerLine |
| real | fDeltaX |
| real | fDeltaY |
| int32 | fQuality |
Classes | |
| struct | GridSample |
| TDirectionSampler::TDirectionSampler | ( | const int32 | quality | ) |
| TDirectionSampler::~TDirectionSampler | ( | ) |
| int32 TDirectionSampler::GetQuality | ( | ) | const [inline] |
| void TDirectionSampler::ReInit | ( | ) |
| virtual void TDirectionSampler::SampleArea | ( | const TMCPoint & | position, | |
| int32 | level, | |||
| const real | threshold | |||
| ) | [protected, virtual] |
| virtual void TDirectionSampler::SampleGrid | ( | ) | [protected, virtual] |
| TMCColorRGBA TDirectionSampler::AverageLighting | ( | ) | [protected] |
| virtual void TDirectionSampler::SampleDirection | ( | const TMCPoint & | position | ) | [protected, pure virtual] |
| GridSample& TDirectionSampler::GetSample | ( | const TMCPoint & | position | ) | [inline, protected] |
| void TDirectionSampler::InterpolateOrSample | ( | const TMCPoint & | position, | |
| const GridSample & | leftSample, | |||
| const GridSample & | rightSample, | |||
| const real | threshold | |||
| ) | [protected] |
int32 TDirectionSampler::fMaxDepth [protected] |
TMCClassArray< GridSample > TDirectionSampler::fGrid [protected] |
TMCArray<boolean> TDirectionSampler::fHasBeenSampled [protected] |
int32 TDirectionSampler::fSamplePerLine [protected] |
real TDirectionSampler::fDeltaX [protected] |
real TDirectionSampler::fDeltaY [protected] |
int32 TDirectionSampler::fQuality [protected] |
1.5.3