py_typedefs.h 895 B

1234567891011121314151617181920212223
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2017 Sebastian Koch <[email protected]> and Daniele Panozzo <[email protected]>
  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 <pybind11/pybind11.h>
  9. #include <pybind11/stl_bind.h>
  10. #include <pybind11/stl.h>
  11. #include <pybind11/complex.h>
  12. #include <pybind11/functional.h>
  13. #include <pybind11/chrono.h>
  14. typedef std::vector<Eigen::Quaterniond,Eigen::aligned_allocator<Eigen::Quaterniond> > RotationList;
  15. PYBIND11_MAKE_OPAQUE(RotationList)
  16. //typedef std::vector<Eigen::Vector3d> TranslationList;
  17. //PYBIND11_MAKE_OPAQUE(TranslationList);
  18. PYBIND11_MAKE_OPAQUE(std::vector<int>)
  19. PYBIND11_MAKE_OPAQUE(std::vector<std::vector<int>>)