occ
Loading...
Searching...
No Matches
marching_cubes.h File Reference
#include <array>
#include <occ/core/linear_algebra.h>
#include <occ/core/timings.h>
#include <occ/geometry/index_cache.h>
#include <type_traits>
#include <vector>
Include dependency graph for marching_cubes.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  occ::geometry::mc::impl::has_batch_evaluate< T, typename >
 
struct  occ::geometry::mc::impl::has_batch_evaluate< T, std::void_t< decltype(std::declval< T >().batch(std::declval< Eigen::Ref< const FMat3N > >(), std::declval< Eigen::Ref< FVec > >()))> >
 
struct  occ::geometry::mc::MarchingCubes
 

Namespaces

namespace  occ
 
namespace  occ::geometry
 computational geometry functionality - marching cubes, Morton codes etc.
 
namespace  occ::geometry::mc
 
namespace  occ::geometry::mc::impl
 
namespace  occ::geometry::mc::tables
 

Functions

template<typename E >
void occ::geometry::mc::impl::march_cube (const std::array< float, 8 > &values, E &edge_func)
 
constexpr float occ::geometry::mc::impl::get_offset (float a, float b)
 
template<typename T >
occ::geometry::mc::impl::interpolate (T a, T b, float t)
 

Variables

const std::array< std::array< uint_fast8_t, 3 >, 8 > occ::geometry::mc::tables::CORNERS
 
const std::array< std::array< uint_fast8_t, 2 >, 12 > occ::geometry::mc::tables::EDGE_CONNECTION
 
const std::array< std::array< int_fast8_t, 16 >, 256 > occ::geometry::mc::tables::TRIANGLE_CONNECTION