DART
6.7.3
|
class RevoluteJoint More...
#include <PrismaticJoint.hpp>
Public Types | |
using | Base = detail::PrismaticJointBase |
using | UniqueProperties = detail::PrismaticJointUniqueProperties |
using | Properties = detail::PrismaticJointProperties |
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 | hasPrismaticJointAspect () const |
Check if this Composite currently has PrismaticJointAspect . More... | |
Aspect * | getPrismaticJointAspect () |
Get a(an) PrismaticJointAspect from this Composite. More... | |
const Aspect * | getPrismaticJointAspect () const |
Get a(an) PrismaticJointAspect from this Composite. More... | |
Aspect * | getPrismaticJointAspect (const bool createIfNull) |
Get a(an) PrismaticJointAspect from this Composite. More... | |
void | setPrismaticJointAspect (const Aspect *aspect) |
Make a clone of PrismaticJointAspect and place the clone into this Composite. More... | |
void | setPrismaticJointAspect (std::unique_ptr< Aspect > &&aspect) |
Use move semantics to place PrismaticJointAspect into this Composite. More... | |
template<typename ... Args> | |
Aspect * | createPrismaticJointAspect (Args &&... args) |
Construct a(an) PrismaticJointAspect inside of this Composite. More... | |
void | removePrismaticJointAspect () |
Remove a(an) PrismaticJointAspect from this Composite. More... | |
std::unique_ptr< Aspect > | releasePrismaticJointAspect () |
Remove a(an) PrismaticJointAspect from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
PrismaticJoint (const PrismaticJoint &)=delete | |
virtual | ~PrismaticJoint () |
Destructor. More... | |
void | setProperties (const Properties &_properties) |
Set the Properties of this PrismaticJoint. More... | |
void | setProperties (const UniqueProperties &_properties) |
Set the Properties of this PrismaticJoint. More... | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this PrismaticJoint. More... | |
Properties | getPrismaticJointProperties () const |
Get the Properties of this PrismaticJoint. More... | |
void | copy (const PrismaticJoint &_otherJoint) |
Copy the Properties of another PrismaticJoint. More... | |
void | copy (const PrismaticJoint *_otherJoint) |
Copy the Properties of another PrismaticJoint. More... | |
PrismaticJoint & | operator= (const PrismaticJoint &_otherJoint) |
Same as copy(const PrismaticJoint&) 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 | |
PrismaticJoint (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::PrismaticJoint::copy | ( | const PrismaticJoint & | _otherJoint | ) |
Copy the Properties of another PrismaticJoint.
void dart::dynamics::PrismaticJoint::copy | ( | const PrismaticJoint * | _otherJoint | ) |
Copy the Properties of another PrismaticJoint.
|
inline |
Construct a(an) PrismaticJointAspect inside of this Composite.
|
inlineinherited |
const Eigen::Vector3d & dart::dynamics::PrismaticJoint::getAxis | ( | ) | const |
|
inline |
Get a(an) PrismaticJointAspect from this Composite.
|
inline |
Get a(an) PrismaticJointAspect from this Composite.
|
inline |
Get a(an) PrismaticJointAspect from this Composite.
If _createIfNull is true, then a(an) PrismaticJointAspect will be generated if one does not already exist.
PrismaticJoint::Properties dart::dynamics::PrismaticJoint::getPrismaticJointProperties | ( | ) | const |
Get the Properties of this PrismaticJoint.
|
override |
|
static |
Get joint type for this class.
|
override |
|
inline |
Check if this Composite currently has PrismaticJointAspect .
|
override |
PrismaticJoint & dart::dynamics::PrismaticJoint::operator= | ( | const PrismaticJoint & | _otherJoint | ) |
Same as copy(const PrismaticJoint&)
|
inline |
Remove a(an) PrismaticJointAspect 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) PrismaticJointAspect between two Composites.
|
inline |
Remove a(an) PrismaticJointAspect from this Composite.
void dart::dynamics::PrismaticJoint::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this PrismaticJoint.
void dart::dynamics::PrismaticJoint::setAxis | ( | const Eigen::Vector3d & | _axis | ) |
|
inline |
Make a clone of PrismaticJointAspect and place the clone into this Composite.
If a(an) PrismaticJointAspect already exists in this Composite, the existing PrismaticJointAspect will be destroyed.
|
inline |
Use move semantics to place PrismaticJointAspect into this Composite.
If a(an) PrismaticJointAspect already exists in this Composite, the existing PrismaticJointAspect will be destroyed.
void dart::dynamics::PrismaticJoint::setProperties | ( | const Properties & | _properties | ) |
Set the Properties of this PrismaticJoint.
void dart::dynamics::PrismaticJoint::setProperties | ( | const UniqueProperties & | _properties | ) |
Set the Properties of this PrismaticJoint.
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
friend |
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.