oxihuman-morph 0.1.2

Parametric morphology engine for human body generation — targets, blendshapes, FACS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
// Auto-split part 4 of oxihuman-morph lib.rs
// Do not edit directly — generated by workstream B refactor

#[path = "pupil_size_control.rs"]
pub mod pupil_size_control;
pub use pupil_size_control::{
    blend_pupil_size, default_pupil_size_params, pupil_area_fraction, pupil_asymmetry,
    pupil_circumference_ratio, pupil_from_light, pupil_radius_fraction, pupil_size_to_json,
    reset_pupil_size, set_pupil_dilation_both, set_pupil_dilation_left, set_pupil_dilation_right,
    PupilSizeParams,
};

#[path = "iris_color_blend.rs"]
pub mod iris_color_blend;
pub use iris_color_blend::{
    apply_preset, blend_iris_color, iris_color_blend_to_json, iris_luminance, preset_rgb,
    reset_iris_color, set_heterochromia, set_limbal_ring, IrisColorBlendParams, IrisColorPreset,
};

#[path = "sclera_tone_control.rs"]
pub mod sclera_tone_control;
pub use sclera_tone_control::{
    apply_sclera_tone, blend_sclera_tone, default_sclera_tone_params, is_sclera_healthy,
    reset_sclera_tone, sclera_tone_to_json, set_sclera_brightness, set_sclera_redness,
    set_sclera_vein_visibility, set_sclera_yellowing, ScleraToneParams,
};

#[path = "eyelash_density.rs"]
pub mod eyelash_density;
pub use eyelash_density::{
    blend_eyelash_density, curl_tip_offset, default_eyelash_density_params,
    eyelash_density_to_json, reset_eyelash_density, set_lash_curl, set_lash_darkness,
    set_lash_length, set_lash_thickness, set_lower_lash_count, set_upper_lash_count,
    total_lash_count, EyelashDensityParams,
};

#[path = "eyebrow_shape_library.rs"]
pub mod eyebrow_shape_library;
pub use eyebrow_shape_library::{
    all_presets, blend_brow_shape, brow_height_at, brow_shape_to_json, preset_params,
    reset_brow_shape, BrowShapeParams, BrowShapePreset,
};

#[path = "lip_color_zone.rs"]
pub mod lip_color_zone;
pub use lip_color_zone::{
    apply_lip_zone_color, blend_lip_color_zone, default_lip_color_zone_params,
    lip_color_zone_to_json, reset_lip_color_zone, set_lip_desaturation, set_lip_gloss,
    set_lip_zone, LipColorZoneParams, LipZone,
};

#[path = "tooth_shape_control.rs"]
pub mod tooth_shape_control;
pub use tooth_shape_control::{
    blend_tooth_shape, default_tooth_shape_params, reset_tooth_shape, set_tooth_crowding,
    set_tooth_height, set_tooth_overbite, set_tooth_rounding, set_tooth_whiteness, set_tooth_width,
    tooth_color_rgb, tooth_shape_to_json, ToothShapeParams,
};

#[path = "tongue_shape_v2.rs"]
pub mod tongue_shape_v2;
pub use tongue_shape_v2::{
    blend_tongue_shape_v2, default_tongue_shape_v2_params, reset_tongue_shape_v2, set_dorsum_arch,
    set_tip_curl, set_tip_pointedness, set_tongue_protrusion, tongue_height_profile,
    tongue_shape_v2_to_json, tongue_width_profile, TongueShapeV2Params,
};

#[path = "body_symmetry_v2.rs"]
pub mod body_symmetry_v2;
pub use body_symmetry_v2::{
    apply_symmetry, are_mirror_pair, body_symmetry_v2_to_json, default_body_symmetry_v2_params,
    mirror_position as body_mirror_position, reset_body_symmetry_v2, set_symmetry_weight,
    symmetrize_position, BodySymmetryV2Params, SymmetryAxis as BodySymAxis,
};

