Wildmeshing Toolkit
Loading...
Searching...
No Matches
TagIntersectionOptions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <spdlog/spdlog.h>
4#include <nlohmann/json.hpp>
5#include <vector>
7
9
11{
12 std::vector<std::string> vertex_labels;
13 std::vector<std::string> edge_labels;
14 std::vector<std::string> face_labels;
15 std::vector<std::string> tetrahedron_labels;
16};
17
20 vertex_labels,
21 edge_labels,
22 face_labels,
23 tetrahedron_labels);
24
26{
27 std::vector<int64_t> vertex_values;
28 std::vector<int64_t> edge_values;
29 std::vector<int64_t> face_values;
30 std::vector<int64_t> tetrahedron_values;
31};
32
35 vertex_values,
36 edge_values,
37 face_values,
38 tetrahedron_values);
39
50
51void to_json(nlohmann::json& j, TagIntersectionOptions& o);
52
53void from_json(const nlohmann::json& j, TagIntersectionOptions& o);
54
55} // namespace wmtk::components::internal
void from_json(const nlohmann::json &j, RegularSpaceOptions &o)
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(EdgeInsOptions, edges, triangles, output)
void to_json(nlohmann::json &j, RegularSpaceOptions &o)