occ
Loading...
Searching...
No Matches
occ::geometry::LinearHashedOctree< N > Struct Template Reference

#include <linear_hashed_octree.h>

Public Types

using NodeMap = ankerl::unordered_dense::map<MIndex, N, MIndexHash>

Public Member Functions

 LinearHashedOctree ()
template<class R, class C>
void build_st (R &should_refine, C &construct_node)
template<class R, class C>
void build (R &should_refine, C &construct_node)
template<class V>
void visit_leaves (V &visitor) const
std::optional< N > get (MIndex key) const

Public Attributes

NodeMap nodes
std::vector< MIndex > leaves

Member Typedef Documentation

◆ NodeMap

template<typename N>
using occ::geometry::LinearHashedOctree< N >::NodeMap = ankerl::unordered_dense::map<MIndex, N, MIndexHash>

Constructor & Destructor Documentation

◆ LinearHashedOctree()

template<typename N>
occ::geometry::LinearHashedOctree< N >::LinearHashedOctree ( )
inline

Member Function Documentation

◆ build()

template<typename N>
template<class R, class C>
void occ::geometry::LinearHashedOctree< N >::build ( R & should_refine,
C & construct_node )
inline

◆ build_st()

template<typename N>
template<class R, class C>
void occ::geometry::LinearHashedOctree< N >::build_st ( R & should_refine,
C & construct_node )
inline

◆ get()

template<typename N>
std::optional< N > occ::geometry::LinearHashedOctree< N >::get ( MIndex key) const
inline

◆ visit_leaves()

template<typename N>
template<class V>
void occ::geometry::LinearHashedOctree< N >::visit_leaves ( V & visitor) const
inline

Member Data Documentation

◆ leaves

template<typename N>
std::vector<MIndex> occ::geometry::LinearHashedOctree< N >::leaves

◆ nodes

template<typename N>
NodeMap occ::geometry::LinearHashedOctree< N >::nodes

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