#[path = "thigh_v2.rs"]
pub mod thigh_v2;
pub use thigh_v2::{
    default_thigh_v2_config, new_thigh_v2_state, tv2_average_girth, tv2_blend, tv2_is_neutral,
    tv2_reset, tv2_set_inner, tv2_set_outer, tv2_set_symmetry, tv2_to_json, tv2_to_weights,
    ThighV2Config, ThighV2State, ThighV2Weights,
};

#[path = "hand_v2.rs"]
pub mod hand_v2;
pub use hand_v2::{
    default_hand_v2_params, hv2_blend, hv2_is_neutral, hv2_reset, hv2_set_dorsum, hv2_set_knuckle,
    hv2_set_tendon, hv2_set_vein, hv2_surface_detail_estimate, hv2_to_json, HandV2Params,
};

#[path = "palm_control.rs"]
pub mod palm_control;
pub use palm_control::{
    default_palm_params, palm_blend, palm_is_neutral, palm_reset, palm_set_arch,
    palm_set_thickness, palm_set_width, palm_surface_area_estimate, palm_to_json, palm_to_weights,
    PalmParams, PalmWeights,
};

#[path = "thumb_control.rs"]
pub mod thumb_control;
pub use thumb_control::{
    default_thumb_params, thumb_blend, thumb_is_neutral, thumb_opposition_angle_deg, thumb_reset,
    thumb_set_curvature, thumb_set_girth, thumb_set_length_scale, thumb_set_opposition,
    thumb_to_json, ThumbParams,
};

#[path = "nail_shape_control.rs"]
pub mod nail_shape_control;
pub use nail_shape_control::{
    default_nail_shape_params, nail_blend, nail_is_neutral, nail_reset, nail_set_curvature,
    nail_set_length, nail_set_shape, nail_set_width_scale, nail_sharpness_index, nail_to_json,
    NailShape, NailShapeParams,
};

#[path = "skin_roughness.rs"]
pub mod skin_roughness;
pub use skin_roughness::{
    default_skin_roughness_params, sr_blend, sr_effective_roughness, sr_is_specular_dominant,
    sr_reset, sr_set_anisotropy, sr_set_micro_roughness, sr_set_roughness, sr_set_scale,
    sr_to_json, SkinRoughnessParams,
};

#[path = "skin_pore_control.rs"]
pub mod skin_pore_control;
pub use skin_pore_control::{
    default_skin_pore_params, sp_blend, sp_is_neutral, sp_pore_visibility, sp_reset,
    sp_set_density, sp_set_depth, sp_set_size, sp_set_variation, sp_to_json, SkinPoreParams,
};

#[path = "wrinkle_depth_control.rs"]
pub mod wrinkle_depth_control;
pub use wrinkle_depth_control::{
    wd_blend, wd_is_neutral, wd_reset, wd_set_density, wd_set_depth, wd_set_softness, wd_to_json,
    wd_visibility, WrinkleDepthParams, WrinkleZone,
};

#[path = "scar_morph.rs"]
pub mod scar_morph;
pub use scar_morph::{
    default_scar_morph_params, scar_blend, scar_is_neutral, scar_reset, scar_set_length,
    scar_set_prominence, scar_set_roughness, scar_set_width, scar_to_json, scar_visibility,
    ScarMorphParams, ScarType,
};

#[path = "tattoo_map_control.rs"]
pub mod tattoo_map_control;
pub use tattoo_map_control::{
    default_tattoo_params, tattoo_blend, tattoo_disable, tattoo_effective_opacity, tattoo_enable,
    tattoo_reset, tattoo_set_offset, tattoo_set_opacity, tattoo_set_rotation, tattoo_set_scale,
    tattoo_to_json, TattooParams, TattooRegion,
};

#[path = "hair_thickness_control.rs"]
pub mod hair_thickness_control;
pub use hair_thickness_control::{
    default_hair_thickness_params, ht_blend as hair_ht_blend, ht_effective_diameter_um,
    ht_is_neutral, ht_reset as hair_ht_reset, ht_set_medulla, ht_set_root_taper, ht_set_shaft,
    ht_set_tip_taper, ht_to_json as hair_ht_to_json, HairThicknessParams,
};

