11 #ifndef smtk_mesh_moab_PointLocatorCache_h
12 #define smtk_mesh_moab_PointLocatorCache_h
14 #include "smtk/CoreExports.h"
16 #include "smtk/operation/queries/SynchronizedCache.h"
18 SMTK_THIRDPARTY_PRE_INCLUDE
19 #include "moab/AdaptiveKDTree.hpp"
20 #include "moab/BoundBox.hpp"
21 #include "moab/CartVect.hpp"
22 SMTK_THIRDPARTY_POST_INCLUDE
37 const ::moab::Range& range,
38 ::moab::FileOptions* fileOptions)
39 : m_interface(interface)
40 , m_tree(m_interface, range, &m_treeRootSet, fileOptions)
45 ::moab::EntityHandle m_treeRootSet;
46 ::moab::AdaptiveKDTree m_tree;
53 : m_caches(std::move(rhs.m_caches))
60 m_caches = std::move(rhs.m_caches);
67 std::unordered_map<smtk::common::UUID, std::unique_ptr<CacheForIndex>> m_caches;