ItsNeighborIndex.hpp 1.2 KB

12345678910111213141516171819
  1. #include <libslic3r/TriangleMesh.hpp>
  2. #include "libslic3r/MeshSplitImpl.hpp"
  3. namespace Slic3r {
  4. using FaceNeighborIndex = std::vector<std::array<size_t, 3>>;
  5. FaceNeighborIndex its_create_neighbors_index_1(const indexed_triangle_set &its);
  6. std::vector<Vec3i> its_create_neighbors_index_2(const indexed_triangle_set &its);
  7. std::vector<Vec3i> its_create_neighbors_index_3(const indexed_triangle_set &its);
  8. FaceNeighborIndex its_create_neighbors_index_4(const indexed_triangle_set &its);
  9. //FaceNeighborIndex its_create_neighbors_index_4(const indexed_triangle_set &its);
  10. std::vector<Vec3crd> its_create_neighbors_index_5(const indexed_triangle_set &its);
  11. std::vector<std::array<size_t, 3>> its_create_neighbors_index_6(const indexed_triangle_set &its);
  12. std::vector<std::array<size_t, 3>> its_create_neighbors_index_7(const indexed_triangle_set &its);
  13. FaceNeighborIndex its_create_neighbors_index_8(const indexed_triangle_set &its);
  14. std::vector<Vec3crd> its_create_neighbors_index_9(const indexed_triangle_set &its);
  15. std::vector<Vec3i> its_create_neighbors_index_10(const indexed_triangle_set &its);
  16. std::vector<std::vector<size_t>> create_vertex_faces_index(const indexed_triangle_set &its);
  17. }