dart
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
dart::dynamics::Marker Class Referencefinal
Inheritance diagram for dart::dynamics::Marker:
Inheritance graph
[legend]
Collaboration diagram for dart::dynamics::Marker:
Collaboration graph
[legend]

Public Types

using ConstraintType = detail::MarkerProperties::ConstraintType
 
using BasicProperties = common::Composite::MakeProperties< NameAspect, FixedFrame, Marker >
 
using Properties = common::Composite::Properties
 
- Public Types inherited from dart::common::EmbedPropertiesOnTopOf< Marker, detail::MarkerProperties, FixedJacobianNode >
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.
 
BodyNodegetBodyNode ()
 Get the BodyNode this Marker belongs to. More...
 
const BodyNodegetBodyNode () 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.
 
- Public Member Functions inherited from dart::common::EmbedPropertiesOnTopOf< Marker, detail::MarkerProperties, FixedJacobianNode >
 EmbedPropertiesOnTopOf (Args &&... args)
 

Static Public Attributes

static constexpr ConstraintType NO = detail::MarkerProperties::NO
 
static constexpr ConstraintType HARD = detail::MarkerProperties::HARD
 
static constexpr ConstraintType SOFT = detail::MarkerProperties::SOFT
 

Protected Member Functions

 Marker (BodyNode *parent, const BasicProperties &properties)
 Constructor used by BodyNode.
 
NodecloneNode (BodyNode *parent) const override
 

Friends

class BodyNode
 

Member Function Documentation

◆ getBodyNode() [1/2]

BodyNode * dart::dynamics::Marker::getBodyNode ( )

Get the BodyNode this Marker belongs to.

Deprecated: Use getBodyNodePtr() instead

◆ getBodyNode() [2/2]

const BodyNode * dart::dynamics::Marker::getBodyNode ( ) const

Get the (const) BodyNode this Marker belongs to.

Deprecated: Use getBodyNodePtr() instead


The documentation for this class was generated from the following files: