#include <AttachConstraint.h>


Public Types | |
| typedef DataTypes::VecCoord | VecCoord |
| typedef DataTypes::VecDeriv | VecDeriv |
| typedef DataTypes::Coord | Coord |
| typedef DataTypes::Deriv | Deriv |
| typedef DataTypes::Real | Real |
| typedef topology::PointSubset | SetIndex |
| typedef helper::vector < unsigned int > | SetIndexArray |
Public Member Functions | |
| AttachConstraint () | |
| virtual | ~AttachConstraint () |
| void | clearConstraints () |
| void | addConstraint (unsigned int index1, unsigned int index2) |
| void | init () |
| Initialization method called at graph modification, during bottom-up traversal. | |
| void | projectResponse (VecDeriv &dx1, VecDeriv &dx2) |
| Project dx to constrained space (dx models an acceleration). | |
| virtual void | projectVelocity (VecDeriv &v1, VecDeriv &v2) |
| Project v to constrained space (v models a velocity). | |
| virtual void | projectPosition (VecCoord &x1, VecCoord &x2) |
| Project x to constrained space (x models a position). | |
| void | applyConstraint (defaulttype::BaseMatrix *mat, unsigned int &offset) |
| Project the global Mechanical Matrix to constrained space using offset parameter. | |
| void | applyConstraint (defaulttype::BaseVector *vect, unsigned int &offset) |
| Project the global Mechanical Vector to constrained space using offset parameter. | |
| virtual void | draw () |
| Render internal data of this object, for debugging purposes. | |
| bool | isHolonomic () |
| says if the constraint is holonomic or not holonomic constraints can be processed using different methods such as : projection - reducing the degrees of freedom - simple lagrange multiplier process Non-holonomic constraints (like contact, friction. | |
| template<> | |
| void | projectPosition (Coord &x1, Coord &x2, bool freeRotations, unsigned index) |
| template<> | |
| void | projectPosition (Coord &x1, Coord &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectPosition (Coord &x1, Coord &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectPosition (Coord &x1, Coord &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectVelocity (Deriv &x1, Deriv &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectVelocity (Deriv &x1, Deriv &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectVelocity (Deriv &x1, Deriv &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectVelocity (Deriv &x1, Deriv &x2, bool freeRotations, unsigned) |
| template<> | |
| void | projectResponse (Deriv &dx1, Deriv &dx2, bool freeRotations, bool twoway, unsigned) |
| template<> | |
| void | projectResponse (Deriv &dx1, Deriv &dx2, bool freeRotations, bool twoway, unsigned) |
| template<> | |
| void | projectResponse (Deriv &dx1, Deriv &dx2, bool freeRotations, bool twoway, unsigned) |
| template<> | |
| void | projectResponse (Deriv &dx1, Deriv &dx2, bool freeRotations, bool twoway, unsigned) |
| template<> | |
| unsigned int | DerivConstrainedSize (bool freeRotations) |
| template<> | |
| unsigned int | DerivConstrainedSize (bool freeRotations) |
| template<> | |
| unsigned int | DerivConstrainedSize (bool freeRotations) |
| template<> | |
| unsigned int | DerivConstrainedSize (bool freeRotations) |
| template<> | |
| void | calcRestRotations () |
Data Fields | |
| Data< SetIndex > | f_indices1 |
| Data< SetIndex > | f_indices2 |
| Data< Real > | f_radius |
| Data< bool > | f_twoWay |
| Data< bool > | f_freeRotations |
| Data< bool > | f_lastFreeRotation |
| Data< bool > | f_restRotations |
| Data< defaulttype::Vector3 > | f_lastPos |
| Data< defaulttype::Vector3 > | f_lastDir |
| Data< bool > | f_clamp |
| helper::vector< bool > | activeFlags |
| helper::vector< Real > | lastDist |
| helper::vector< defaulttype::Quat > | restRotations |
Protected Member Functions | |
| void | projectPosition (Coord &x1, Coord &x2, bool, unsigned) |
| void | projectVelocity (Deriv &x1, Deriv &x2, bool, unsigned) |
| void | projectResponse (Deriv &dx1, Deriv &dx2, bool, bool twoway, unsigned) |
| void | calcRestRotations () |
Static Protected Member Functions | |
| static unsigned int | DerivConstrainedSize (bool) |
Protected Attributes | |
| AttachConstraintInternalData < DataTypes > | data |
| sofa::core::componentmodel::topology::BaseMeshTopology * | topology |
Definition at line 60 of file AttachConstraint.h.
| typedef DataTypes::Coord sofa::component::constraint::AttachConstraint< DataTypes >::Coord |
Reimplemented from sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 65 of file AttachConstraint.h.
| typedef DataTypes::Deriv sofa::component::constraint::AttachConstraint< DataTypes >::Deriv |
Reimplemented from sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 66 of file AttachConstraint.h.
| typedef DataTypes::Real sofa::component::constraint::AttachConstraint< DataTypes >::Real |
Reimplemented from sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 67 of file AttachConstraint.h.
| typedef topology::PointSubset sofa::component::constraint::AttachConstraint< DataTypes >::SetIndex |
Definition at line 68 of file AttachConstraint.h.
| typedef helper::vector<unsigned int> sofa::component::constraint::AttachConstraint< DataTypes >::SetIndexArray |
Definition at line 69 of file AttachConstraint.h.
| typedef DataTypes::VecCoord sofa::component::constraint::AttachConstraint< DataTypes >::VecCoord |
Reimplemented from sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 63 of file AttachConstraint.h.
| typedef DataTypes::VecDeriv sofa::component::constraint::AttachConstraint< DataTypes >::VecDeriv |
Reimplemented from sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 64 of file AttachConstraint.h.
| sofa::component::constraint::AttachConstraint< DataTypes >::AttachConstraint | ( | ) | [inline] |
Definition at line 297 of file AttachConstraint.inl.
| sofa::component::constraint::AttachConstraint< DataTypes >::~AttachConstraint | ( | ) | [inline, virtual] |
Definition at line 328 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< DataTypes >::addConstraint | ( | unsigned int | index1, | |
| unsigned int | index2 | |||
| ) | [inline] |
Definition at line 342 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, and sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::init().
| void sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint | ( | defaulttype::BaseVector * | , | |
| unsigned int & | ||||
| ) | [inline, virtual] |
Project the global Mechanical Vector to constrained space using offset parameter.
Reimplemented from sofa::core::componentmodel::behavior::BaseConstraint.
Definition at line 594 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::defaulttype::BaseVector::clear(), sofa::component::constraint::AttachConstraint< DataTypes >::DerivConstrainedSize(), sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp, sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation, and sofa::core::objectmodel::Data< T >::getValue().
| void sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint | ( | defaulttype::BaseMatrix * | , | |
| unsigned int & | ||||
| ) | [inline, virtual] |
Project the global Mechanical Matrix to constrained space using offset parameter.
Reimplemented from sofa::core::componentmodel::behavior::BaseConstraint.
Definition at line 558 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::defaulttype::BaseMatrix::clearRowCol(), sofa::component::constraint::AttachConstraint< DataTypes >::DerivConstrainedSize(), sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp, sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation, sofa::core::objectmodel::BaseObject::f_printLog, sofa::core::objectmodel::Data< T >::getValue(), and sofa::defaulttype::BaseMatrix::set().
| void sofa::component::constraint::AttachConstraint< Rigid3dTypes >::calcRestRotations | ( | ) | [inline] |
Definition at line 406 of file AttachConstraint.inl.
References cross(), sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getX0(), sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::mstate2, sofa::defaulttype::Vec< N, real >::normalize(), sofa::component::constraint::AttachConstraint< DataTypes >::restRotations, and sofa::helper::Quater< Real >::rotate().
| void sofa::component::constraint::AttachConstraint< DataTypes >::calcRestRotations | ( | ) | [inline, protected] |
Definition at line 401 of file AttachConstraint.inl.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::init().
| void sofa::component::constraint::AttachConstraint< DataTypes >::clearConstraints | ( | ) | [inline] |
Definition at line 333 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, and sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2.
| unsigned int sofa::component::constraint::AttachConstraint< defaulttype::Rigid2fTypes >::DerivConstrainedSize | ( | bool | freeRotations | ) | [inline] |
Definition at line 263 of file AttachConstraint.inl.
| unsigned int sofa::component::constraint::AttachConstraint< defaulttype::Rigid2dTypes >::DerivConstrainedSize | ( | bool | freeRotations | ) | [inline] |
Definition at line 254 of file AttachConstraint.inl.
| unsigned int sofa::component::constraint::AttachConstraint< defaulttype::Rigid3fTypes >::DerivConstrainedSize | ( | bool | freeRotations | ) | [inline] |
Definition at line 245 of file AttachConstraint.inl.
| unsigned int sofa::component::constraint::AttachConstraint< defaulttype::Rigid3dTypes >::DerivConstrainedSize | ( | bool | freeRotations | ) | [inline] |
Definition at line 236 of file AttachConstraint.inl.
| static unsigned int sofa::component::constraint::AttachConstraint< DataTypes >::DerivConstrainedSize | ( | bool | ) | [inline, static, protected] |
Definition at line 133 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint().
| void sofa::component::constraint::AttachConstraint< DataTypes >::draw | ( | ) | [inline, virtual] |
Render internal data of this object, for debugging purposes.
Reimplemented from sofa::core::objectmodel::BaseObject.
Definition at line 622 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::core::objectmodel::BaseObject::getContext(), sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getX(), sofa::helper::gl::glVertexT(), sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::mstate1, and sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::mstate2.
| void sofa::component::constraint::AttachConstraint< DataTypes >::init | ( | void | ) | [inline, virtual] |
Initialization method called at graph modification, during bottom-up traversal.
Reimplemented from sofa::core::objectmodel::BaseObject.
Definition at line 354 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::component::constraint::AttachConstraint< DataTypes >::addConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::calcRestRotations(), sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_radius, sofa::component::constraint::AttachConstraint< DataTypes >::f_restRotations, sofa::core::objectmodel::BaseObject::getContext(), sofa::core::objectmodel::BaseContext::getMeshTopology(), sofa::core::objectmodel::Data< T >::getValue(), sofa::core::componentmodel::behavior::MechanicalState< TDataTypes >::getX(), sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::mstate1, sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::mstate2, norm(), sofa::component::topology::PointSubset::setRemovalFunction(), sofa::component::topology::PointSubset::setRemovalParameter(), sofa::component::topology::PointSubset::setTestFunction(), sofa::component::topology::PointSubset::setTestParameter(), and sofa::component::constraint::AttachConstraint< DataTypes >::topology.
| bool sofa::component::constraint::AttachConstraint< DataTypes >::isHolonomic | ( | ) | [inline, virtual] |
says if the constraint is holonomic or not holonomic constraints can be processed using different methods such as : projection - reducing the degrees of freedom - simple lagrange multiplier process Non-holonomic constraints (like contact, friction.
..) need more specific treatments
Reimplemented from sofa::core::componentmodel::behavior::BaseConstraint.
Definition at line 116 of file AttachConstraint.h.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2fTypes >::projectPosition | ( | Coord & | x1, | |
| Coord & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 95 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2dTypes >::projectPosition | ( | Coord & | x1, | |
| Coord & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 87 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3fTypes >::projectPosition | ( | Coord & | x1, | |
| Coord & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 79 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3dTypes >::projectPosition | ( | Coord & | x1, | |
| Coord & | x2, | |||
| bool | freeRotations, | |||
| unsigned | index | |||
| ) | [inline] |
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition | ( | Coord & | x1, | |
| Coord & | x2, | |||
| bool | , | |||
| unsigned | ||||
| ) | [inline, protected] |
Definition at line 119 of file AttachConstraint.h.
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition | ( | VecCoord & | x1, | |
| VecCoord & | x2 | |||
| ) | [inline, virtual] |
Project x to constrained space (x models a position).
This method must be implemented by the component, and is usually called by the generic Constraint::projectPosition() method.
Implements sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 429 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp, sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastDir, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastPos, sofa::core::objectmodel::BaseObject::f_printLog, ftl::Type::get(), sofa::core::objectmodel::Data< T >::getValue(), sofa::component::constraint::AttachConstraint< DataTypes >::lastDist, and sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::projectPosition().
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2fTypes >::projectResponse | ( | Deriv & | dx1, | |
| Deriv & | dx2, | |||
| bool | freeRotations, | |||
| bool | twoway, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 211 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2dTypes >::projectResponse | ( | Deriv & | dx1, | |
| Deriv & | dx2, | |||
| bool | freeRotations, | |||
| bool | twoway, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 186 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3fTypes >::projectResponse | ( | Deriv & | dx1, | |
| Deriv & | dx2, | |||
| bool | freeRotations, | |||
| bool | twoway, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 161 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3dTypes >::projectResponse | ( | Deriv & | dx1, | |
| Deriv & | dx2, | |||
| bool | freeRotations, | |||
| bool | twoway, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 136 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse | ( | Deriv & | dx1, | |
| Deriv & | dx2, | |||
| bool | , | |||
| bool | twoway, | |||
| unsigned | ||||
| ) | [inline, protected] |
Definition at line 121 of file AttachConstraint.h.
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse | ( | VecDeriv & | dx1, | |
| VecDeriv & | dx2 | |||
| ) | [inline, virtual] |
Project dx to constrained space (dx models an acceleration).
This method must be implemented by the component, and is usually called by the generic Constraint::projectResponse() method.
Implements sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 520 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp, sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation, sofa::core::objectmodel::BaseObject::f_printLog, sofa::component::constraint::AttachConstraint< DataTypes >::f_twoWay, sofa::core::objectmodel::Data< T >::getValue(), and sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::projectResponse().
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2fTypes >::projectVelocity | ( | Deriv & | x1, | |
| Deriv & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 128 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid2dTypes >::projectVelocity | ( | Deriv & | x1, | |
| Deriv & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 120 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3fTypes >::projectVelocity | ( | Deriv & | x1, | |
| Deriv & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 112 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< defaulttype::Rigid3dTypes >::projectVelocity | ( | Deriv & | x1, | |
| Deriv & | x2, | |||
| bool | freeRotations, | |||
| unsigned | ||||
| ) | [inline] |
Definition at line 103 of file AttachConstraint.inl.
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity | ( | Deriv & | x1, | |
| Deriv & | x2, | |||
| bool | , | |||
| unsigned | ||||
| ) | [inline, protected] |
Definition at line 120 of file AttachConstraint.h.
| void sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity | ( | VecDeriv & | v1, | |
| VecDeriv & | v2 | |||
| ) | [inline, virtual] |
Project v to constrained space (v models a velocity).
This method must be implemented by the component, and is usually called by the generic Constraint::projectVelocity() method.
Implements sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >.
Definition at line 492 of file AttachConstraint.inl.
References sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags, sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp, sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1, sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2, sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation, sofa::core::objectmodel::BaseObject::f_printLog, sofa::core::objectmodel::Data< T >::getValue(), and sofa::core::componentmodel::behavior::PairInteractionConstraint< DataTypes >::projectVelocity().
| helper::vector<bool> sofa::component::constraint::AttachConstraint< DataTypes >::activeFlags |
Definition at line 89 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::draw(), sofa::component::constraint::AttachConstraint< DataTypes >::init(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
AttachConstraintInternalData<DataTypes> sofa::component::constraint::AttachConstraint< DataTypes >::data [protected] |
Definition at line 73 of file AttachConstraint.h.
| Data<bool> sofa::component::constraint::AttachConstraint< DataTypes >::f_clamp |
Definition at line 87 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
| Data<bool> sofa::component::constraint::AttachConstraint< DataTypes >::f_freeRotations |
Definition at line 82 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
| Data<SetIndex> sofa::component::constraint::AttachConstraint< DataTypes >::f_indices1 |
Definition at line 78 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::addConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::clearConstraints(), sofa::component::constraint::AttachConstraint< DataTypes >::draw(), sofa::component::constraint::AttachConstraint< DataTypes >::init(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
| Data<SetIndex> sofa::component::constraint::AttachConstraint< DataTypes >::f_indices2 |
Definition at line 79 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::addConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::calcRestRotations(), sofa::component::constraint::AttachConstraint< DataTypes >::clearConstraints(), sofa::component::constraint::AttachConstraint< DataTypes >::draw(), sofa::component::constraint::AttachConstraint< DataTypes >::init(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
| Data<defaulttype::Vector3> sofa::component::constraint::AttachConstraint< DataTypes >::f_lastDir |
Definition at line 86 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition().
| Data<bool> sofa::component::constraint::AttachConstraint< DataTypes >::f_lastFreeRotation |
Definition at line 83 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::applyConstraint(), sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition(), sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectVelocity().
| Data<defaulttype::Vector3> sofa::component::constraint::AttachConstraint< DataTypes >::f_lastPos |
Definition at line 85 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition().
| Data<Real> sofa::component::constraint::AttachConstraint< DataTypes >::f_radius |
Definition at line 80 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::init().
| Data<bool> sofa::component::constraint::AttachConstraint< DataTypes >::f_restRotations |
Definition at line 84 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::init().
| Data<bool> sofa::component::constraint::AttachConstraint< DataTypes >::f_twoWay |
Definition at line 81 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::projectResponse().
| helper::vector<Real> sofa::component::constraint::AttachConstraint< DataTypes >::lastDist |
Definition at line 90 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition().
| helper::vector<defaulttype::Quat> sofa::component::constraint::AttachConstraint< DataTypes >::restRotations |
Definition at line 91 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::calcRestRotations(), and sofa::component::constraint::AttachConstraint< DataTypes >::projectPosition().
sofa::core::componentmodel::topology::BaseMeshTopology* sofa::component::constraint::AttachConstraint< DataTypes >::topology [protected] |
Definition at line 75 of file AttachConstraint.h.
Referenced by sofa::component::constraint::AttachConstraint< DataTypes >::init().
1.5.7.1