Biorbd Release_1.13.0
Loading...
Searching...
No Matches
BIORBD_NAMESPACE::internal_forces::ViaPoint Class Reference

Via point of a muscle. More...

#include <ViaPoint.h>

Inheritance diagram for BIORBD_NAMESPACE::internal_forces::ViaPoint:
BIORBD_NAMESPACE::utils::Vector3d BIORBD_NAMESPACE::utils::Node

Public Member Functions

 ViaPoint ()
 Contruct ViaPoint.
 ViaPoint (const utils::Scalar &x, const utils::Scalar &y, const utils::Scalar &z)
 Construct ViaPoint.
 ViaPoint (const utils::Scalar &x, const utils::Scalar &y, const utils::Scalar &z, const utils::String &name, const utils::String &parentName)
 Construct ViaPoint.
 ViaPoint (const utils::Vector3d &other)
 Construct ViaPoint from a vector.
 ViaPoint (const ViaPoint &other)
 Construct ViaPoint from another ViaPoint.
ViaPoint DeepCopy () const
 Deep copy of a ViaPoint.
void DeepCopy (const ViaPoint &other)
 Deep copy of a ViaPoint into another ViaPoint.
template<typename OtherDerived>
ViaPoint & operator= (const utils::Vector3d &other)
 To be able to use operator "=" when assigning a ViaPoint to a 3D node.
Public Member Functions inherited from BIORBD_NAMESPACE::utils::Vector3d
 Vector3d ()
 Construct 3D vector.
 Vector3d (const Scalar &x, const Scalar &y, const Scalar &z)
 Construct 3D vector.
 Vector3d (const Scalar &x, const Scalar &y, const Scalar &z, const String &name, const String &parentName)
 Construct a 3D vector.
 Vector3d (const Vector3d vec, const String &name, const String &parentName)
 Construct a 3D vector.
 Vector3d (const RigidBodyDynamics::Math::Vector3d &other)
 Construct a 3D vector from a Casadi 3D vector (drop the trailling 1).
 Vector3d (const RigidBodyDynamics::Math::VectorNd &other)
 Construct a 3D vector from a Casadi ND vector (drop the trailling 1).
 Vector3d (const RigidBodyDynamics::Math::Vector4d &other)
 Construct a 3D vector from an eigen 4D vector (drop the trailling 1).
Vector3d DeepCopy () const
 Deep copy of a 3D vector.
void DeepCopy (const Vector3d &other)
 Deep copy of a 3D vector into another 3D vector.
Vector3d applyRT (const RotoTrans &rt) const
 Apply a RotoTrans to the 3D vector.
void applyRT (const RotoTrans &rt)
 Apply a RotoTrans to the 3D vector.
void setPosition (const Vector3d &v)
 Set a new position.
Public Member Functions inherited from BIORBD_NAMESPACE::utils::Node
 Node ()
 Construct Node.
 Node (const Node &other)
 Construct Node from another node.
 Node (const String &name)
 Construct Node.
 Node (const String &name, const String &parentName)
 Construct Node.
virtual ~Node ()
 Destroy class properly.
void DeepCopy (const Node &other)
 Deep copy of the node in another node.
void setName (const String &name)
 Set the name of the node.
const String & name () const
 Return the name of the node.
const String & parent () const
 Return the parent name of the node.
void setParent (const String &name)
 Set the parent name of the node.
NODE_TYPE typeOfNode () const
 Return the type of node.

Additional Inherited Members

Protected Member Functions inherited from BIORBD_NAMESPACE::utils::Vector3d
void setType ()
 Set the type Vector3d.
Protected Attributes inherited from BIORBD_NAMESPACE::utils::Node
std::shared_ptr< String > m_name
 The name of the node.
std::shared_ptr< String > m_parentName
 The parent name of the node.
std::shared_ptr< NODE_TYPE > m_typeOfNode
 The type of the node.

Detailed Description

Via point of a muscle.

Definition at line 17 of file ViaPoint.h.

Constructor & Destructor Documentation

◆ ViaPoint() [1/5]

internal_forces::ViaPoint::ViaPoint ( )

Contruct ViaPoint.

Definition at line 8 of file ViaPoint.cpp.

◆ ViaPoint() [2/5]

internal_forces::ViaPoint::ViaPoint ( const utils::Scalar & x,
const utils::Scalar & y,
const utils::Scalar & z )

Construct ViaPoint.

Parameters
xX-Component of the ViaPoint
yY-Component of the ViaPoint
zZ-Component of the ViaPoint

Definition at line 12 of file ViaPoint.cpp.

◆ ViaPoint() [3/5]

internal_forces::ViaPoint::ViaPoint ( const utils::Scalar & x,
const utils::Scalar & y,
const utils::Scalar & z,
const utils::String & name,
const utils::String & parentName )

Construct ViaPoint.

Parameters
xX-Component of the ViaPoint
yY-Component of the ViaPoint
zZ-Component of the ViaPoint
nameThe name of the via point
parentNameThe name of the parent segment

Definition at line 20 of file ViaPoint.cpp.

◆ ViaPoint() [4/5]

internal_forces::ViaPoint::ViaPoint ( const utils::Vector3d & other)

Construct ViaPoint from a vector.

Parameters
otherThe vector

Definition at line 30 of file ViaPoint.cpp.

◆ ViaPoint() [5/5]

internal_forces::ViaPoint::ViaPoint ( const ViaPoint & other)

Construct ViaPoint from another ViaPoint.

Parameters
otherThe other ViaPoint

Definition at line 35 of file ViaPoint.cpp.

Member Function Documentation

◆ DeepCopy() [1/2]

internal_forces::ViaPoint internal_forces::ViaPoint::DeepCopy ( ) const

Deep copy of a ViaPoint.

Returns
A deep copy of a ViaPoint

Definition at line 38 of file ViaPoint.cpp.

◆ DeepCopy() [2/2]

void internal_forces::ViaPoint::DeepCopy ( const ViaPoint & other)

Deep copy of a ViaPoint into another ViaPoint.

Parameters
otherThe ViaPoint to copy

Definition at line 44 of file ViaPoint.cpp.

◆ operator=()

template<typename OtherDerived>
ViaPoint & BIORBD_NAMESPACE::internal_forces::ViaPoint::operator= ( const utils::Vector3d & other)
inline

To be able to use operator "=" when assigning a ViaPoint to a 3D node.

Parameters
otherThe 3D node to assign to ViaPoint
Returns
The via point

Definition at line 82 of file ViaPoint.h.


The documentation for this class was generated from the following files: