Wildmeshing Toolkit
SimplicialEmbedding.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Mesh.hpp>
4 
6 
7 /*
8  * This class is used to seperate mesh and make sure there are no direct connection
9  * between independent simplicity collection
10  */
12 {
13 public:
15  Mesh& mesh,
16  const std::vector<attribute::MeshAttributeHandle>& label_attributes,
17  const int64_t& value,
18  const std::vector<attribute::MeshAttributeHandle>& pass_through_attributes);
19 
27  void regularize_tags(bool generate_simplicial_embedding = true);
28 
29 private:
31 
32  std::vector<attribute::MeshAttributeHandle> m_label_attributes;
33  int64_t m_value;
34 
35  std::vector<attribute::MeshAttributeHandle> m_pass_through_attributes;
36 };
37 
38 } // namespace wmtk::components::internal
SimplicialEmbedding(Mesh &mesh, const std::vector< attribute::MeshAttributeHandle > &label_attributes, const int64_t &value, const std::vector< attribute::MeshAttributeHandle > &pass_through_attributes)
std::vector< attribute::MeshAttributeHandle > m_pass_through_attributes
void regularize_tags(bool generate_simplicial_embedding=true)
Regularize tags in mesh.
std::vector< attribute::MeshAttributeHandle > m_label_attributes