#include <model_warper.h>
A solver that can warp ModelSpecifications by applying a sequence of ScalingSteps to an input ModelSpecification.
◆ ModelWarper()
| opyn::ModelWarper::ModelWarper |
( |
| ) |
|
|
explicit |
◆ from_xml()
| static ModelWarper opyn::ModelWarper::from_xml |
( |
const std::filesystem::path & |
source | ) |
|
|
static |
Returns a ModelWarper read from source, which should be a path to an XML document that contains a ModelWarperV3Document (a legacy data structure, from OpenSim Creator's model warper). Throws an exception if there is an IO/parsing/validation error.
◆ num_scaling_parameters()
| size_t opyn::ModelWarper::num_scaling_parameters |
( |
| ) |
const |
Returns the number of scaling parameters that this ModelWarper is parameterized by.
◆ num_scaling_steps()
| size_t opyn::ModelWarper::num_scaling_steps |
( |
| ) |
const |
◆ warp()
Returns a warped copy of model_specification.
- Parameters
-
The documentation for this class was generated from the following file:
- /home/adam/Desktop/opensim-creator/third_party/opynsim/libopynsim/solvers/model_warper.h