#include <VoxelHash.h>
Classes | |
class | VoxelIndex |
Public Types | |
typedef std::pair< SimTK::Vec3, T > | VoxelItem |
typedef std::vector< VoxelItem > | Voxel |
Public Member Functions | |
VoxelHash (SimTK::units::md::length_t voxelSize, int numBuckets) | |
void | insert (const T &item, const SimTK::Vec3 &location) |
void | findNeighbors (std::vector< T > &neighbors, const SimTK::Vec3 &locationI, SimTK::units::md::length_t maxDistance) const |
typedef std::pair<SimTK::Vec3, T> VoxelItem |
VoxelHash | ( | SimTK::units::md::length_t | voxelSize, | |
int | numBuckets | |||
) | [inline] |
void findNeighbors | ( | std::vector< T > & | neighbors, | |
const SimTK::Vec3 & | locationI, | |||
SimTK::units::md::length_t | maxDistance | |||
) | const [inline] |
void insert | ( | const T & | item, | |
const SimTK::Vec3 & | location | |||
) | [inline] |