#[path = "hair_curl_control.rs"]
pub mod hair_curl_control;
pub use hair_curl_control::{
    default_hair_curl_params, hc_blend, hc_effective_curl, hc_is_straight, hc_reset,
    hc_set_frequency, hc_set_pattern, hc_set_strength, hc_to_json, CurlPattern, HairCurlParams,
};

#[path = "beard_density_control.rs"]
pub mod beard_density_control;
pub use beard_density_control::{
    bd_average_density, bd_is_clean_shaven, bd_reset, bd_set_global, bd_set_zone_density,
    bd_set_zone_length, bd_to_json, default_beard_density_state, BeardDensityState, BeardZone,
    BeardZoneEntry,
};

#[path = "eyebrow_thickness_control.rs"]
pub mod eyebrow_thickness_control;
pub use eyebrow_thickness_control::{
    default_eyebrow_thickness_params, ebt_asymmetry, ebt_average_thickness, ebt_blend,
    ebt_is_neutral, ebt_reset, ebt_set_density, ebt_set_fullness, ebt_set_thickness, ebt_to_json,
    EyebrowSide, EyebrowThicknessParams,
};

#[path = "body_hair_control.rs"]
pub mod body_hair_control;
pub use body_hair_control::{
    bh_average_density, bh_is_smooth, bh_reset, bh_set_global, bh_set_region_density,
    bh_set_region_length, bh_to_json, default_body_hair_state, BodyHairEntry, BodyHairRegion,
    BodyHairState,
};

#[path = "freckle_map_control.rs"]
pub mod freckle_map_control;
pub use freckle_map_control::{
    default_freckle_params, fm_blend, fm_effective_density, fm_is_neutral, fm_reset,
    fm_set_body_coverage, fm_set_darkness, fm_set_density, fm_set_distribution,
    fm_set_face_coverage, fm_set_size, fm_set_sun_exposure, fm_to_json, FreckleDistribution,
    FreckleParams,
};

#[path = "corrective_pose_driver.rs"]
pub mod corrective_pose_driver;
pub use corrective_pose_driver::{
    evaluate_pose_driver, new_corrective_pose_driver, pose_driver_to_json, reset_pose_driver,
    set_pose_driver_threshold, CorrectivePoseDriver, CorrectivePoseDriverConfig,
};

#[path = "sdk_driven_shape.rs"]
pub mod sdk_driven_shape;
pub use sdk_driven_shape::{
    new_sdk_driven_shape, sdk_add_point, sdk_evaluate, sdk_point_count, sdk_reset, sdk_to_json,
    SdkCurvePoint, SdkDrivenShape,
};

#[path = "proximity_wrap.rs"]
pub mod proximity_wrap;
pub use proximity_wrap::{
    bake_proximity_weights, new_proximity_wrap, proximity_average_weight, proximity_influence,
    proximity_vertex_count, proximity_wrap_to_json, ProximityWrap, ProximityWrapConfig,
};

#[path = "lattice_morph.rs"]
pub mod lattice_morph;
pub use lattice_morph::{
    lattice_get_point, lattice_point_count, lattice_set_point, lattice_set_weight, lattice_to_json,
    new_lattice_morph, LatticeDims, LatticeMorph,
};

#[path = "cage_morph.rs"]
pub mod cage_morph;
pub use cage_morph::{
    cage_set_vertex, cage_set_weight, cage_to_json, cage_total_delta_magnitude, cage_vertex_count,
    new_cage_morph, CageMorph, CageVertex,
};

#[path = "delta_mush.rs"]
pub mod delta_mush;
pub use delta_mush::{
    delta_mush_reset, delta_mush_set_smoothing, delta_mush_smooth, delta_mush_to_json,
    delta_mush_vertex_count, new_delta_mush, DeltaMush, DeltaMushConfig,
};

