py_igl_embree.cpp 967 B

1234567891011121314151617181920212223242526272829
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2017 Sebastian Koch <s.koch@tu-berlin.de> and Daniele Panozzo <daniele.panozzo@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. //#include <Eigen/Geometry>
  9. //#include <Eigen/Dense>
  10. //#include <Eigen/Sparse>
  11. #include "../python_shared.h"
  12. #include <igl/embree/ambient_occlusion.h>
  13. #include <igl/embree/reorient_facets_raycast.h>
  14. #include <igl/embree/line_mesh_intersection.h>
  15. void python_export_igl_embree(py::module &me) {
  16. py::module m = me.def_submodule(
  17. "embree", "Wrappers for libigl functions that use embree");
  18. #include "../py_igl/embree/py_ambient_occlusion.cpp"
  19. #include "../py_igl/embree/py_reorient_facets_raycast.cpp"
  20. #include "../py_igl/embree/py_line_mesh_intersection.cpp"
  21. }