iMSTK
Interactive Medical Simulation Toolkit
imstkSpatialHashTable.h
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #pragma once
8 
9 namespace imstk
10 {
17 {
18 public:
23  virtual void setCellSize(double x, double y, double z) = 0;
24 
25 protected:
29  virtual void rehash() = 0;
30 
35 
36  double m_cellSize[3];
37 };
38 } // namespace imstk
SpatialHashTable()
Protected constructor.
virtual void setCellSize(double x, double y, double z)=0
Protected constructor.
Compound Geometry.
virtual void rehash()=0
Rehash the hash table.
Abstract class for spatial hash tables.