#[path = "proximity_pin.rs"]
pub mod proximity_pin;
pub use proximity_pin::{
    new_pin_set, pin_add, pin_count, pin_enabled_count, pin_remove, pin_set_enabled,
    pin_set_influence, pin_set_to_json, ProximityPin, ProximityPinSet,
};

#[path = "surface_deform.rs"]
pub mod surface_deform;
pub use surface_deform::{
    new_surface_deform, surface_deform_bary_sum, surface_deform_bind, surface_deform_set_strength,
    surface_deform_to_json, surface_deform_unbind, surface_deform_vertex_count, SurfaceDeform,
    SurfaceDeformBinding,
};

#[path = "mesh_deform_morph.rs"]
pub mod mesh_deform_morph;
pub use mesh_deform_morph::{
    mdm_bind, mdm_set_weight, mdm_to_json, mdm_unbind, mdm_validate_weights, mdm_vertex_count,
    new_mesh_deform_morph, MeshDeformBinding, MeshDeformMorph,
};

#[path = "inbetween_shape.rs"]
pub mod inbetween_shape;
pub use inbetween_shape::{
    inbetween_evaluate, inbetween_reset, inbetween_set_delta, inbetween_to_json,
    inbetween_vertex_count, new_inbetween_shape, InbetweenShape,
};

#[path = "pose_space_deform.rs"]
pub mod pose_space_deform;
pub use pose_space_deform::{
    new_psd, psd_add_example, psd_evaluate, psd_example_count, psd_reset, psd_to_json,
    psd_vertex_count, PoseSpaceDeform, PsdExample,
};

#[path = "rbf_deformer.rs"]
pub mod rbf_deformer;
pub use rbf_deformer::{
    new_rbf_deformer, rbf_add_control_point, rbf_evaluate, rbf_kernel_value, rbf_point_count,
    rbf_to_json, RbfControlPoint, RbfDeformer, RbfKernel,
};

#[path = "linear_blend_skin.rs"]
pub mod linear_blend_skin;
pub use linear_blend_skin::{
    lbs_add_influence, lbs_influence_count, lbs_is_normalized, lbs_normalize, lbs_to_json,
    lbs_vertex_count, new_lbs, LbsVertex, LinearBlendSkin, SkinInfluence,
};

#[path = "dual_quaternion_skin.rs"]
pub mod dual_quaternion_skin;
pub use dual_quaternion_skin::{
    dqs_bone_count, dqs_normalize, dqs_set_bone, dqs_set_vertex, dqs_to_json, dqs_vertex_count,
    new_dqs, DqsVertex, DualQuat, DualQuaternionSkin,
};

#[path = "omega_skin.rs"]
pub mod omega_skin;
pub use omega_skin::{
    new_omega_skin, omega_effective_weight, omega_set_blend, omega_set_mode, omega_to_json,
    omega_vertex_count, OmegaMode, OmegaSkin, OmegaVertex,
};

#[path = "fast_lbs.rs"]
pub mod fast_lbs;
pub use fast_lbs::{
    fast_lbs_is_valid, fast_lbs_normalize, fast_lbs_set, fast_lbs_to_json, fast_lbs_transform,
    fast_lbs_vertex_count, new_fast_lbs, FastLbs, FastLbsRecord,
};

#[path = "neural_blend_shape.rs"]
pub mod neural_blend_shape;
pub use neural_blend_shape::{
    nbs_forward, nbs_load_weights, nbs_set_activation, nbs_set_enabled, nbs_to_json,
    new_neural_blend_shape, NbsActivation, NeuralBlendShape,
};

#[path = "learned_corrective.rs"]
pub mod learned_corrective;
pub use learned_corrective::{
    lc_add_entry, lc_entry_count, lc_evaluate, lc_set_enabled,
    lc_to_json as learned_corrective_to_json, new_learned_corrective, CorrectiveEntry,
    LearnedCorrective,
};

#[path = "data_driven_rig.rs"]
pub mod data_driven_rig;
pub use data_driven_rig::{
    ddr_add_sample, ddr_clear_samples, ddr_evaluate, ddr_sample_count, ddr_set_enabled,
    ddr_to_json, new_data_driven_rig, DataDrivenRig, RigSample,
};

