contour 1s flexible with NURBS parametrization More...
#include <nurbs_curve_1s.h>
Public Member Functions | |
NurbsCurve1s (const std::string &name) | |
constructor More... | |
virtual | ~NurbsCurve1s () |
destructor | |
virtual std::string | getType () const |
virtual void | computeRootFunctionPosition (MBSim::ContourFrame *frame) |
virtual void | computeRootFunctionFirstTangent (MBSim::ContourFrame *frame) |
virtual void | computeRootFunctionNormal (MBSim::ContourFrame *frame) |
virtual void | computeRootFunctionSecondTangent (MBSim::ContourFrame *frame) |
virtual MBSim::ContactKinematics * | findContactPairingWith (std::string type0, std::string type1) |
void | setNormalRotationGrid (fmatvec::Vec normal_) |
void | initContourFromBody (InitStage stage) |
initialize NURBS curve More... | |
void | computeCurveTranslations (bool update=false) |
interpolates the translations with node-data from body | |
void | computeCurveVelocities (bool update=false) |
interpolates the velocities with the node-data from the body | |
void | computeCurveAngularVelocities (bool update=false) |
interpolates the angular velocities with the node-data from the body | |
void | computeCurveJacobians (bool trans=true, bool rot=true, bool update=false) |
interpolates the Jacobians of translation with the node-data from the body More... | |
![]() | |
Contour1s (const std::string &name) | |
constructor More... | |
void | init (InitStage stage_) |
void | plot () |
virtual fmatvec::Vec3 | evalKt (const fmatvec::Vec2 &zeta) |
void | setOpenMBVSpineExtrusion (const std::shared_ptr< OpenMBV::SpineExtrusion > &spineExtrusion) |
std::shared_ptr < OpenMBV::SpineExtrusion > & | getOpenMBVSpineExtrusion () |
![]() | |
virtual fmatvec::Vec3 | evalPosition (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer1Wn (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer2Wn (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer1Wu (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer2Wu (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer1Wv (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalParDer2Wv (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalWrPS (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalWs (const fmatvec::Vec2 &zeta) |
virtual fmatvec::Vec3 | evalWt (const fmatvec::Vec2 &zeta) |
![]() | |
Atom & | operator= (const Atom &) |
void | setMessageStreamActive (MsgType type, bool active) |
void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) |
void | adoptMessageStreams (const Atom *src=NULL) |
std::ostream & | msg (MsgType type) |
bool | msgAct (MsgType type) |
Protected Attributes | |
int | Elements |
number of elements | |
int | qSize |
number of DOFs | |
bool | openStructure |
open or closed beam structure | |
double | L |
length of entire curve | |
int | degU |
interpolation degree | |
MBSim::NurbsCurve | curveTranslations |
interpolated translations of the contour | |
MBSim::NurbsCurve | curveVelocities |
interpolated velocities of the contour | |
MBSim::NurbsCurve | curveAngularVelocities |
interpolated angular velocities of the contour | |
fmatvec::Vec3 | normalRotationGrid |
closest normal on rotation grid to update direction of normal of nurbs-curve and to avoid jumping | |
std::vector< MBSim::NurbsCurve > | CurveJacobiansOfTranslation |
interpolated Jacobians of Translation of the contour | |
std::vector< MBSim::NurbsCurve > | CurveJacobiansOfRotation |
interpolated Jacobians of Rotation on the contour | |
![]() | |
std::shared_ptr < OpenMBV::SpineExtrusion > | openMBVSpineExtrusion |
body for the spine extrusion for visualisation of the 1s-body | |
Additional Inherited Members | |
![]() | |
enum | MsgType |
![]() | |
static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
static std::ostream & | msgStatic (MsgType type) |
static bool | msgActStatic (MsgType type) |
![]() | |
Atom (const Atom &src) | |
contour 1s flexible with NURBS parametrization
|
inline |
constructor
name | of contour |
void MBSimFlexibleBody::NurbsCurve1s::computeCurveJacobians | ( | bool | trans = true , |
bool | rot = true , |
||
bool | update = false |
||
) |
interpolates the Jacobians of translation with the node-data from the body
interpolate | translational jacobian |
interpolate | rotational jacobian |
void MBSimFlexibleBody::NurbsCurve1s::initContourFromBody | ( | InitStage | stage | ) |
initialize NURBS curve
stage | of initialisation |