Skip to content

Class uipc::core::ContactSystemFeature

ClassList > uipc > core > ContactSystemFeature

Inherits the following classes: uipc::core::Feature

Public Static Attributes

Type Name
constexpr std::string_view FeatureName = = "contact_system"

Public Functions

Type Name
ContactSystemFeature (S< ContactSystemFeatureOverrider > overrider)
void compute_contact ()
void contact_energy (geometry::Geometry & energy_geo)
return the contact energy of the system.
void contact_energy (std::string_view prim_type, geometry::Geometry & energy)
void contact_energy (const constitution::IConstitution & c, geometry::Geometry & energy)
void contact_gradient (geometry::Geometry & vert_grad)
return all contact gradients for the vertices in the system.
void contact_gradient (std::string_view prim_type, geometry::Geometry & vert_grad)
void contact_gradient (const constitution::IConstitution & c, geometry::Geometry & vert_grad)
void contact_hessian (geometry::Geometry & vert_hess)
return all contact hessians for the vertices in the system.
void contact_hessian (std::string_view prim_type, geometry::Geometry & vert_hess)
void contact_hessian (const constitution::IConstitution & c, geometry::Geometry & vert_hess)
vector< std::string > contact_primitive_types () const

Public Functions inherited from uipc::core::IFeature

See uipc::core::IFeature

Type Name
std::string_view name () const
std::string_view type_name () const
virtual ~IFeature () = default

Protected Functions inherited from uipc::core::IFeature

See uipc::core::IFeature

Type Name
virtual void do_on_required () const = 0
virtual std::string_view get_name () const = 0
virtual std::string_view get_type_name () const = 0

Public Static Attributes Documentation

variable FeatureName

constexpr std::string_view uipc::core::ContactSystemFeature::FeatureName;

Public Functions Documentation

function ContactSystemFeature

uipc::core::ContactSystemFeature::ContactSystemFeature (
    S< ContactSystemFeatureOverrider > overrider
) 

function compute_contact

void uipc::core::ContactSystemFeature::compute_contact () 

function contact_energy [1/3]

return the contact energy of the system.

void uipc::core::ContactSystemFeature::contact_energy (
    geometry::Geometry & energy_geo
) 

Parameters:

  • energy_geo

function contact_energy [2/3]

void uipc::core::ContactSystemFeature::contact_energy (
    std::string_view prim_type,
    geometry::Geometry & energy
) 

function contact_energy [3/3]

void uipc::core::ContactSystemFeature::contact_energy (
    const constitution::IConstitution & c,
    geometry::Geometry & energy
) 

function contact_gradient [1/3]

return all contact gradients for the vertices in the system.

void uipc::core::ContactSystemFeature::contact_gradient (
    geometry::Geometry & vert_grad
) 

Parameters:

  • vert_grad

function contact_gradient [2/3]

void uipc::core::ContactSystemFeature::contact_gradient (
    std::string_view prim_type,
    geometry::Geometry & vert_grad
) 

function contact_gradient [3/3]

void uipc::core::ContactSystemFeature::contact_gradient (
    const constitution::IConstitution & c,
    geometry::Geometry & vert_grad
) 

function contact_hessian [1/3]

return all contact hessians for the vertices in the system.

void uipc::core::ContactSystemFeature::contact_hessian (
    geometry::Geometry & vert_hess
) 

Parameters:

  • vert_hess

function contact_hessian [2/3]

void uipc::core::ContactSystemFeature::contact_hessian (
    std::string_view prim_type,
    geometry::Geometry & vert_hess
) 

function contact_hessian [3/3]

void uipc::core::ContactSystemFeature::contact_hessian (
    const constitution::IConstitution & c,
    geometry::Geometry & vert_hess
) 

function contact_primitive_types

vector< std::string > uipc::core::ContactSystemFeature::contact_primitive_types () const


The documentation for this class was generated from the following file include/uipc/core/contact_system_feature.h