#[path = "example_based_morph.rs"]
pub mod example_based_morph;
pub use example_based_morph::{
    ebm_add_example, ebm_evaluate, ebm_example_count, ebm_set_enabled, ebm_to_json,
    ebm_vertex_count, new_example_based_morph, ExampleBasedMorph, ExamplePose,
};

#[path = "compressed_shape_key.rs"]
pub mod compressed_shape_key;
pub use compressed_shape_key::{
    csk_byte_size, csk_decode_delta, csk_set_enabled, csk_set_quant_bits, csk_set_scale,
    csk_to_json, new_compressed_shape_key, CompressedShapeKey, QuantBits,
};

#[path = "sparse_blend_shape.rs"]
pub mod sparse_blend_shape;
pub use sparse_blend_shape::{
    new_sparse_blend_shape, sbs_add_delta, sbs_apply, sbs_delta_count, sbs_set_enabled,
    sbs_set_weight, sbs_to_json, SparseBlendShape, SparseDelta,
};

#[path = "gpu_morph_target.rs"]
pub mod gpu_morph_target;
pub use gpu_morph_target::{
    gmt_mark_dirty, gmt_set_enabled, gmt_set_weight, gmt_to_json, gmt_upload, new_gpu_morph_target,
    GpuMorphTarget, GpuUploadState,
};

#[path = "streaming_morph.rs"]
pub mod streaming_morph;
pub use streaming_morph::{
    new_streaming_morph, sm_enqueue, sm_queue_len, sm_set_enabled, sm_tick, sm_to_json,
    StreamEntry, StreamState, StreamingMorph,
};

#[path = "morph_lod_selector.rs"]
pub mod morph_lod_selector;
pub use morph_lod_selector::{
    lod_current_level, lod_level_count, lod_morph_count_at, lod_threshold, lod_to_json,
    new_morph_lod_selector, select_lod, set_lod_threshold, MorphLodSelector,
};

#[path = "expression_retarget_ml.rs"]
pub mod expression_retarget_ml;
pub use expression_retarget_ml::{
    erml_add_mapping, erml_mapping_count, erml_retarget, erml_set_enabled, erml_to_json,
    new_expression_retarget_ml, ExpressionRetargetMl, RetargetMapping,
};

#[path = "voice_driven_morph.rs"]
pub mod voice_driven_morph;
pub use voice_driven_morph::{
    new_voice_driven_morph, vdm_add_mapping, vdm_mapping_count, vdm_process, vdm_set_enabled,
    vdm_set_smoothing, vdm_to_json, AudioBandMapping, VoiceDrivenMorph,
};

#[path = "gaze_driven_shape.rs"]
pub mod gaze_driven_shape;
pub use gaze_driven_shape::{
    gds_evaluate, gds_set_direction, gds_set_enabled, gds_set_gains, gds_to_json,
    new_gaze_driven_shape, GazeDirection, GazeDrivenShape,
};

#[path = "emotion_blend_tree.rs"]
pub mod emotion_blend_tree;
pub use emotion_blend_tree::{
    ebt_add_node, ebt_evaluate, ebt_node_count, ebt_set_enabled, ebt_set_root,
    ebt_to_json as emotion_blend_tree_to_json, new_emotion_blend_tree, BlendOp as EmotionBlendOp,
    EmotionBlendTree, EmotionNode,
};

#[path = "procedural_wrinkle.rs"]
pub mod procedural_wrinkle;
pub use procedural_wrinkle::{
    new_procedural_wrinkle, pw_add_region, pw_evaluate, pw_region_count, pw_set_enabled,
    pw_set_global_scale, pw_to_json, ProceduralWrinkle, WrinklePattern,
    WrinkleRegion as ProceduralWrinkleRegion,
};

#[path = "age_progression_morph.rs"]
pub mod age_progression_morph;
pub use age_progression_morph::{
    apm_add_stage, apm_evaluate, apm_set_age, apm_set_enabled, apm_stage_count, apm_to_json,
    new_age_progression_morph, AgeProgressionMorph, AgeStage as AgeProgressionStage,
};

