73 void reindex(std::vector<ttk::SimplexId> &vertices,
74 std::vector<ttk::SimplexId> &nodes,
75 std::vector<ttk::SimplexId> &cells);
79 std::unordered_map<uint32_t, OctreeNode> allNodes_;
81 std::array<float, 3> center_{}, size_{};
87 inline OctreeNode *lookupNode(uint32_t locCode) {
88 const auto iter = allNodes_.find(locCode);
89 return (iter == allNodes_.end() ?
nullptr : &(iter->second));
96 void computeCenterSize(uint32_t location,
97 std::array<float, 3> ¢erArr,
98 std::array<float, 3> &sizeArr);
103 uint32_t getChildLocation(uint32_t parLoc,
105 const std::array<float, 3> ¢erArr);