Biorbd
Release_1.13.0
Toggle main menu visibility
Loading...
Searching...
No Matches
ViaPoint.h
1
#ifndef BIORBD_MUSCLES_VIAPOINT_H
2
#define BIORBD_MUSCLES_VIAPOINT_H
3
4
#include "biorbdConfig.h"
5
6
#include "Utils/Vector3d.h"
7
8
namespace
BIORBD_NAMESPACE {
9
namespace
utils {
10
class
String
;
11
}
12
13
namespace
internal_forces {
17
class
BIORBD_API
ViaPoint
:
public
utils::Vector3d
{
18
public
:
22
ViaPoint
();
23
30
ViaPoint
(
31
const
utils::Scalar& x,
32
const
utils::Scalar& y,
33
const
utils::Scalar& z);
34
43
ViaPoint
(
44
const
utils::Scalar& x,
45
const
utils::Scalar& y,
46
const
utils::Scalar& z,
47
const
utils::String
&
name
,
48
const
utils::String
& parentName);
49
54
ViaPoint
(
const
utils::Vector3d
& other);
55
60
ViaPoint
(
const
ViaPoint
& other);
61
66
ViaPoint
DeepCopy
()
const
;
67
72
void
DeepCopy
(
const
ViaPoint
& other);
73
74
#ifndef SWIG
81
template
<
typename
OtherDerived>
82
ViaPoint
&
operator=
(
const
utils::Vector3d
& other) {
83
this->utils::Vector3d::operator=(other);
84
return
*
this
;
85
}
86
#endif
87
};
88
89
}
// namespace internal_forces
90
}
// namespace BIORBD_NAMESPACE
91
92
#endif
// BIORBD_MUSCLES_VIAPOINT_H
BIORBD_NAMESPACE::internal_forces::ViaPoint::operator=
ViaPoint & operator=(const utils::Vector3d &other)
To be able to use operator "=" when assigning a ViaPoint to a 3D node.
Definition
ViaPoint.h:82
BIORBD_NAMESPACE::internal_forces::ViaPoint::DeepCopy
ViaPoint DeepCopy() const
Deep copy of a ViaPoint.
Definition
ViaPoint.cpp:38
BIORBD_NAMESPACE::internal_forces::ViaPoint::ViaPoint
ViaPoint()
Contruct ViaPoint.
Definition
ViaPoint.cpp:8
BIORBD_NAMESPACE::utils::Node::name
const String & name() const
Return the name of the node.
Definition
Node.cpp:43
BIORBD_NAMESPACE::utils::String
Wrapper around the std::string class with augmented functionality.
Definition
String.h:18
BIORBD_NAMESPACE::utils::Vector3d
Wrapper around Eigen Vector3d and attach it to a parent.
Definition
Vector3d.h:27
include
InternalForces
ViaPoint.h
Generated by
1.18.0