33 #ifndef DART_DYNAMICS_MARKER_HPP_
34 #define DART_DYNAMICS_MARKER_HPP_
36 #include <Eigen/Dense>
48 Marker, 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:248
typename Impl::AspectProperties AspectProperties
Definition: EmbeddedAspect.hpp:254
Definition: CompositeData.hpp:180
Definition: CompositeData.hpp:104
BodyNode class represents a single node of the skeleton.
Definition: BodyNode.hpp:78
The FixedFrame class represents a Frame with zero relative velocity and zero relative acceleration.
Definition: FixedFrame.hpp:52
Definition: Marker.hpp:50
Eigen::Vector3d getLocalPosition() const
Get position of this marker in the parent body node coordinates.
Definition: Marker.cpp:81
Node * cloneNode(BodyNode *parent) const override
Definition: Marker.cpp:153
void setAspectProperties(const AspectProperties &properties)
Set the AspectProperties of this Marker.
Definition: Marker.cpp:62
Eigen::Vector3d getWorldPosition() const
Get position in the world coordinates.
Definition: Marker.cpp:95
BodyNode * getBodyNode()
Get the BodyNode this Marker belongs to.
Definition: Marker.cpp:69
int mID
Unique ID of this marker globally.
Definition: Marker.hpp:119
static constexpr ConstraintType NO
Definition: Marker.hpp:54
static constexpr ConstraintType SOFT
Definition: Marker.hpp:56
virtual ~Marker()=default
Destructor.
void setColor(const Eigen::Vector4d &color)
Set the color of this Marker.
Definition: Marker.cpp:123
ConstraintType getConstraintType() const
Get constraint type. which will be useful for inverse kinematics.
Definition: Marker.cpp:117
const Eigen::Vector4d & getColor() const
Return color of this Marker.
Definition: Marker.cpp:133
static constexpr ConstraintType HARD
Definition: Marker.hpp:55
void setLocalPosition(const Eigen::Vector3d &offset)
Set position of this marker in the parent body node coordinates.
Definition: Marker.cpp:87
static int msMarkerCount
Counts the number of markers globally.
Definition: Marker.hpp:122
void setConstraintType(ConstraintType type)
Set constraint type. which will be useful for inverse kinematics.
Definition: Marker.cpp:107
int getID() const
Get global unique ID.
Definition: Marker.cpp:101
The Node class is a base class for BodyNode and any object that attaches to a BodyNode.
Definition: Node.hpp:84
Definition: Random-impl.hpp:92
Definition: BulletCollisionDetector.cpp:63
ConstraintType
Definition: MarkerAspect.hpp:46
@ SOFT
Definition: MarkerAspect.hpp:49
@ HARD
Definition: MarkerAspect.hpp:48
@ NO
Definition: MarkerAspect.hpp:47