DART
6.10.1
|
#include <Marker.hpp>
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. More... | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this Marker. More... | |
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. More... | |
void | setLocalPosition (const Eigen::Vector3d &offset) |
Set position of this marker in the parent body node coordinates. More... | |
Eigen::Vector3d | getWorldPosition () const |
Get position in the world coordinates. More... | |
int | getID () const |
Get global unique ID. More... | |
void | setConstraintType (ConstraintType type) |
Set constraint type. which will be useful for inverse kinematics. More... | |
ConstraintType | getConstraintType () const |
Get constraint type. which will be useful for inverse kinematics. More... | |
void | setColor (const Eigen::Vector4d &color) |
Set the color of this Marker. More... | |
const Eigen::Vector4d & | getColor () const |
Return color of this Marker. More... | |
const AspectProperties & | getAspectProperties () const |
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. More... | |
Node * | cloneNode (BodyNode *parent) const override |
Protected Attributes | |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Private Attributes | |
int | mID |
Unique ID of this marker globally. More... | |
Static Private Attributes | |
static int | msMarkerCount = 0 |
Counts the number of markers globally. More... | |
Friends | |
class | BodyNode |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
using dart::dynamics::Marker::BasicProperties = common::Composite::MakeProperties<NameAspect, FixedFrame, Marker> |
|
inherited |
|
inherited |
|
virtualdefault |
Destructor.
|
protected |
Constructor used by BodyNode.
|
inlineinherited |
BodyNode * dart::dynamics::Marker::getBodyNode | ( | ) |
const BodyNode * dart::dynamics::Marker::getBodyNode | ( | ) | const |
const Eigen::Vector4d & dart::dynamics::Marker::getColor | ( | ) | const |
Return color of this Marker.
Marker::ConstraintType dart::dynamics::Marker::getConstraintType | ( | ) | const |
Get constraint type. which will be useful for inverse kinematics.
int dart::dynamics::Marker::getID | ( | ) | const |
Get global unique ID.
Eigen::Vector3d dart::dynamics::Marker::getLocalPosition | ( | ) | const |
Get position of this marker in the parent body node coordinates.
Eigen::Vector3d dart::dynamics::Marker::getWorldPosition | ( | ) | const |
Get position in the world coordinates.
void dart::dynamics::Marker::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this Marker.
void dart::dynamics::Marker::setColor | ( | const Eigen::Vector4d & | color | ) |
Set the color of this Marker.
void dart::dynamics::Marker::setConstraintType | ( | Marker::ConstraintType | type | ) |
Set constraint type. which will be useful for inverse kinematics.
void dart::dynamics::Marker::setLocalPosition | ( | const Eigen::Vector3d & | offset | ) |
Set position of this marker in the parent body node coordinates.
|
friend |
|
staticconstexpr |
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.
|
private |
Unique ID of this marker globally.
|
staticprivate |
Counts the number of markers globally.
|
staticconstexpr |
|
staticconstexpr |