iMSTK
Interactive Medical Simulation Toolkit
Source
DataStructures
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
{
16
class
SpatialHashTable
17
{
18
public
:
23
virtual
void
setCellSize
(
double
x,
double
y,
double
z) = 0;
24
25
protected
:
29
virtual
void
rehash
() = 0;
30
34
SpatialHashTable
();
35
36
double
m_cellSize[3];
37
};
38
}
// namespace imstk
imstk::SpatialHashTable::SpatialHashTable
SpatialHashTable()
Protected constructor.
Definition:
imstkSpatialHashTable.cpp:11
imstk::SpatialHashTable::setCellSize
virtual void setCellSize(double x, double y, double z)=0
Protected constructor.
imstk
Compound Geometry.
Definition:
OctreeDebugModel.cpp:10
imstk::SpatialHashTable::rehash
virtual void rehash()=0
Rehash the hash table.
imstk::SpatialHashTable
Abstract class for spatial hash tables.
Definition:
imstkSpatialHashTable.h:16
Generated by
1.8.13