DART
6.7.3
|
class RevoluteJoint More...
#include <RevoluteJoint.hpp>
Public Types | |
using | UniqueProperties = detail::RevoluteJointUniqueProperties |
using | Properties = detail::RevoluteJointProperties |
using | Base = detail::RevoluteJointBase |
using | Impl = EmbedProperties< DerivedT, PropertiesDataT > |
using | Derived = typename Impl::Derived |
using | AspectPropertiesData = typename Impl::AspectPropertiesData |
using | AspectProperties = typename Impl::AspectProperties |
using | Aspect = typename Impl::Aspect |
Public Member Functions | |
bool | hasRevoluteJointAspect () const |
Check if this Composite currently has RevoluteJointAspect . More... | |
Aspect * | getRevoluteJointAspect () |
Get a(an) RevoluteJointAspect from this Composite. More... | |
const Aspect * | getRevoluteJointAspect () const |
Get a(an) RevoluteJointAspect from this Composite. More... | |
Aspect * | getRevoluteJointAspect (const bool createIfNull) |
Get a(an) RevoluteJointAspect from this Composite. More... | |
void | setRevoluteJointAspect (const Aspect *aspect) |
Make a clone of RevoluteJointAspect and place the clone into this Composite. More... | |
void | setRevoluteJointAspect (std::unique_ptr< Aspect > &&aspect) |
Use move semantics to place RevoluteJointAspect into this Composite. More... | |
template<typename ... Args> | |
Aspect * | createRevoluteJointAspect (Args &&... args) |
Construct a(an) RevoluteJointAspect inside of this Composite. More... | |
void | removeRevoluteJointAspect () |
Remove a(an) RevoluteJointAspect from this Composite. More... | |
std::unique_ptr< Aspect > | releaseRevoluteJointAspect () |
Remove a(an) RevoluteJointAspect from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
RevoluteJoint (const RevoluteJoint &)=delete | |
virtual | ~RevoluteJoint () |
Destructor. More... | |
void | setProperties (const Properties &_properties) |
Set the Properties of this RevoluteJoint. More... | |
void | setProperties (const UniqueProperties &_properties) |
Set the Properties of this RevoluteJoint. More... | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this RevoluteJoint. More... | |
Properties | getRevoluteJointProperties () const |
Get the Properties of this RevoluteJoint. More... | |
void | copy (const RevoluteJoint &_otherJoint) |
Copy the Properties of another RevoluteJoint. More... | |
void | copy (const RevoluteJoint *_otherJoint) |
Copy the Properties of another RevoluteJoint. More... | |
RevoluteJoint & | operator= (const RevoluteJoint &_otherJoint) |
Copy the Properties of another RevoluteJoint. More... | |
const std::string & | getType () const override |
bool | isCyclic (std::size_t _index) const override |
void | setAxis (const Eigen::Vector3d &_axis) |
const Eigen::Vector3d & | getAxis () const |
GenericJoint< math::R1Space >::JacobianMatrix | getRelativeJacobianStatic (const GenericJoint< math::R1Space >::Vector &positions) const override |
const AspectProperties & | getAspectProperties () const |
Static Public Member Functions | |
static const std::string & | getStaticType () |
Get joint type for this class. More... | |
Protected Member Functions | |
RevoluteJoint (const Properties &properties) | |
Constructor called by Skeleton class. More... | |
Joint * | clone () const override |
void | updateDegreeOfFreedomNames () override |
void | updateRelativeTransform () const override |
void | updateRelativeJacobian (bool _mandatory=true) const override |
void | updateRelativeJacobianTimeDeriv () const override |
Protected Attributes | |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Friends | |
class | Skeleton |
class RevoluteJoint
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
delete |
|
virtual |
Destructor.
|
protected |
Constructor called by Skeleton class.
|
overrideprotected |
void dart::dynamics::RevoluteJoint::copy | ( | const RevoluteJoint & | _otherJoint | ) |
Copy the Properties of another RevoluteJoint.
void dart::dynamics::RevoluteJoint::copy | ( | const RevoluteJoint * | _otherJoint | ) |
Copy the Properties of another RevoluteJoint.
|
inline |
Construct a(an) RevoluteJointAspect inside of this Composite.
|
inlineinherited |
const Eigen::Vector3d & dart::dynamics::RevoluteJoint::getAxis | ( | ) | const |
|
override |
|
inline |
Get a(an) RevoluteJointAspect from this Composite.
|
inline |
Get a(an) RevoluteJointAspect from this Composite.
|
inline |
Get a(an) RevoluteJointAspect from this Composite.
If _createIfNull is true, then a(an) RevoluteJointAspect will be generated if one does not already exist.
RevoluteJoint::Properties dart::dynamics::RevoluteJoint::getRevoluteJointProperties | ( | ) | const |
Get the Properties of this RevoluteJoint.
|
static |
Get joint type for this class.
|
override |
|
inline |
Check if this Composite currently has RevoluteJointAspect .
|
override |
RevoluteJoint & dart::dynamics::RevoluteJoint::operator= | ( | const RevoluteJoint & | _otherJoint | ) |
Copy the Properties of another RevoluteJoint.
|
inline |
Remove a(an) RevoluteJointAspect from this Composite, but return its unique_ptr instead of letting it be deleted.
This allows you to safely use move semantics to transfer a(an) RevoluteJointAspect between two Composites.
|
inline |
Remove a(an) RevoluteJointAspect from this Composite.
void dart::dynamics::RevoluteJoint::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this RevoluteJoint.
void dart::dynamics::RevoluteJoint::setAxis | ( | const Eigen::Vector3d & | _axis | ) |
void dart::dynamics::RevoluteJoint::setProperties | ( | const Properties & | _properties | ) |
Set the Properties of this RevoluteJoint.
void dart::dynamics::RevoluteJoint::setProperties | ( | const UniqueProperties & | _properties | ) |
Set the Properties of this RevoluteJoint.
|
inline |
Make a clone of RevoluteJointAspect and place the clone into this Composite.
If a(an) RevoluteJointAspect already exists in this Composite, the existing RevoluteJointAspect will be destroyed.
|
inline |
Use move semantics to place RevoluteJointAspect into this Composite.
If a(an) RevoluteJointAspect already exists in this Composite, the existing RevoluteJointAspect will be destroyed.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
friend |
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.