Wildmeshing Toolkit
Loading...
Searching...
No Matches
IsotropicRemeshingOptions.cpp
Go to the documentation of this file.
1
#include <nlohmann/json.hpp>
2
#include "
IsotropicRemeshingOptions.hpp
"
3
4
5
namespace
wmtk::components::isotropic_remeshing
{
6
namespace
{
7
8
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
9
IsotropicRemeshingOptions,
10
iterations ,
11
length_abs ,
12
length_rel ,
13
lock_boundary ,
14
use_for_periodic ,
15
dont_disable_split ,
16
fix_uv_seam )
17
}
18
void
IsotropicRemeshingOptions::load_json
(
const
nlohmann::json& js) {
19
20
from_json
(js,*
this
);
21
}
22
void
IsotropicRemeshingOptions::write_json
(nlohmann::json& js)
const
{
23
to_json
(js,*
this
);
24
}
25
}
IsotropicRemeshingOptions.hpp
wmtk::components::internal::from_json
void from_json(const nlohmann::json &j, RegularSpaceOptions &o)
Definition
RegularSpaceOptions.cpp:17
wmtk::components::internal::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(EdgeInsOptions, edges, triangles, output)
wmtk::components::internal::to_json
void to_json(nlohmann::json &j, RegularSpaceOptions &o)
Definition
RegularSpaceOptions.cpp:7
wmtk::components::isotropic_remeshing
Definition
isotropic_remeshing.cpp:35
wmtk::components::isotropic_remeshing::IsotropicRemeshingOptions::write_json
void write_json(nlohmann::json &js) const
Definition
IsotropicRemeshingOptions.cpp:22
wmtk::components::isotropic_remeshing::IsotropicRemeshingOptions::load_json
void load_json(const nlohmann::json &js)
Definition
IsotropicRemeshingOptions.cpp:18
components
isotropic_remeshing
wmtk
components
isotropic_remeshing
IsotropicRemeshingOptions.cpp
Generated by
1.9.8