|
BeamAdapter
|
Specialization class of. More...
#include <RodStraightSection.h>
Public Types | |
| using | Real = typename DataTypes::Real |
| using | Transform = typename sofa::defaulttype::SolidTypes<Real>::Transform |
| using | Quat = sofa::type::Quat<Real> |
| Public Types inherited from BaseRodSectionMaterial< DataTypes > | |
| using | Coord = typename DataTypes::Coord |
| using | Real = typename Coord::value_type |
| using | Transform = typename sofa::defaulttype::SolidTypes<Real>::Transform |
| using | Vec3 = sofa::type::Vec<3, Real> |
| using | Quat = sofa::type::Quat<Real> |
| using | Size = sofa::Size |
Public Member Functions | |
| SOFA_CLASS (SOFA_TEMPLATE(RodStraightSection, DataTypes), SOFA_TEMPLATE(BaseRodSectionMaterial, DataTypes)) | |
| RodStraightSection () | |
| Default Constructor. | |
| void | getRestTransformOnX (Transform &global_H_local, const Real x_used, const Real x_start) override |
| Override method to get the rest position of the beam. In this implementation, it will basically returns Vec3(x_start + x_used, 0 0). | |
| Public Member Functions inherited from BaseRodSectionMaterial< DataTypes > | |
| SOFA_CLASS (SOFA_TEMPLATE(BaseRodSectionMaterial, DataTypes), core::objectmodel::BaseComponent) | |
| BaseRodSectionMaterial () | |
| Default Constructor. | |
| void | init () override |
| init method from BaseComponent API. Will call internal | |
| auto | getNbVisualEdges () const |
| Returns the number of visual edges of this section. To be set or computed by child. | |
| auto | getNbCollisionEdges () const |
| Returns the number of collision edges of this section. To be set or computed by child. | |
| auto | getNbBeams () const |
| Returns the number of collision edges of this section. To be set or computed by child. | |
| auto | getLength () const |
| Returns the total length of this section. To be set or computed by child. | |
| const BeamSection & | getBeamSection () const |
| Returns the BeamSection. | |
| void | getInterpolationParameters (Real &_A, Real &_Iy, Real &_Iz, Real &_Asy, Real &_Asz, Real &_J) const |
| Returns the mass density and the BeamSection of this section. | |
| void | getMechanicalParameters (Real &youngModulus, Real &cPoisson, Real &massDensity) const |
| Returns the Young modulus, Poisson's and massDensity coefficient of this section. | |
| virtual void | getRestTransformOnX (Transform &global_H_local, const Real x_used, const Real x_start) |
| This function is called to get the rest position of the beam depending on the current curved abscisse given in parameter. | |
Protected Member Functions | |
| bool | initSection () override |
| Internal method to init the section. Called by. | |
Additional Inherited Members | |
| Public Attributes inherited from BaseRodSectionMaterial< DataTypes > | |
| Data< Real > | d_poissonRatio |
| Data defining the mehcanical Poisson ratio of this section. | |
| Data< Real > | d_youngModulus |
| Data defining the mehcanical Young Modulus of this section. | |
| Data< Real > | d_massDensity |
| Data defining the mehcanical mass density of this section. | |
| Data< Real > | d_radius |
| Data defining the geometry radius of this section. | |
| Data< Real > | d_innerRadius |
| Data defining the geometry internal radius of this section is hollow. | |
| Data< Real > | d_length |
| Data defining the geometry length of this section. | |
| Data< Size > | d_nbBeams |
| Data defining the number of (mechanical) beams composing this section. | |
| Data< Size > | d_nbEdgesVisu |
| Data defining the number of visual edges composing this section. | |
| Data< Size > | d_nbEdgesCollis |
| Data defining the number of collision edges composing this section. | |
Specialization class of.
This class will describe a rod straight section which will parametrized only using the
|
overrideprotectedvirtual |
Internal method to init the section. Called by.
Reimplemented from BaseRodSectionMaterial< DataTypes >.