dart
|
Public Types | |
using | ConstraintType = detail::MarkerProperties::ConstraintType |
using | BasicProperties = common::Composite::MakeProperties< NameAspect, FixedFrame, Marker > |
using | Properties = common::Composite::Properties |
![]() | |
using | Impl = EmbedProperties< Marker, detail::MarkerProperties > |
using | Derived = typename Impl::Derived |
using | AspectPropertiesData = typename Impl::AspectPropertiesData |
using | AspectProperties = typename Impl::AspectProperties |
using | Aspect = typename Impl::Aspect |
using | Base = CompositeJoiner< Impl, CompositeBases... > |
Public Member Functions | |
virtual | ~Marker ()=default |
Destructor. | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this Marker. | |
BodyNode * | getBodyNode () |
Get the BodyNode this Marker belongs to. More... | |
const BodyNode * | getBodyNode () const |
Get the (const) BodyNode this Marker belongs to. More... | |
Eigen::Vector3d | getLocalPosition () const |
Get position of this marker in the parent body node coordinates. | |
void | setLocalPosition (const Eigen::Vector3d &offset) |
Set position of this marker in the parent body node coordinates. | |
Eigen::Vector3d | getWorldPosition () const |
Get position in the world coordinates. | |
int | getID () const |
Get global unique ID. | |
void | setConstraintType (ConstraintType type) |
Set constraint type. which will be useful for inverse kinematics. | |
ConstraintType | getConstraintType () const |
Get constraint type. which will be useful for inverse kinematics. | |
void | setColor (const Eigen::Vector4d &color) |
Set the color of this Marker. | |
const Eigen::Vector4d & | getColor () const |
Return color of this Marker. | |
![]() | |
EmbedPropertiesOnTopOf (Args &&... args) | |
Protected Member Functions | |
Marker (BodyNode *parent, const BasicProperties &properties) | |
Constructor used by BodyNode. | |
Node * | cloneNode (BodyNode *parent) const override |
Friends | |
class | BodyNode |
BodyNode * dart::dynamics::Marker::getBodyNode | ( | ) |
const BodyNode * dart::dynamics::Marker::getBodyNode | ( | ) | const |