Wildmeshing Toolkit
RegularSpace.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 std::vector<int64_t>& values,
18  const std::vector<attribute::MeshAttributeHandle>& pass_through_attributes);
19 
20  void regularize_tags();
21 
22 private:
24 
25  std::vector<attribute::MeshAttributeHandle> m_label_attributes;
26  std::vector<int64_t> m_values;
27 
28  std::vector<attribute::MeshAttributeHandle> m_pass_through_attributes;
29 };
30 
31 } // namespace wmtk::components::internal
std::vector< attribute::MeshAttributeHandle > m_pass_through_attributes
std::vector< attribute::MeshAttributeHandle > m_label_attributes
RegularSpace(Mesh &mesh, const std::vector< attribute::MeshAttributeHandle > &label_attributes, const std::vector< int64_t > &values, const std::vector< attribute::MeshAttributeHandle > &pass_through_attributes)