|
DART 6.12.2
|
#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. | |
| void | setAspectProperties (const AspectProperties &properties) |
| Set the AspectProperties of this Marker. | |
| BodyNode * | getBodyNode () |
| Get the BodyNode this Marker belongs to. | |
| const BodyNode * | getBodyNode () const |
| Get the (const) BodyNode this Marker belongs to. | |
| 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. | |
| 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. | |
| Node * | cloneNode (BodyNode *parent) const override |
Protected Attributes | |
| AspectProperties | mAspectProperties |
| Aspect::Properties data, directly accessible to your derived class. | |
Private Attributes | |
| int | mID |
| Unique ID of this marker globally. | |
Static Private Attributes | |
| static int | msMarkerCount = 0 |
| Counts the number of markers globally. | |
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 |