Public Types |
typedef TmplParticle | Particle |
typedef std::vector< Particle * > | ParticleVector |
typedef ForwardIterator
< ParticleVector > | ParticleIterator |
typedef ForwardConstIterator
< ParticleVector > | ParticleConstIterator |
Public Member Functions |
| NeighbourTable (const BoundingBox &bBox, double gridSpacing) |
| NeighbourTable (const NeighbourTable &nTable) |
void | clear () |
double | getGridSpacing () const |
void | resize (const BoundingBox &bBox, double gridSpacing) |
const Vec3L & | getDimensions () const |
const BoundingBox & | getBBox () const |
const Vec3 & | getMinPt () const |
size_t | size () const |
int | getScalarIndex (int xIdx, int yIdx, int zIdx) const |
int | getScalarIndex (const Vec3L &index) const |
int | getScalarIndex (const Vec3 &pt) const |
const Vec3L & | getMinVecIndex () const |
const Vec3L & | getMaxVecIndex () const |
Vec3L | getVecIndex (const Vec3 &pt) const |
ParticleVector | getNeighbourVector (const Vec3 &pt, double radius) const |
ParticleVector | getUniqueNeighbourVector (const Vec3 &pt, double radius) const |
ParticleVector | getNeighbourVector (const Vec3 &pt) const |
void | insert (Particle *pParticle) |
void | insert (Particle &particle) |
ParticleIterator | getParticleIterator () |
ParticleConstIterator | getParticleIterator () const |
Protected Member Functions |
void | insertInTable (Particle *pParticle, const Vec3L &minIdx, const Vec3L &maxIdx) |
void | addInserted (Particle *pParticle) |
int | getNumCells () const |
ParticleVector | getInsertedParticles () const |
void | clearAndRecomputeGrid (const BoundingBox &bBox, double gridSpacing) |
Member Function Documentation
template<class TmplParticle >
Return the number of particles inserted into this table.
The documentation for this class was generated from the following files: