Molmodel
|
#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> SimTK::VoxelHash< T >::VoxelItem |
typedef std::vector< VoxelItem > SimTK::VoxelHash< T >::Voxel |
SimTK::VoxelHash< T >::VoxelHash | ( | SimTK::units::md::length_t | voxelSize, |
int | numBuckets | ||
) | [inline] |
void SimTK::VoxelHash< T >::insert | ( | const T & | item, |
const SimTK::Vec3 & | location | ||
) | [inline] |
void SimTK::VoxelHash< T >::findNeighbors | ( | std::vector< T > & | neighbors, |
const SimTK::Vec3 & | locationI, | ||
SimTK::units::md::length_t | maxDistance | ||
) | const [inline] |