RavEngine
Loading...
Searching...
No Matches
physx::PoissonSamplerShared Class Reference
Collaboration diagram for physx::PoissonSamplerShared:
[legend]

Public Member Functions

void setSamplingRadius (PxReal r)
 
void addSamples (const PxArray< PxVec3 > &samples)
 
PxU32 removeSamples (const PxArray< PxVec3 > &samples)
 
PxI32 findSample (const PxVec3 &p)
 
PxReal minDistanceToOtherSamplesSquared (const PxVec3 &p) const
 
const PxArray< PxVec3 > & getSamples () const
 
bool addPointToSparseGrid (const PxVec3 &p, PxI32 pointIndex)
 

Public Attributes

PxI32 numSampleAttemptsAroundPoint
 
PxVec3 size
 
PxVec3 min
 
PxU32 maxNumSamples
 
PxReal currentSamplingRadius
 
Int3 resolution
 
PxReal cellSize
 
PxArray< PxU32 > occupiedCellBits
 
PxHashMap< PxI32, SparseGridNode > sparseGrid3D
 
PxArray< PxI32 > excessList
 
Cm::BasicRandom rnd
 
PxArray< PxVec3 > result
 

Protected Member Functions

bool postAddPointToSparseGrid (const PxVec3 &p, PxI32 pointIndex)
 
bool preAddPointToSparseGrid (const PxVec3 &p, PxI32 pointIndex)
 

The documentation for this class was generated from the following file: