Biorbd
Release_1.13.0
Toggle main menu visibility
Loading...
Searching...
No Matches
RotoTransNode.h
1
#ifndef BIORBD_UTILS_ROTO_TRANS_NODE_H
2
#define BIORBD_UTILS_ROTO_TRANS_NODE_H
3
4
#include "biorbdConfig.h"
5
6
#include <memory>
7
8
#include "Utils/Node.h"
9
#include "Utils/RotoTrans.h"
10
11
namespace
BIORBD_NAMESPACE {
12
namespace
utils {
13
class
String
;
17
class
BIORBD_API
RotoTransNode
:
public
RotoTrans
,
public
Node
{
18
public
:
22
RotoTransNode
();
23
30
RotoTransNode
(
31
const
RotoTrans
& rt,
32
const
String
&
name
,
33
const
String
& parentName);
34
35
#ifdef BIORBD_USE_EIGEN3_MATH
40
template
<
typename
OtherDerived>
41
RotoTransNode
(
const
Eigen::MatrixBase<OtherDerived>& other)
42
:
RotoTrans
(other) {}
43
#endif
44
49
RotoTransNode
DeepCopy
()
const
;
50
55
void
DeepCopy
(
const
RotoTransNode
& other);
56
57
#ifndef SWIG
58
64
void
operator=
(
const
RotoTrans
& other);
65
66
#endif
67
73
RotoTrans
operator*
(
const
RotoTransNode
& other)
const
;
74
75
#ifndef SWIG
76
77
#ifdef BIORBD_USE_EIGEN3_MATH
82
template
<
typename
OtherDerived>
83
RotoTransNode
&
operator=
(
const
Eigen::MatrixBase<OtherDerived>& other) {
84
this->RotoTrans::operator=(other);
85
return
*
this
;
86
}
87
#endif
88
89
#endif
90
91
protected
:
95
void
setType
();
96
};
97
102
RotoTransNode
operator*(
const
RotoTrans
& other,
const
RotoTransNode
& me);
103
104
}
// namespace utils
105
}
// namespace BIORBD_NAMESPACE
106
107
#endif
// BIORBD_UTILS_ROTO_TRANS_NODE_H
BIORBD_NAMESPACE::utils::Node::Node
Node()
Construct Node.
Definition
Node.cpp:8
BIORBD_NAMESPACE::utils::Node::name
const String & name() const
Return the name of the node.
Definition
Node.cpp:43
BIORBD_NAMESPACE::utils::RotoTransNode
A RotoTrans which is attached to a segment.
Definition
RotoTransNode.h:17
BIORBD_NAMESPACE::utils::RotoTransNode::DeepCopy
RotoTransNode DeepCopy() const
Deep copy of a RotoTransNode.
Definition
RotoTransNode.cpp:20
BIORBD_NAMESPACE::utils::RotoTransNode::RotoTransNode
RotoTransNode()
Construct a RotoTransNode.
Definition
RotoTransNode.cpp:8
BIORBD_NAMESPACE::utils::RotoTransNode::operator*
RotoTrans operator*(const RotoTransNode &other) const
operator* Matrix multiplication
Definition
RotoTransNode.cpp:39
BIORBD_NAMESPACE::utils::RotoTransNode::operator=
void operator=(const RotoTrans &other)
Assign a RotoTrans to this RotoTransNode (name and parent are reset).
Definition
RotoTransNode.cpp:35
BIORBD_NAMESPACE::utils::RotoTransNode::setType
void setType()
Set the type to ROTOTRANS.
Definition
RotoTransNode.cpp:31
BIORBD_NAMESPACE::utils::RotoTrans
Homogenous matrix to describe translations and rotations simultaneously.
Definition
RotoTrans.h:33
BIORBD_NAMESPACE::utils::RotoTrans::RotoTrans
RotoTrans(const RigidBodyDynamics::Math::Matrix4d &matrix=RigidBodyDynamics::Math::Matrix4d::Identity())
Construct RotoTrans matrix.
Definition
RotoTrans.cpp:14
BIORBD_NAMESPACE::utils::String
Wrapper around the std::string class with augmented functionality.
Definition
String.h:18
include
Utils
RotoTransNode.h
Generated by
1.18.0