Molmodel
Classes | Public Types | Public Member Functions

SimTK::VoxelHash< T > Class Template Reference

#include <VoxelHash.h>

List of all members.

Classes

class  VoxelIndex

Public Types

typedef std::pair< SimTK::Vec3, T > VoxelItem
typedef std::vector< VoxelItemVoxel

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

template<class T>
class SimTK::VoxelHash< T >


Member Typedef Documentation

template<class T>
typedef std::pair<SimTK::Vec3, T> SimTK::VoxelHash< T >::VoxelItem
template<class T>
typedef std::vector< VoxelItem > SimTK::VoxelHash< T >::Voxel

Constructor & Destructor Documentation

template<class T>
SimTK::VoxelHash< T >::VoxelHash ( SimTK::units::md::length_t  voxelSize,
int  numBuckets 
) [inline]

Member Function Documentation

template<class T>
void SimTK::VoxelHash< T >::insert ( const T &  item,
const SimTK::Vec3 location 
) [inline]
template<class T>
void SimTK::VoxelHash< T >::findNeighbors ( std::vector< T > &  neighbors,
const SimTK::Vec3 locationI,
SimTK::units::md::length_t  maxDistance 
) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines