8#ifndef IGL_SPARSE_VOXEL_GRID_H
9#define IGL_SPARSE_VOXEL_GRID_H
37 const Eigen::MatrixBase<DerivedP0>& p0,
38 const Func& scalarFunc,
40 const int expected_number_of_cubes,
41 Eigen::PlainObjectBase<DerivedS>& CS,
42 Eigen::PlainObjectBase<DerivedV>& CV,
43 Eigen::PlainObjectBase<DerivedI>& CI);
46#ifndef IGL_STATIC_LIBRARY
47# include "sparse_voxel_grid.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void sparse_voxel_grid(const Eigen::MatrixBase< DerivedP0 > &p0, const Func &scalarFunc, const double eps, const int expected_number_of_cubes, Eigen::PlainObjectBase< DerivedS > &CS, Eigen::PlainObjectBase< DerivedV > &CV, Eigen::PlainObjectBase< DerivedI > &CI)
Given a point, p0, on an isosurface, construct a shell of epsilon sized cubes surrounding the surface...