#[path = "ethnic_blend_morph.rs"]
pub mod ethnic_blend_morph;
pub use ethnic_blend_morph::{
    ebmrph_add_feature_set, ebmrph_evaluate, ebmrph_feature_count, ebmrph_set_blend_weight,
    ebmrph_set_enabled, ebmrph_to_json, new_ethnic_blend_morph, EthnicBlendMorph, EthnicFeatureSet,
};

#[path = "body_mass_index_morph.rs"]
pub mod body_mass_index_morph;
pub use body_mass_index_morph::{
    bmi_evaluate, bmi_set_enabled, bmi_set_influence, bmi_set_value, bmi_to_json, new_bmi_morph,
    BmiCategory as BmiBodyCategory, BodyMassIndexMorph,
};

#[path = "muscle_tone_morph.rs"]
pub mod muscle_tone_morph;
pub use muscle_tone_morph::{
    mtm_evaluate, mtm_override_count, mtm_set_definition, mtm_set_enabled, mtm_set_group_override,
    mtm_set_tone, mtm_to_json, new_muscle_tone_morph, MuscleGroup as ToneMuscleGroup,
    MuscleToneMorph,
};

#[path = "body_hair_density.rs"]
pub mod body_hair_density;
pub use body_hair_density::{
    bhd_region_count, bhd_set_coarseness, bhd_set_density, bhd_set_enabled, bhd_set_region,
    bhd_to_json, new_body_hair_density, BodyHairDensity,
};

#[path = "skin_thickness_morph.rs"]
pub mod skin_thickness_morph;
pub use skin_thickness_morph::{
    new_skin_thickness_morph, stm_evaluate, stm_region_count, stm_set_enabled, stm_set_region,
    stm_set_thickness, stm_to_json, SkinRegion, SkinThicknessMorph,
};

#[path = "subcutaneous_fat_morph.rs"]
pub mod subcutaneous_fat_morph;
pub use subcutaneous_fat_morph::{
    new_subcutaneous_fat_morph, sfm_evaluate, sfm_set_enabled, sfm_set_fat, sfm_set_pattern,
    sfm_set_visceral_ratio, sfm_to_json, FatPattern, SubcutaneousFatMorph,
};

#[path = "vascular_visibility.rs"]
pub mod vascular_visibility;
pub use vascular_visibility::{
    new_vascular_visibility, vv_evaluate, vv_region_count, vv_set_dilation, vv_set_enabled,
    vv_set_region, vv_set_visibility, vv_to_json, VascularVisibility, VeinRegion,
};

#[path = "scar_tissue_morph.rs"]
pub mod scar_tissue_morph;
pub use scar_tissue_morph::{
    new_scar_tissue_morph, scm_add_scar, scm_clear, scm_evaluate, scm_scar_count, scm_set_enabled,
    scm_set_intensity, scm_to_json, ScarRegion, ScarTissueMorph, ScarType as TissueScarType,
};

#[path = "tattoo_morph.rs"]
pub mod tattoo_morph;
pub use tattoo_morph::{
    new_tattoo_morph, tm_add_tattoo, tm_evaluate, tm_remove_tattoo, tm_set_enabled,
    tm_set_stretch_influence, tm_tattoo_count, tm_to_json, TattooEntry, TattooMorph,
};

#[path = "piercing_deform.rs"]
pub mod piercing_deform;
pub use piercing_deform::{
    new_piercing_deform, pd_add_piercing, pd_evaluate, pd_piercing_count, pd_remove_piercing,
    pd_set_enabled, pd_to_json, PiercingDeform, PiercingEntry, PiercingLocation,
};

#[path = "dental_morph.rs"]
pub mod dental_morph;
pub use dental_morph::{
    dm_evaluate, dm_set_alignment, dm_set_enabled, dm_set_gum_exposure, dm_set_tooth_size,
    dm_set_whitening, dm_to_json, new_dental_morph, DentalAlignment, DentalMorph,
};

