|
| SOFA_CLASS2 (SOFA_TEMPLATE2(PersistentContactRigidMapping, TIn, TOut), SOFA_TEMPLATE2(RigidMapping, TIn, TOut), PersistentContactMapping) |
|
| PersistentContactRigidMapping () |
|
| ~PersistentContactRigidMapping () override |
|
void | beginAddContactPoint () override |
| Reset the Mapping. More...
|
|
int | addContactPointFromInputMapping (const sofa::type::Vec3 &pos, std::vector< std::pair< int, double > > &baryCoords) |
| Add point in the duplicated mapping without using barycentric mappers. More...
|
|
int | keepContactPointFromInputMapping (const int index) override |
| Maintains a remaining contact point in the duplicated mapping without using barycentric mappers. More...
|
|
void | init () override |
|
void | bwdInit () override |
|
void | reset () override |
|
void | handleEvent (sofa::core::objectmodel::Event *) override |
|
void | storeFreePositionAndDx () |
|
void | applyLinearizedPosition () |
|
void | applyPositionAndFreePosition () override |
| Apply position and freeposition. More...
|
|
void | applyJT (const core::ConstraintParams *cparams, Data< InMatrixDeriv > &out, const Data< OutMatrixDeriv > &in) |
|
| SOFA_CLASS (SOFA_TEMPLATE2(RigidMapping, TIn, TOut), SOFA_TEMPLATE2(core::Mapping, TIn, TOut)) |
|
sofa::Size | addPoint (const OutCoord &c) |
|
sofa::Size | addPoint (const OutCoord &c, sofa::Index indexFrom) |
|
void | init () override |
|
void | reinit () override |
|
void | apply (const core::MechanicalParams *mparams, Data< OutVecCoord > &out, const Data< InVecCoord > &in) override |
|
void | applyJ (const core::MechanicalParams *mparams, Data< OutVecDeriv > &out, const Data< InVecDeriv > &in) override |
|
void | applyJT (const core::MechanicalParams *mparams, Data< InVecDeriv > &out, const Data< OutVecDeriv > &in) override |
|
void | applyJT (const core::ConstraintParams *cparams, Data< InMatrixDeriv > &out, const Data< OutMatrixDeriv > &in) override |
|
void | applyDJT (const core::MechanicalParams *mparams, core::MultiVecDerivId parentForce, core::ConstMultiVecDerivId childForce) override |
|
const sofa::linearalgebra::BaseMatrix * | getJ () override |
|
virtual const type::vector< sofa::linearalgebra::BaseMatrix * > * | getJs () override |
|
void | updateK (const core::MechanicalParams *mparams, core::ConstMultiVecDerivId childForceId) override |
|
void | updateK (const core::MechanicalParams *, core::ConstMultiVecDerivId) |
|
void | updateK (const core::MechanicalParams *mparams, core::ConstMultiVecDerivId childForceId) |
|
const linearalgebra::BaseMatrix * | getK () override |
|
const linearalgebra::BaseMatrix * | getK () |
|
const linearalgebra::BaseMatrix * | getK () |
|
void | buildGeometricStiffnessMatrix (sofa::core::GeometricStiffnessMatrix *matrices) override |
|
void | draw (const core::visual::VisualParams *vparams) override |
|
void | clear (sofa::Size reserve=0) |
|
void | setRepartition (sofa::Size value) |
|
void | setRepartition (sofa::type::vector< sofa::Size > values) |
|
void | parse (core::objectmodel::BaseObjectDescription *arg) override |
|
void | getGlobalToLocalCoords (OutCoord &result, const InCoord &xfrom, const OutCoord &xto) |
|
void | getGlobalToLocalCoords (OutCoord &result, const InCoord &xFrom, const OutCoord &xTo) |
|
void | updateOmega (typename InDeriv::Rot &omega, const OutDeriv &out, const OutCoord &rotatedpoint) |
|
void | updateOmega (typename InDeriv::Rot &omega, const OutDeriv &out, const OutCoord &rotatedpoint) |
|
| SOFA_ABSTRACT_CLASS (SOFA_TEMPLATE2(Mapping, TIn, TOut), BaseMapping) |
|
virtual void | setModels (State< In > *from, State< Out > *to) |
|
bool | setFrom (BaseState *from) override |
|
bool | setTo (BaseState *to) override |
|
void | setPathInputObject (const std::string &o) |
|
void | setPathOutputObject (const std::string &o) |
|
State< In > * | getFromModel () |
|
State< Out > * | getToModel () |
|
type::vector< BaseState * > | getFrom () override |
|
type::vector< BaseState * > | getTo () override |
|
void | apply (const MechanicalParams *mparams, MultiVecCoordId outPos, ConstMultiVecCoordId inPos) override |
|
virtual void | apply (const MechanicalParams *mparams, OutDataVecCoord &out, const InDataVecCoord &in)=0 |
|
void | applyJ (const MechanicalParams *mparams, MultiVecDerivId outVel, ConstMultiVecDerivId inVel) override |
|
virtual void | applyJ (const MechanicalParams *mparams, OutDataVecDeriv &out, const InDataVecDeriv &in)=0 |
|
void | applyJT (const MechanicalParams *mparams, MultiVecDerivId inForce, ConstMultiVecDerivId outForce) override |
|
virtual void | applyJT (const MechanicalParams *mparams, InDataVecDeriv &out, const OutDataVecDeriv &in)=0 |
|
void | applyJT (const ConstraintParams *cparams, MultiMatrixDerivId inConst, ConstMultiMatrixDerivId outConst) override |
|
virtual void | applyJT (const ConstraintParams *, InDataMatrixDeriv &, const OutDataMatrixDeriv &) |
|
void | computeAccFromMapping (const MechanicalParams *mparams, MultiVecDerivId outAcc, ConstMultiVecDerivId inVel, ConstMultiVecDerivId inAcc) override |
|
virtual void | computeAccFromMapping (const MechanicalParams *, OutDataVecDeriv &, const InDataVecDeriv &, const InDataVecDeriv &) |
|
virtual type::vector< behavior::BaseMechanicalState * > | getMechFrom () override |
|
virtual type::vector< behavior::BaseMechanicalState * > | getMechTo () override |
|
sofa::linearalgebra::BaseMatrix * | createMappedMatrix (const behavior::BaseMechanicalState *state1, const behavior::BaseMechanicalState *state2, func_createMappedMatrix) override |
|
void | disable () override |
|
| SOFA_ABSTRACT_CLASS (BaseMapping, objectmodel::BaseObject) |
|
virtual bool | isLinear () const |
|
virtual bool | isMechanical () const |
|
virtual bool | sameTopology () const |
|
virtual const sofa::linearalgebra::BaseMatrix * | getJ (const MechanicalParams *) |
|
bool | insertInNode (objectmodel::BaseNode *node) override |
|
bool | removeInNode (objectmodel::BaseNode *node) override |
|
virtual bool | areForcesMapped () const |
|
virtual bool | areConstraintsMapped () const |
|
virtual bool | areMassesMapped () const |
|
virtual bool | areMatricesMapped () const |
|
virtual void | setForcesMapped (bool b) |
|
virtual void | setConstraintsMapped (bool b) |
|
virtual void | setMassesMapped (bool b) |
|
virtual void | setMatricesMapped (bool b) |
|
virtual void | setNonMechanical () |
|
virtual bool | areForcesMapped () const |
|
virtual bool | areConstraintsMapped () const |
|
virtual bool | areMassesMapped () const |
|
virtual bool | areMatricesMapped () const |
|
virtual void | setForcesMapped (bool b) |
|
virtual void | setConstraintsMapped (bool b) |
|
virtual void | setMassesMapped (bool b) |
|
virtual void | setMatricesMapped (bool b) |
|
virtual void | setNonMechanical () |
|
| SOFA_CLASS (BaseObject, Base) |
|
virtual void | computeBBox (const core::ExecParams *, bool=false) |
|
void | setSrc (const std::string &v, std::vector< std::string > *attributeList=nullptr) |
|
void | setSrc (const std::string &v, const BaseObject *loader, std::vector< std::string > *attributeList=nullptr) |
|
Base * | findLinkDestClass (const BaseClass *destType, const std::string &path, const BaseLink *link) override |
|
virtual std::string | getPathName () const override |
|
SReal | getTime () const |
|
const BaseContext * | getContext () const |
|
BaseContext * | getContext () |
|
const BaseObject * | getMaster () const |
|
BaseObject * | getMaster () |
|
const VecSlaves & | getSlaves () const |
|
BaseObject * | getSlave (const std::string &name) const |
|
virtual void | addSlave (BaseObject::SPtr s) |
|
virtual void | removeSlave (BaseObject::SPtr s) |
|
virtual void | handleTopologyChange () |
|
virtual void | handleTopologyChange (core::topology::Topology *t) |
|
void | updateInternal () |
|
virtual void | storeResetState () |
|
virtual void | cleanup () |
|
SReal | getTime () const |
|
virtual const BaseClass * | getClass () const |
|
void | addDeprecatedAttribute (lifecycle::DeprecatedData *attribute) |
|
void | addUpdateCallback (const std::string &name, std::initializer_list< BaseData * > inputs, std::function< sofa::core::objectmodel::ComponentState(const DataTracker &)> function, std::initializer_list< BaseData * > outputs) |
|
void | addOutputsToCallback (const std::string &name, std::initializer_list< BaseData * > outputs) |
|
const std::string & | getName () const |
|
void | setName (const std::string &n) |
|
void | setName (const std::string &n, int counter) |
|
std::string | getTypeName () const |
|
virtual std::string | getClassName () const |
|
virtual std::string | getTemplateName () const final |
|
std::string | getNameSpaceName () const |
|
void | setDefinitionSourceFileName (const std::string &sourceFileName) |
|
const std::string & | getDefinitionSourceFileName () const |
|
void | setDefinitionSourceFilePos (const int) |
|
int | getDefinitionSourceFilePos () const |
|
void | setInstanciationSourceFileName (const std::string &sourceFileName) |
|
const std::string & | getInstanciationSourceFileName () const |
|
void | setInstanciationSourceFilePos (const int) |
|
int | getInstanciationSourceFilePos () const |
|
void | addMessage (const sofa::helper::logging::Message &m) const |
|
size_t | countLoggedMessages (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
const std::deque< sofa::helper::logging::Message > & | getLoggedMessages () const |
|
const std::string | getLoggedMessagesAsString (sofa::helper::logging::Message::TypeSet t=sofa::helper::logging::Message::AnyTypes) const |
|
void | clearLoggedMessages () const |
|
bool | notMuted () const |
|
const sofa::core::objectmodel::TagSet & | getTags () const |
|
bool | hasTag (Tag t) const |
|
void | addTag (Tag t) |
|
void | removeTag (Tag t) |
|
ComponentState | getComponentState () const |
|
bool | isComponentStateValid () const |
|
bool | isComponentStateInvalid () const |
|
| SOFA_ATTRIBUTE_DEPRECATED__TOBASECONSTRAINT () virtual const behavior |
|
virtual bool | parseField (const std::string &attribute, const std::string &value) |
|
virtual bool | hasField (const std::string &attribute) const |
|
void | parseFields (const std::list< std::string > &str) |
|
virtual void | parseFields (const std::map< std::string, std::string * > &str) |
|
void | writeDatas (std::map< std::string, std::string * > &str)=delete |
|
void | writeDatas (std::ostream &out, const std::string &separator=" ") |
|
BaseData * | findData (const std::string &name) const |
|
std::vector< BaseData * > | findGlobalField (const std::string &name) const |
|
BaseLink * | findLink (const std::string &name) const |
|
std::vector< BaseLink * > | findLinks (const std::string &name) const |
|
virtual void | updateLinks (bool logErrors=true) |
|
BaseData::BaseInitData | initData (::sofa::core::objectmodel::Data< T > *field, const char *name, const char *help, ::sofa::core::objectmodel::BaseData::DataFlags dataflags) |
|
BaseData::BaseInitData | initData (Data< T > *field, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
|
Data< T >::InitData | initData (Data< T > *field, const T &value, const char *name, const char *help, bool isDisplayed=true, bool isReadOnly=false) |
|
void | addData (BaseData *f, const std::string &name) |
|
void | addData (BaseData *f) |
|
void | removeData (BaseData *f) |
|
void | addAlias (BaseData *field, const char *alias) |
|
void | addLink (BaseLink *l) |
|
void | addAlias (BaseLink *link, const char *alias) |
|
const VecData & | getDataFields () const |
|
const MapData & | getDataAliases () const |
|
const VecLink & | getLinks () const |
|
const MapLink & | getLinkAliases () const |
|
virtual bool | findDataLinkDest (BaseData *&ptr, const std::string &path, const BaseLink *link) |
|
bool | findLinkDest (T *&ptr, const std::string &path, const BaseLink *link) |
|
const sofa::core::objectmodel::TagSet & | getTags () const |
|
bool | hasTag (Tag t) const |
|
void | addTag (Tag t) |
|
void | removeTag (Tag t) |
|
ComponentState | getComponentState () const |
|
bool | isComponentStateValid () const |
|
bool | isComponentStateInvalid () const |
|
| SOFA_ATTRIBUTE_DEPRECATED__TOBASECONSTRAINT () virtual const behavior |
|
| NonLinearMappingData () |
|
| NonLinearMappingData () |
|
| PersistentContactMapping () |
| Default Constructor. More...
|
|