opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
all_scaling_step_types.h
Go to the documentation of this file.
1#pragma once
2
15
17
18#include <array>
19#include <memory>
20
21namespace opyn
22{
23 // Compile-time `Typelist` containing all `ScalingStep`s that this UI handles.
37 >;
38
39 // Returns a list of `ScalingStep` prototypes, so that downstream code is able to present
40 // them as available options etc.
42 {
43 static const auto s_ScalingStepPrototypes = []<typename... TScalingStep>(osc::Typelist<TScalingStep...>)
44 {
45 return std::to_array<std::unique_ptr<ScalingStep>>({
46 std::make_unique<TScalingStep>()...
47 });
49
50 return s_ScalingStepPrototypes;
51 }
52}
Definition manually_scale_body_segments_scaling_step.h:26
Definition model_mass_to_subject_mass_scaling_step.h:21
Definition recalculate_wrap_cylinder_radius_from_station_scaling_step.h:25
Definition recalculate_wrap_cylinder_xyz_body_rotation_from_station_scaling_step.h:28
Definition recalculate_wrap_ellipsoid_dimensions_from_station_scaling_step.h:24
Definition thin_plate_spline_body_center_of_mass_scaling_step.h:24
Definition thin_plate_spline_mesh_substitution_scaling_step.h:26
Definition thin_plate_spline_meshes_scaling_step.h:24
Definition thin_plate_spline_offset_frame_translation_scaling_step.h:24
Definition thin_plate_spline_path_points_scaling_step.h:22
Definition thin_plate_spline_stations_scaling_step.h:23
Definition thin_plate_spline_wrap_cylinder_scaling_step.h:25
Definition component_registry.h:14
const auto & getScalingStepPrototypes()
Definition all_scaling_step_types.h:41
Definition typelist.h:15