py_typedefs.h 777 B

12345678910111213141516171819
  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. typedef std::vector<Eigen::Quaterniond,Eigen::aligned_allocator<Eigen::Quaterniond> > RotationList;
  11. PYBIND11_MAKE_OPAQUE(RotationList)
  12. //typedef std::vector<Eigen::Vector3d> TranslationList;
  13. //PYBIND11_MAKE_OPAQUE(TranslationList);
  14. PYBIND11_MAKE_OPAQUE(std::vector<int>)
  15. PYBIND11_MAKE_OPAQUE(std::vector<std::vector<int>>)