Choreonoid
1.8
|
#include <MprPosition.h>
Public Types | |
enum | FrameType { BaseFrame = 0, OffsetFrame = 1 } |
Public Types inherited from cnoid::MprPosition | |
enum | PositionType { IK, FK } |
enum | UpdateFlag { IdUpdate = 1 << 0, NoteUpdate = 1 << 1, PositionUpdate = 1 << 2, ObjectReplaced = 1 << 3 } |
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | MprIkPosition () |
MprIkPosition (const GeneralId &id) | |
MprIkPosition (const MprIkPosition &org) | |
MprIkPosition & | operator= (const MprIkPosition &rhs)=delete |
const Isometry3 & | position () const |
void | setPosition (const Isometry3 &T) |
Vector3 | rpy () const |
void | setRpy (const Vector3 &rpy) |
const Vector3 | referenceRpy () const |
void | setReferenceRpy (const Vector3 &rpy) |
void | resetReferenceRpy () |
void | setBaseFrameId (const GeneralId &id) |
void | setOffsetFrameId (const GeneralId &id) |
const GeneralId & | baseFrameId () const |
const GeneralId & | offsetFrameId () const |
const GeneralId & | frameId (int frameType) const |
CoordinateFrame * | findBaseFrame (CoordinateFrameList *baseFrames) |
CoordinateFrame * | findOffsetFrame (CoordinateFrameList *offsetFrames) |
CoordinateFrame * | findFrame (CoordinateFrameList *frames, int frameType) |
int | configuration () const |
virtual bool | fetch (LinkKinematicsKit *kinematicsKit) override |
virtual bool | apply (LinkKinematicsKit *kinematicsKit) const override |
virtual bool | read (const Mapping &archive) override |
virtual bool | write (Mapping &archive) const override |
Public Member Functions inherited from cnoid::MprPosition | |
MprPosition & | operator= (const MprPosition &rhs)=delete |
MprPosition * | clone () const |
const GeneralId & | id () const |
void | setId (const GeneralId &id) |
int | positionType () const |
bool | isIK () const |
bool | isFK () const |
MprIkPosition * | ikPosition () |
MprFkPosition * | fkPosition () |
MprPositionList * | ownerPositionList () |
const std::string & | note () const |
void | setNote (const std::string ¬e) |
SignalProxy< void(int flags)> | sigUpdated () |
void | notifyUpdate (int flags) |
Public Member Functions inherited from cnoid::Referenced | |
virtual | ~Referenced () |
Protected Member Functions | |
virtual Referenced * | doClone (CloneMap *cloneMap) const override |
Protected Member Functions inherited from cnoid::MprPosition | |
MprPosition (PositionType type) | |
MprPosition (PositionType type, const GeneralId &id) | |
MprPosition (const MprPosition &org) | |
Protected Member Functions inherited from cnoid::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
int | refCount () const |
Additional Inherited Members | |
Static Public Attributes inherited from cnoid::MprPosition | |
static constexpr int | MaxNumJoints = 8 |
MprIkPosition::MprIkPosition | ( | ) |
MprIkPosition::MprIkPosition | ( | const GeneralId & | id | ) |
MprIkPosition::MprIkPosition | ( | const MprIkPosition & | org | ) |
|
overridevirtual |
Implements cnoid::MprPosition.
|
inline |
|
inline |
|
overrideprotectedvirtual |
Implements cnoid::ClonableReferenced.
|
overridevirtual |
Implements cnoid::MprPosition.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
overridevirtual |
Reimplemented from cnoid::MprPosition.
|
inline |
void MprIkPosition::resetReferenceRpy | ( | ) |
Vector3 MprIkPosition::rpy | ( | ) | const |
|
inline |
|
inline |
|
inline |
void MprIkPosition::setReferenceRpy | ( | const Vector3 & | rpy | ) |
void MprIkPosition::setRpy | ( | const Vector3 & | rpy | ) |
|
overridevirtual |
Reimplemented from cnoid::MprPosition.