33#ifndef DART_DYNAMICS_MARKER_HPP_
34#define DART_DYNAMICS_MARKER_HPP_
48 detail::MarkerProperties,
#define DART_DEPRECATED(version)
Definition Deprecated.hpp:51
BodyPropPtr properties
Definition SdfParser.cpp:80
std::string type
Definition SdfParser.cpp:82
detail::CompositeProperties Properties
Definition Composite.hpp:56
This is an alternative to EmbedProperties which allows your class to also inherit other Composite obj...
Definition EmbeddedAspect.hpp:240
typename Impl::AspectProperties AspectProperties
Definition EmbeddedAspect.hpp:245
Definition CompositeData.hpp:186
Definition CompositeData.hpp:107
BodyNode class represents a single node of the skeleton.
Definition BodyNode.hpp:79
Eigen::Vector3d getLocalPosition() const
Get position of this marker in the parent body node coordinates.
Definition Marker.cpp:80
Node * cloneNode(BodyNode *parent) const override
Definition Marker.cpp:153
void setAspectProperties(const AspectProperties &properties)
Set the AspectProperties of this Marker.
Definition Marker.cpp:61
Eigen::Vector3d getWorldPosition() const
Get position in the world coordinates.
Definition Marker.cpp:94
BodyNode * getBodyNode()
Get the BodyNode this Marker belongs to.
Definition Marker.cpp:68
int mID
Unique ID of this marker globally.
Definition Marker.hpp:115
static constexpr ConstraintType NO
Definition Marker.hpp:53
static constexpr ConstraintType SOFT
Definition Marker.hpp:55
virtual ~Marker()=default
Destructor.
void setColor(const Eigen::Vector4d &color)
Set the color of this Marker.
Definition Marker.cpp:122
ConstraintType getConstraintType() const
Get constraint type. which will be useful for inverse kinematics.
Definition Marker.cpp:116
const Eigen::Vector4d & getColor() const
Return color of this Marker.
Definition Marker.cpp:132
static constexpr ConstraintType HARD
Definition Marker.hpp:54
void setLocalPosition(const Eigen::Vector3d &offset)
Set position of this marker in the parent body node coordinates.
Definition Marker.cpp:86
static int msMarkerCount
Counts the number of markers globally.
Definition Marker.hpp:118
void setConstraintType(ConstraintType type)
Set constraint type. which will be useful for inverse kinematics.
Definition Marker.cpp:106
int getID() const
Get global unique ID.
Definition Marker.cpp:100
The Node class is a base class for BodyNode and any object that attaches to a BodyNode.
Definition Node.hpp:81
Definition Random-impl.hpp:92
Definition BulletCollisionDetector.cpp:65
ConstraintType
Definition MarkerAspect.hpp:46
@ SOFT
Definition MarkerAspect.hpp:49
@ HARD
Definition MarkerAspect.hpp:48
@ NO
Definition MarkerAspect.hpp:47