
Public Member Functions | |
| TTriangleSampler () | |
| int32 | GetTriangleCount () const |
| void | SetTriangleCount (int32 count) |
| void | AddTriangle (int32 index, real area) |
| void | GetSamplePoint (TSamplePoint &outSample) |
| void | SetNewSeeds (uint32 fromSeed) |
| real | GetTotalArea () |
Private Attributes | |
| TMCArray< FacetRecord > | fSortedFacets |
| TMCArray< int32 > | fFacetSeeds |
| real | fTotalArea |
| TMCRandom | fRandomNumberGenerator |
| TTriangleSampler::TTriangleSampler | ( | ) |
| int32 TTriangleSampler::GetTriangleCount | ( | ) | const [inline] |
| void TTriangleSampler::SetTriangleCount | ( | int32 | count | ) |
| void TTriangleSampler::GetSamplePoint | ( | TSamplePoint & | outSample | ) |
returns a sample point: the facet index and the coordinates in the facet
| outSample |
Reimplemented in TPrimitiveSampler.
| void TTriangleSampler::SetNewSeeds | ( | uint32 | fromSeed | ) |
Reimplemented in TPrimitiveSampler.
| real TTriangleSampler::GetTotalArea | ( | ) | [inline] |
TMCArray<FacetRecord> TTriangleSampler::fSortedFacets [private] |
TMCArray<int32> TTriangleSampler::fFacetSeeds [private] |
real TTriangleSampler::fTotalArea [private] |
1.5.3