SOFA API  ca70b0f0
Open source framework for multi-physics simuation
sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut > Class Template Reference

#include <LineSetSkinningMapping.h>

Inheritance diagram for sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >:

Protected Attributes

sofa::core::topology::BaseMeshTopologym_topology
 
Data< unsigned int > nvNeighborhood
 Set the neighborhood line level. More...
 
Data< unsigned int > numberInfluencedLines
 Set the number of most influenced lines by each vertice. More...
 
Data< int > weightCoef
 Set the coefficient used to compute the weight of lines. More...
 

Public Member Functions

 SOFA_CLASS (SOFA_TEMPLATE2(LineSetSkinningMapping, TIn, TOut), SOFA_TEMPLATE2(LinearMapping, TIn, TOut))
 
void init () override
 
void reinit () override
 
void apply (const sofa::core::MechanicalParams *mparams, OutDataVecCoord &out, const InDataVecCoord &in) override
 
void applyJ (const sofa::core::MechanicalParams *mparams, OutDataVecDeriv &out, const InDataVecDeriv &in) override
 
void applyJT (const sofa::core::MechanicalParams *mparams, InDataVecDeriv &out, const OutDataVecDeriv &in) override
 
void applyJT (const sofa::core::ConstraintParams *mparams, InDataMatrixDeriv &out, const OutDataMatrixDeriv &in) override
 
void draw (const core::visual::VisualParams *vparams) override
 
- Public Member Functions inherited from sofa::component::mapping::linear::crtp::CRTPLinearMapping< TMapping >
 SOFA_CLASS (SOFA_TEMPLATE(CRTPLinearMapping, TMapping), TMapping)
 
virtual bool isLinear () const override
 

Protected Member Functions

 LineSetSkinningMapping ()
 
virtual ~LineSetSkinningMapping ()
 

Attribute details

◆ m_topology

template<class TIn , class TOut >
sofa::core::topology::BaseMeshTopology* sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::m_topology
protected

◆ numberInfluencedLines

template<class TIn , class TOut >
Data<unsigned int> sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::numberInfluencedLines
protected

Set the number of most influenced lines by each vertice.

Set the number of most influenced lines by each vertice

◆ nvNeighborhood

template<class TIn , class TOut >
Data<unsigned int> sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::nvNeighborhood
protected

Set the neighborhood line level.

Set the neighborhood line level

◆ weightCoef

template<class TIn , class TOut >
Data<int> sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::weightCoef
protected

Set the coefficient used to compute the weight of lines.

Set the coefficient used to compute the weight of lines

Constructor details

◆ LineSetSkinningMapping()

template<class TIn , class TOut >
sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::LineSetSkinningMapping ( )
inlineprotected

◆ ~LineSetSkinningMapping()

template<class TIn , class TOut >
virtual sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::~LineSetSkinningMapping ( )
inlineprotectedvirtual

Function details

◆ apply()

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::apply ( const sofa::core::MechanicalParams mparams,
OutDataVecCoord out,
const InDataVecCoord in 
)
override

◆ applyJ()

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::applyJ ( const sofa::core::MechanicalParams mparams,
OutDataVecDeriv out,
const InDataVecDeriv in 
)
override

◆ applyJT() [1/2]

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::applyJT ( const sofa::core::ConstraintParams mparams,
InDataMatrixDeriv out,
const OutDataMatrixDeriv in 
)
override

◆ applyJT() [2/2]

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::applyJT ( const sofa::core::MechanicalParams mparams,
InDataVecDeriv out,
const OutDataVecDeriv in 
)
override

◆ draw()

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::draw ( const core::visual::VisualParams vparams)
override

◆ init()

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::init ( void  )
override

◆ reinit()

template<class TIn , class TOut >
void sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::reinit
override

◆ SOFA_CLASS()

template<class TIn , class TOut >
sofa::component::mapping::linear::LineSetSkinningMapping< TIn, TOut >::SOFA_CLASS ( SOFA_TEMPLATE2(LineSetSkinningMapping< TIn, TOut >, TIn, TOut)  ,
SOFA_TEMPLATE2(LinearMapping, TIn, TOut)   
)