|
Biorbd Release_1.13.0
|
A node is an abstract element which is assigned to a parent. More...
#include <Node.h>
Public Member Functions | |
| 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. | |
Protected Member Functions | |
| virtual void | setType ()=0 |
| To set the type. | |
Protected Attributes | |
| 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. | |
| utils::Node::Node | ( | const Node & | other | ) |
| utils::Node::Node | ( | const String & | name | ) |
| void utils::Node::DeepCopy | ( | const Node & | other | ) |
| const utils::String & utils::Node::name | ( | ) | const |
| const utils::String & utils::Node::parent | ( | ) | const |
| void utils::Node::setName | ( | const String & | name | ) |
| void utils::Node::setParent | ( | const String & | name | ) |
|
protectedpure virtual |
To set the type.
Implemented in BIORBD_NAMESPACE::rigidbody::NodeSegment, BIORBD_NAMESPACE::rigidbody::Segment, BIORBD_NAMESPACE::rigidbody::SoftContactNode, BIORBD_NAMESPACE::rigidbody::SoftContactSphere, BIORBD_NAMESPACE::utils::RotoTransNode, BIORBD_NAMESPACE::utils::Vector2d, and BIORBD_NAMESPACE::utils::Vector3d.
| utils::NODE_TYPE utils::Node::typeOfNode | ( | ) | const |
|
protected |
|
protected |
|
protected |