libigl v2.5.0
Loading...
Searching...
No Matches
marching_cubes.h File Reference
#include "igl_inline.h"
#include <unordered_map>
#include <Eigen/Core>
#include "marching_cubes.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedS, typename DerivedGV, typename DerivedV, typename DerivedF>
void igl::marching_cubes (const Eigen::MatrixBase< DerivedS > &S, const Eigen::MatrixBase< DerivedGV > &GV, const unsigned nx, const unsigned ny, const unsigned nz, const typename DerivedS::Scalar isovalue, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)
 Performs marching cubes reconstruction on a grid defined by values, and points, and generates a mesh defined by vertices and faces.
template<typename DerivedS, typename DerivedGV, typename DerivedV, typename DerivedF>
void igl::marching_cubes (const Eigen::MatrixBase< DerivedS > &S, const Eigen::MatrixBase< DerivedGV > &GV, const unsigned nx, const unsigned ny, const unsigned nz, const typename DerivedS::Scalar isovalue, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, std::unordered_map< std::int64_t, int > &E2V)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename DerivedS, typename DerivedGV, typename DerivedGI, typename DerivedV, typename DerivedF>
void igl::marching_cubes (const Eigen::MatrixBase< DerivedS > &S, const Eigen::MatrixBase< DerivedGV > &GV, const Eigen::MatrixBase< DerivedGI > &GI, const typename DerivedS::Scalar isovalue, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.