|
|
| SOFA_CLASS (WireRestShape, core::objectmodel::BaseComponent) |
|
| WireRestShape () |
| | Default Constructor.
|
|
virtual | ~WireRestShape ()=default |
| | Default Destructor.
|
|
void | init () override |
|
void | getRestTransformOnX (Transform &global_H_local, const Real x) |
| | This function is called by the force field to evaluate the rest position of each beam.
|
| const BeamSection & | getBeamSectionAtX (const Real x_curv) const |
| | Returns the BeamSection.
|
| void | getInterpolationParametersAtX (const Real x_curv, Real &_A, Real &_Iy, Real &_Iz, Real &_Asy, Real &_Asz, Real &_J) const |
| | Returns the BeamSection data depending on the beam position at the given curvilinear abscissa, will call.
|
| void | getMechanicalParametersAtX (const Real x_curv, Real &youngModulus, Real &cPoisson, Real &massDensity) const |
| | Returns the Young modulus, Poisson's ratio and massDensity coefficient of the section at the given curvilinear abscissa, will call.
|
| void | getSamplingParameters (type::vector< Real > &xP_noticeable, type::vector< sofa::Size > &nbP_density) const |
|
void | computeOrientation (const Vec3 &AB, const Quat &Q, Quat &result) |
| | Functions enabling to load and use a geometry given from OBJ external file.
|
|
Real | getLength () |
|
void | getMechanicalSampling (Real &dx, const Real x_localcurv_abs) |
|
void | getCollisionSampling (Real &dx, const Real x_curv) |
|
void | getNumberOfCollisionSegment (Real &dx, sofa::Size &numLines) |
|
sofa::Size | getTotalNumberOfBeams () const |
|
Real | getReleaseCurvAbs () const |
| | For coils: a part of the coil instrument can be brokenIn2 (by default the point of release is the end of the straight length).
|
|
void | releaseWirePart () |
template<class DataTypes>
class beamadapter::WireRestShape< DataTypes >
Describe the shape functions on multiple segments.
Describe the full shape of a Wire with a given set of
- See also
- BaseRodSectionMaterial. The wire is discretized by a set of beams (given by the keyPoints and the relatives Beam density)
-
d_keyPoints and @d_density are computed by method
-
initLengths using the set of rod sections description. This component compute the beam discretization and the shape functions on multiple segments using curvilinear abscissa.