|
BeamAdapter
|
Base class describing a Rod section which will define a set of beam elements. More...
#include <BaseRodSectionMaterial.h>
Public Member Functions | |
| 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 | |
| virtual bool | initSection () |
| Internal method to init the section. to be overidden by child. | |
Base class describing a Rod section which will define a set of beam elements.
This class provide an api to define a rod/wire section using physical and geometry parameters. The section will then be modellized by a set of beam elements. Inheriting class should provide the geometry structure:
The rod section is described by:
|
inlinenodiscard |
Returns the BeamSection.
|
override |
init method from BaseComponent API. Will call internal
|
inlineprotectedvirtual |
Internal method to init the section. to be overidden by child.
Reimplemented in RodMeshSection< DataTypes >, RodSpireSection< DataTypes >, and RodStraightSection< DataTypes >.