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

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::copyleft
 

Functions

template<typename DerivedValues , typename DerivedPoints , typename DerivedVertices , typename DerivedFaces >
void igl::copyleft::marching_cubes (const Eigen::MatrixBase< DerivedValues > &values, const Eigen::MatrixBase< DerivedPoints > &points, const unsigned x_res, const unsigned y_res, const unsigned z_res, const double isovalue, Eigen::PlainObjectBase< DerivedVertices > &vertices, Eigen::PlainObjectBase< DerivedFaces > &faces)
 Performs marching cubes reconstruction on a grid defined by values, and points, and generates a mesh defined by vertices and faces.
 
template<typename DerivedValues , typename DerivedPoints , typename DerivedVertices , typename DerivedFaces >
void igl::copyleft::marching_cubes (const Eigen::MatrixBase< DerivedValues > &values, const Eigen::MatrixBase< DerivedPoints > &points, const unsigned x_res, const unsigned y_res, const unsigned z_res, Eigen::PlainObjectBase< DerivedVertices > &vertices, Eigen::PlainObjectBase< DerivedFaces > &faces)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Overload of the above function where the isovalue defaults to 0.0.
 
template<typename DerivedValue , typename DerivedPoint , typename DerivedPoints , typename DerivedVertices , typename DerivedFaces >
void igl::copyleft::marching_cubes (const std::function< DerivedValue(const DerivedPoint &) > &value_fun, const Eigen::MatrixBase< DerivedPoints > &points, const unsigned x_res, const unsigned y_res, const unsigned z_res, const double isovalue, Eigen::PlainObjectBase< DerivedVertices > &vertices, Eigen::PlainObjectBase< DerivedFaces > &faces)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename DerivedValues , typename DerivedPoints , typename DerivedVertices , typename DerivedIndices , typename DerivedFaces >
void igl::copyleft::marching_cubes (const Eigen::MatrixBase< DerivedValues > &values, const Eigen::MatrixBase< DerivedPoints > &points, const Eigen::MatrixBase< DerivedIndices > &indices, const double isovalue, Eigen::PlainObjectBase< DerivedVertices > &vertices, Eigen::PlainObjectBase< DerivedFaces > &faces)
 Perform marching cubes reconstruction on the sparse grid cells defined by (indices, points).
 
template<typename DerivedValues , typename DerivedPoints , typename DerivedVertices , typename DerivedIndices , typename DerivedFaces >
void igl::copyleft::marching_cubes (const Eigen::MatrixBase< DerivedValues > &values, const Eigen::MatrixBase< DerivedPoints > &points, const Eigen::MatrixBase< DerivedIndices > &indices, Eigen::PlainObjectBase< DerivedVertices > &vertices, Eigen::PlainObjectBase< DerivedFaces > &faces)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.