#[path = "nail_morph.rs"]
pub mod nail_morph;
pub use nail_morph::{
    new_nail_morph, nm_evaluate, nm_set_curvature, nm_set_enabled, nm_set_length, nm_set_shape,
    nm_set_thickness, nm_to_json, NailMorph, NailShape as NailMorphShape,
};

#[path = "hair_follicle_density.rs"]
pub mod hair_follicle_density;
pub use hair_follicle_density::{
    hfd_evaluate, hfd_region_count, hfd_set_density, hfd_set_enabled, hfd_set_miniaturization,
    hfd_set_region, hfd_to_json, new_hair_follicle_density, HairFollicleDensity, ScalpRegion,
};

#[path = "pore_size_morph.rs"]
pub mod pore_size_morph;
pub use pore_size_morph::{
    new_pore_size_morph, psm_evaluate, psm_set_depth, psm_set_enabled, psm_set_size, psm_set_zone,
    psm_to_json, psm_zone_count, PoreSizeMorph, PoreZone,
};

#[path = "crease_depth_morph.rs"]
pub mod crease_depth_morph;
pub use crease_depth_morph::{
    cdm_add_crease, cdm_clear, cdm_crease_count, cdm_evaluate, cdm_set_enabled,
    cdm_set_global_scale, cdm_to_json, new_crease_depth_morph, CreaseDepthMorph, CreaseEntry,
    CreaseRegion,
};

#[path = "lip_volume_morph.rs"]
pub mod lip_volume_morph;
pub use lip_volume_morph::{
    lvm_evaluate, lvm_set_area, lvm_set_definition, lvm_set_enabled, lvm_set_projection,
    lvm_set_volume, lvm_to_json, new_lip_volume_morph, LipArea, LipVolumeMorph,
};

#[path = "eye_size_morph.rs"]
pub mod eye_size_morph;
pub use eye_size_morph::{
    esm_evaluate, esm_set_aperture, esm_set_enabled, esm_set_height, esm_set_side, esm_set_tilt,
    esm_set_width, esm_to_json, new_eye_size_morph, EyeSide as EyeSizeSide, EyeSizeMorph,
};

#[path = "hydration_morph.rs"]
pub mod hydration_morph;
pub use hydration_morph::{
    hym_evaluate, hym_set_enabled, hym_set_intensity, hym_set_level, hym_to_json,
    new_hydration_morph, HydrationLevel, HydrationMorph,
};

#[path = "sun_damage_morph.rs"]
pub mod sun_damage_morph;
pub use sun_damage_morph::{
    new_sun_damage_morph, sdm_evaluate, sdm_set_enabled, sdm_set_exposure_years, sdm_set_intensity,
    sdm_set_severity, sdm_to_json, SunDamageMorph, SunDamageSeverity,
};

#[path = "stretch_mark_morph.rs"]
pub mod stretch_mark_morph;
pub use stretch_mark_morph::{
    new_stretch_mark_morph, smm_add_entry, smm_clear, smm_entry_count, smm_evaluate,
    smm_set_enabled, smm_set_intensity, smm_to_json, StretchMarkEntry, StretchMarkMorph,
    StretchMarkRegion,
};

#[path = "cellulite_morph.rs"]
pub mod cellulite_morph;
pub use cellulite_morph::{
    clm_evaluate, clm_set_coverage, clm_set_depth, clm_set_enabled, clm_set_grade, clm_to_json,
    new_cellulite_morph, CelluliteGrade, CelluliteMorph,
};

#[path = "edema_morph.rs"]
pub mod edema_morph;
pub use edema_morph::{
    edm_add_region, edm_clear, edm_evaluate, edm_region_count, edm_set_enabled, edm_set_intensity,
    edm_to_json, new_edema_morph, EdemaMorph, EdemaRegion, EdemaType,
};

