libigl v2.5.0
Loading...
Searching...
No Matches
offset_surface.h
Go to the documentation of this file.
1#ifndef IGL_OFFSET_SURFACE_H
2#define IGL_OFFSET_SURFACE_H
3#include "igl_inline.h"
4#include "signed_distance.h"
5#include <Eigen/Core>
6
7namespace igl
8{
25 template <
26 typename DerivedV,
27 typename DerivedF,
28 typename isolevelType,
29 typename DerivedSV,
30 typename DerivedSF,
31 typename DerivedGV,
32 typename Derivedside,
33 typename DerivedS>
35 const Eigen::MatrixBase<DerivedV> & V,
36 const Eigen::MatrixBase<DerivedF> & F,
37 const isolevelType isolevel,
38 const typename Derivedside::Scalar s,
39 const SignedDistanceType & signed_distance_type,
40 Eigen::PlainObjectBase<DerivedSV> & SV,
41 Eigen::PlainObjectBase<DerivedSF> & SF,
42 Eigen::PlainObjectBase<DerivedGV> & GV,
43 Eigen::PlainObjectBase<Derivedside> & side,
44 Eigen::PlainObjectBase<DerivedS> & S);
45
46}
47#ifndef IGL_STATIC_LIBRARY
48# include "offset_surface.cpp"
49#endif
50#endif
Definition AABB.h:17
SignedDistanceType
Types of signing a distance field.
Definition signed_distance.h:21
void offset_surface(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const isolevelType isolevel, const typename Derivedside::Scalar s, const SignedDistanceType &signed_distance_type, Eigen::PlainObjectBase< DerivedSV > &SV, Eigen::PlainObjectBase< DerivedSF > &SF, Eigen::PlainObjectBase< DerivedGV > &GV, Eigen::PlainObjectBase< Derivedside > &side, Eigen::PlainObjectBase< DerivedS > &S)
Compute a triangulated offset surface using matching cubes on a grid of signed distance values from t...