File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3737
3838#include " area.hh"
3939#include " conformal_ideal_delaunay/ConformalInterface.hh"
40- #include " conformal_ideal_delaunay/Sampling.hh"
4140#include " constraint.hh"
4241#include " convergence.hh"
4342#include " embedding.hh"
5756#include " visualization.hh"
5857#include < highfive/H5Easy.hpp>
5958
59+ #ifdef ENABLE_VISUALIZATION
60+ #include " conformal_ideal_delaunay/Sampling.hh"
61+ #endif
62+
6063namespace CurvatureMetric {
6164
6265#ifdef PYBIND
@@ -293,6 +296,7 @@ init_conformal_pybind(pybind11::module& m)
293296 &overlay_mesh_to_VL<Scalar>,
294297 pybind11::call_guard<pybind11::scoped_ostream_redirect,
295298 pybind11::scoped_estream_redirect>());
299+ #ifdef ENABLE_VISUALIZATION
296300 m.def (" get_pt_mat" , &get_pt_mat, " get pt_mat" );
297301 m.def (" get_edges" , &get_edges, " get edges mesh" );
298302 m.def (" generate_mesh_viewer" ,
@@ -310,6 +314,7 @@ init_conformal_pybind(pybind11::module& m)
310314 " save viewer image to png" ,
311315 pybind11::call_guard<pybind11::scoped_ostream_redirect,
312316 pybind11::scoped_estream_redirect>());
317+ #endif
313318}
314319
315320void
You can’t perform that action at this time.
0 commit comments