Wildmeshing Toolkit
IsotropicRemeshingOptions.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <memory>
4 #include <nlohmann/json_fwd.hpp>
5 #include <optional>
6 
7 
9 
10 
12 {
13  // std::shared_ptr<TriMesh> input;
15  std::optional<wmtk::attribute::MeshAttributeHandle> inversion_position_attribute;
16  std::vector<wmtk::attribute::MeshAttributeHandle> other_position_attributes;
17 
18  std::vector<wmtk::attribute::MeshAttributeHandle> pass_through_attributes;
19  int64_t iterations = 10;
20  double length_abs = 0;
21  double length_rel = 0;
22  bool lock_boundary = true;
23  bool use_for_periodic = false;
24  bool dont_disable_split = false;
25  bool fix_uv_seam = true;
26 
27  void load_json(const nlohmann::json& js);
28  void write_json(nlohmann::json& js) const;
29 };
30 
31 
32 } // namespace wmtk::components::isotropic_remeshing
std::vector< wmtk::attribute::MeshAttributeHandle > other_position_attributes
std::optional< wmtk::attribute::MeshAttributeHandle > inversion_position_attribute
std::vector< wmtk::attribute::MeshAttributeHandle > pass_through_attributes
nlohmann::json json
Definition: input.cpp:9