Wildmeshing Toolkit
Loading...
Searching...
No Matches
WildmeshingOptions_old.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <nlohmann/json.hpp>
4
5
namespace
wmtk::components
{
6
struct
WildmeshingOptionsAttributes
7
{
8
std::string
position
;
9
bool
replace_double_coordinate
;
10
// nlohmann::json position;
11
};
12
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
13
WildmeshingOptionsAttributes
,
14
position,
15
replace_double_coordinate);
16
17
struct
WildmeshingOptionsEnvelopeMesh
18
{
19
std::string
mesh
;
20
std::string
position
;
21
};
22
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
WildmeshingOptionsEnvelopeMesh
, mesh, position);
23
24
25
struct
WildmeshingOptionsEnvelope
26
{
27
WildmeshingOptionsEnvelopeMesh
geometry
;
28
double
thickness
;
29
nlohmann::json
constrained_position
;
30
};
31
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
32
WildmeshingOptionsEnvelope
,
33
geometry,
34
thickness,
35
constrained_position);
36
37
struct
WildmeshingOptions
38
{
39
public
:
40
std::string
input
;
41
std::string
output
;
42
WildmeshingOptionsAttributes
attributes
;
43
// the rate at which the scheduler will present update information. if 0/empty this will do nothing
44
size_t
scheduler_update_frequency
;
45
std::vector<nlohmann::json>
pass_through
;
46
std::vector<WildmeshingOptionsEnvelope>
envelopes
;
47
48
int64_t
passes
;
49
double
target_edge_length
;
50
double
target_max_amips
;
51
bool
intermediate_output
;
52
};
53
54
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
55
WildmeshingOptions
,
56
attributes,
57
pass_through,
58
passes,
59
input,
60
scheduler_update_frequency,
61
envelopes,
62
target_edge_length,
63
target_max_amips,
64
intermediate_output,
65
output);
66
67
}
// namespace wmtk::components
wmtk::components::internal::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(EdgeInsOptions, edges, triangles, output)
wmtk::components
Definition
bicubic_interpolation.cpp:5
wmtk::components::WildmeshingOptionsAttributes
Definition
WildmeshingOptions_old.hpp:7
wmtk::components::WildmeshingOptionsAttributes::position
std::string position
Definition
WildmeshingOptions_old.hpp:8
wmtk::components::WildmeshingOptionsAttributes::replace_double_coordinate
bool replace_double_coordinate
Definition
WildmeshingOptions_old.hpp:9
wmtk::components::WildmeshingOptionsEnvelope
Definition
WildmeshingOptions_old.hpp:26
wmtk::components::WildmeshingOptionsEnvelope::geometry
WildmeshingOptionsEnvelopeMesh geometry
Definition
WildmeshingOptions_old.hpp:27
wmtk::components::WildmeshingOptionsEnvelope::thickness
double thickness
Definition
WildmeshingOptions_old.hpp:28
wmtk::components::WildmeshingOptionsEnvelope::constrained_position
nlohmann::json constrained_position
Definition
WildmeshingOptions_old.hpp:29
wmtk::components::WildmeshingOptionsEnvelopeMesh
Definition
WildmeshingOptions_old.hpp:18
wmtk::components::WildmeshingOptionsEnvelopeMesh::position
std::string position
Definition
WildmeshingOptions_old.hpp:20
wmtk::components::WildmeshingOptionsEnvelopeMesh::mesh
std::string mesh
Definition
WildmeshingOptions_old.hpp:19
wmtk::components::WildmeshingOptions
Definition
WildmeshingOptions_old.hpp:38
wmtk::components::WildmeshingOptions::pass_through
std::vector< nlohmann::json > pass_through
Definition
WildmeshingOptions_old.hpp:45
wmtk::components::WildmeshingOptions::target_edge_length
double target_edge_length
Definition
WildmeshingOptions_old.hpp:49
wmtk::components::WildmeshingOptions::target_max_amips
double target_max_amips
Definition
WildmeshingOptions_old.hpp:50
wmtk::components::WildmeshingOptions::envelopes
std::vector< WildmeshingOptionsEnvelope > envelopes
Definition
WildmeshingOptions_old.hpp:46
wmtk::components::WildmeshingOptions::output
std::string output
Definition
WildmeshingOptions_old.hpp:41
wmtk::components::WildmeshingOptions::scheduler_update_frequency
size_t scheduler_update_frequency
Definition
WildmeshingOptions_old.hpp:44
wmtk::components::WildmeshingOptions::attributes
WildmeshingOptionsAttributes attributes
Definition
WildmeshingOptions_old.hpp:42
wmtk::components::WildmeshingOptions::passes
int64_t passes
Definition
WildmeshingOptions_old.hpp:48
wmtk::components::WildmeshingOptions::input
std::string input
Definition
WildmeshingOptions_old.hpp:40
wmtk::components::WildmeshingOptions::intermediate_output
bool intermediate_output
Definition
WildmeshingOptions_old.hpp:51
components
wildmeshing
wmtk
components
wildmeshing
WildmeshingOptions_old.hpp
Generated by
1.9.8