#[path = "bruise_morph.rs"]
pub mod bruise_morph;
pub use bruise_morph::{
    brm_add_bruise, brm_bruise_count, brm_clear, brm_evaluate, brm_set_enabled, brm_set_intensity,
    brm_to_json, new_bruise_morph, BruiseEntry, BruiseMorph, BruiseStage,
};

#[path = "flush_morph.rs"]
pub mod flush_morph;
pub use flush_morph::{
    flm_evaluate, flm_set_cause, flm_set_enabled, flm_set_intensity, flm_set_spread, flm_to_json,
    new_flush_morph, FlushCause, FlushMorph,
};

#[path = "pallor_morph.rs"]
pub mod pallor_morph;
pub use pallor_morph::{
    new_pallor_morph, plm_evaluate, plm_set_cause, plm_set_enabled, plm_set_intensity, plm_to_json,
    PallorCause, PallorMorph,
};

#[path = "cyanosis_morph.rs"]
pub mod cyanosis_morph;
pub use cyanosis_morph::{
    cym_evaluate, cym_set_enabled, cym_set_intensity, cym_set_oxygen_saturation, cym_set_type,
    cym_to_json, new_cyanosis_morph, CyanosisMorph, CyanosisType,
};

#[path = "jaundice_morph.rs"]
pub mod jaundice_morph;
pub use jaundice_morph::{
    jdm_evaluate, jdm_set_bilirubin, jdm_set_enabled, jdm_set_intensity, jdm_set_severity,
    jdm_to_json, new_jaundice_morph, JaundiceMorph, JaundiceSeverity,
};

#[path = "erythema_morph.rs"]
pub mod erythema_morph;
pub use erythema_morph::{
    erm_evaluate, erm_set_affected_area, erm_set_enabled, erm_set_intensity, erm_set_pattern,
    erm_to_json, new_erythema_morph, ErythemaMorph, ErythemaPattern,
};

#[path = "freckle_morph.rs"]
pub mod freckle_morph;
pub use freckle_morph::{
    fkm_evaluate, fkm_set_density, fkm_set_enabled, fkm_set_pattern, fkm_set_size, fkm_to_json,
    new_freckle_morph, FreckileMorph, FrecklePattern,
};

#[path = "mole_morph.rs"]
pub mod mole_morph;
pub use mole_morph::{
    mom_add_mole, mom_clear, mom_evaluate, mom_mole_count, mom_set_enabled, mom_set_opacity,
    mom_to_json, new_mole_morph, MoleEntry, MoleMorph, MoleType,
};

#[path = "acne_morph.rs"]
pub mod acne_morph;
pub use acne_morph::{
    acm_add_lesion, acm_clear, acm_evaluate, acm_lesion_count, acm_set_enabled, acm_set_severity,
    acm_to_json, new_acne_morph, AcneLesion, AcneLesionType, AcneMorph,
};

#[path = "rosacea_morph.rs"]
pub mod rosacea_morph;
pub use rosacea_morph::{
    new_rosacea_morph, rsm_evaluate, rsm_set_enabled, rsm_set_redness, rsm_set_subtype,
    rsm_set_telangiectasia, rsm_to_json, RosaceaMorph, RosaceaSubtype,
};

#[path = "vitiligo_morph.rs"]
pub mod vitiligo_morph;
pub use vitiligo_morph::{
    new_vitiligo_morph, vim_add_patch, vim_clear, vim_evaluate, vim_patch_count, vim_set_enabled,
    vim_set_extent, vim_set_pattern, vim_to_json, VitiligoMorph, VitiligoPaattern, VitilligoPatch,
};

#[path = "pregnancy_morph.rs"]
pub mod pregnancy_morph;
pub use pregnancy_morph::{
    new_pregnancy_morph, pm_belly_weight, pm_breast_delta, pm_set_weeks, pm_to_json, pm_trimester,
    PregnancyMorph, PregnancyMorphConfig, Trimester,
};

#[path = "infant_morph.rs"]
pub mod infant_morph;
pub use infant_morph::{
    im_head_scale, im_limb_scale, im_set_age, im_to_json, im_weight, new_infant_morph, InfantMorph,
    InfantMorphConfig,
};