MeVisLab Toolbox Reference
ml::TileSphereHashTable Class Reference

TileSphereHashTable is used in the classes MinimalDistancePointClouds and TileSphere. More...

#include <TileSphereHashTable.h>

Public Member Functions

 TileSphereHashTable ()
 Constructor. More...
 
virtual ~TileSphereHashTable ()
 Destructor. More...
 
void addPair (TileSphere *tileSphere1, TileSphere *tileSphere2)
 Adds a pair of spheres into the hash table. More...
 
bool existPair (TileSphere *tileSphere1, TileSphere *tileSphere2)
 Checks whether the given pair exists or not. More...
 
void getStatistics (int &addedPairs, int &hits, int &misses)
 Hash table statistics. More...
 

Detailed Description

TileSphereHashTable is used in the classes MinimalDistancePointClouds and TileSphere.

The TileSphereHashTable is the underlying data structure for a fast nearest pair search algorithm described by Sean Quinlan in 'Efficient Distance Computation between Non-Convex Objects'.

Definition at line 32 of file TileSphereHashTable.h.

Constructor & Destructor Documentation

◆ TileSphereHashTable()

ml::TileSphereHashTable::TileSphereHashTable ( )

Constructor.

◆ ~TileSphereHashTable()

virtual ml::TileSphereHashTable::~TileSphereHashTable ( )
virtual

Destructor.

Member Function Documentation

◆ addPair()

void ml::TileSphereHashTable::addPair ( TileSphere tileSphere1,
TileSphere tileSphere2 
)

Adds a pair of spheres into the hash table.

◆ existPair()

bool ml::TileSphereHashTable::existPair ( TileSphere tileSphere1,
TileSphere tileSphere2 
)

Checks whether the given pair exists or not.

◆ getStatistics()

void ml::TileSphereHashTable::getStatistics ( int &  addedPairs,
int &  hits,
int &  misses 
)

Hash table statistics.


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