Biorbd Release_1.13.0
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
8namespace BIORBD_NAMESPACE {
9namespace utils {
10class String;
11}
12
13namespace internal_forces {
17class BIORBD_API ViaPoint : public utils::Vector3d {
18 public:
22 ViaPoint();
23
31 const utils::Scalar& x,
32 const utils::Scalar& y,
33 const utils::Scalar& z);
34
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>
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
ViaPoint & operator=(const utils::Vector3d &other)
To be able to use operator "=" when assigning a ViaPoint to a 3D node.
Definition ViaPoint.h:82
ViaPoint DeepCopy() const
Deep copy of a ViaPoint.
Definition ViaPoint.cpp:38
const String & name() const
Return the name of the node.
Definition Node.cpp:43
Wrapper around the std::string class with augmented functionality.
Definition String.h:18
Wrapper around Eigen Vector3d and attach it to a parent.
Definition Vector3d.h:27