occ
Loading...
Searching...
No Matches
occ::geometry::mc::LinearHashedMarchingCubes Struct Reference

#include <linear_hashed_marching_cubes.h>

Public Types

using VertexMap = ankerl::unordered_dense::map<MIndex, uint64_t, MIndexHash>
using EdgeMap

Public Member Functions

 LinearHashedMarchingCubes (uint64_t depth)
template<typename S>
void extract (const S &source, std::vector< float > &vertices, std::vector< uint32_t > &indices)
template<typename S>
void extract_with_normals (const S &source, std::vector< float > &vertices, std::vector< uint32_t > &indices, std::vector< float > &normals)

Public Attributes

size_t max_depth {6}
size_t min_depth {2}
float tolerance {1e-6}

Member Typedef Documentation

◆ EdgeMap

Initial value:
ankerl::unordered_dense::map<impl::Edge, uint64_t, impl::EdgeHash>

◆ VertexMap

using occ::geometry::mc::LinearHashedMarchingCubes::VertexMap = ankerl::unordered_dense::map<MIndex, uint64_t, MIndexHash>

Constructor & Destructor Documentation

◆ LinearHashedMarchingCubes()

occ::geometry::mc::LinearHashedMarchingCubes::LinearHashedMarchingCubes ( uint64_t depth)
inline

Member Function Documentation

◆ extract()

template<typename S>
void occ::geometry::mc::LinearHashedMarchingCubes::extract ( const S & source,
std::vector< float > & vertices,
std::vector< uint32_t > & indices )
inline

◆ extract_with_normals()

template<typename S>
void occ::geometry::mc::LinearHashedMarchingCubes::extract_with_normals ( const S & source,
std::vector< float > & vertices,
std::vector< uint32_t > & indices,
std::vector< float > & normals )
inline

Member Data Documentation

◆ max_depth

size_t occ::geometry::mc::LinearHashedMarchingCubes::max_depth {6}

◆ min_depth

size_t occ::geometry::mc::LinearHashedMarchingCubes::min_depth {2}

◆ tolerance

float occ::geometry::mc::LinearHashedMarchingCubes::tolerance {1e-6}

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