DART
6.7.3
|
#include <EndEffector.hpp>
Public Types | |
using | UniqueProperties = detail::EndEffectorProperties |
using | BasicProperties = common::Composite::MakeProperties< NameAspect, FixedFrame, EndEffector > |
using | Properties = common::Composite::Properties |
using | Impl = EmbedProperties< EndEffector, detail::EndEffectorProperties > |
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 | ~EndEffector ()=default |
Destructor. More... | |
const AspectProperties & | getAspectProperties () const |
Structural Properties | |
void | setProperties (const BasicProperties &_properties) |
Set the Properties of this EndEffector. More... | |
void | setProperties (const UniqueProperties &properties, bool useNow=false) |
Set the Properties of this EndEffector. More... | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this EndEffector. More... | |
Properties | getEndEffectorProperties () const |
Get the Properties of this EndEffector. More... | |
void | copy (const EndEffector &_otherEndEffector) |
Copy the State and Properties of another EndEffector. More... | |
void | copy (const EndEffector *_otherEndEffector) |
Copy the State and Properties of another EndEffector. More... | |
EndEffector & | operator= (const EndEffector &_otherEndEffector) |
Copy the State and Properties of another EndEffector. More... | |
void | setDefaultRelativeTransform (const Eigen::Isometry3d &_newDefaultTf, bool _useNow=false) |
Set the default relative transform of this EndEffector. More... | |
void | resetRelativeTransform () |
Set the current relative transform of this EndEffector to the default relative transform of this EndEffector. More... | |
bool | hasSupport () const |
Check if this Composite currently has Support . More... | |
Support * | getSupport () |
Get a(an) Support from this Composite. More... | |
const Support * | getSupport () const |
Get a(an) Support from this Composite. More... | |
Support * | getSupport (const bool createIfNull) |
Get a(an) Support from this Composite. More... | |
void | setSupport (const Support *aspect) |
Make a clone of Support and place the clone into this Composite. More... | |
void | setSupport (std::unique_ptr< Support > &&aspect) |
Use move semantics to place Support into this Composite. More... | |
template<typename ... Args> | |
Support * | createSupport (Args &&... args) |
Construct a(an) Support inside of this Composite. More... | |
void | removeSupport () |
Remove a(an) Support from this Composite. More... | |
std::unique_ptr< Support > | releaseSupport () |
Remove a(an) Support from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
Notifications | |
void | dirtyTransform () override |
Protected Member Functions | |
EndEffector (BodyNode *parent, const BasicProperties &properties) | |
Constructor used by the Skeleton class. More... | |
Node * | cloneNode (BodyNode *_parent) const override |
Protected Attributes | |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Friends | |
class | Skeleton |
class | BodyNode |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
using dart::dynamics::EndEffector::BasicProperties = common::Composite::MakeProperties< NameAspect, FixedFrame, EndEffector> |
|
inherited |
|
inherited |
|
virtualdefault |
Destructor.
|
explicitprotected |
Constructor used by the Skeleton class.
void dart::dynamics::EndEffector::copy | ( | const EndEffector & | _otherEndEffector | ) |
Copy the State and Properties of another EndEffector.
void dart::dynamics::EndEffector::copy | ( | const EndEffector * | _otherEndEffector | ) |
Copy the State and Properties of another EndEffector.
|
inline |
Construct a(an) Support inside of this Composite.
|
override |
|
inlineinherited |
EndEffector::Properties dart::dynamics::EndEffector::getEndEffectorProperties | ( | ) | const |
Get the Properties of this EndEffector.
|
inline |
Get a(an) Support from this Composite.
|
inline |
|
inline |
Check if this Composite currently has Support .
EndEffector & dart::dynamics::EndEffector::operator= | ( | const EndEffector & | _otherEndEffector | ) |
Copy the State and Properties of another EndEffector.
|
inline |
|
inline |
Remove a(an) Support from this Composite.
void dart::dynamics::EndEffector::resetRelativeTransform | ( | ) |
Set the current relative transform of this EndEffector to the default relative transform of this EndEffector.
The default relative transform can be set with setDefaultRelativeTransform()
void dart::dynamics::EndEffector::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this EndEffector.
void dart::dynamics::EndEffector::setDefaultRelativeTransform | ( | const Eigen::Isometry3d & | _newDefaultTf, |
bool | _useNow = false |
||
) |
Set the default relative transform of this EndEffector.
The relative transform of this EndEffector will be set to _newDefaultTf the next time resetRelativeTransform() is called. If _useNow is set to true, then resetRelativeTransform() will be called at the end of this function.
void dart::dynamics::EndEffector::setProperties | ( | const BasicProperties & | _properties | ) |
Set the Properties of this EndEffector.
If _useNow is true, the current Transform will be set to the new default transform.
void dart::dynamics::EndEffector::setProperties | ( | const UniqueProperties & | properties, |
bool | useNow = false |
||
) |
Set the Properties of this EndEffector.
If _useNow is true, the current Transform will be set to the new default transform.
|
inline |
|
inline |
|
friend |
|
friend |
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.