SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::ArapMaterialParams Struct Reference

Parameters for the As-Rigid-As-Possible (ARAP) material model. More...

#include <arap_params.h>

Public Member Functions

bool operator== (ArapMaterialParams const &) const =default

Public Attributes

MaterialPsdStrategy psdStrategy = MaterialPsdStrategy::Projection
 Strategy for ensuring positive semi-definite Hessian matrices.
real stiffness = kDefaultArapStiffness
 ARAP stiffness parameter (μ) [Pa].

Detailed Description

Parameters for the As-Rigid-As-Possible (ARAP) material model.

ARAP's primary goal is to deform the object such that each local region undergoes a transformation that is as close to a rigid rotation as possible.

Because it preserves local shape details well and produces intuitive, natural-looking results, ARAP is widely used in computer graphics for applications like interactive mesh editing and character posing.

See also
Dynamic Deformables (Kim and Eberle, 2022)
SoftMaterialType::Arap

Definition at line 39 of file arap_params.h.

Member Function Documentation

◆ operator==()

bool superdex::ArapMaterialParams::operator== ( ArapMaterialParams const & ) const
default

Member Data Documentation

◆ psdStrategy

MaterialPsdStrategy superdex::ArapMaterialParams::psdStrategy = MaterialPsdStrategy::Projection

Strategy for ensuring positive semi-definite Hessian matrices.

See also
MaterialPsdStrategy

Definition at line 52 of file arap_params.h.

◆ stiffness

real superdex::ArapMaterialParams::stiffness = kDefaultArapStiffness

ARAP stiffness parameter (μ) [Pa].

Note
Must be greater than zero.

Definition at line 45 of file arap_params.h.


The documentation for this struct was generated from the following file: