Choreonoid
1.8
|
#include <MprPosition.h>
Public Types | |
typedef JointDisplacementArray::iterator | iterator |
typedef JointDisplacementArray::const_iterator | const_iterator |
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 | |
MprFkPosition () | |
MprFkPosition (const GeneralId &id) | |
MprFkPosition (const MprFkPosition &org) | |
MprFkPosition & | operator= (const MprFkPosition &rhs)=delete |
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 |
int | numJoints () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
double & | jointDisplacement (int index) |
double | jointDisplacement (int index) const |
double & | q (int index) |
double | q (int index) const |
bool | checkIfPrismaticJoint (int index) const |
bool | checkIfRevoluteJoint (int index) const |
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 |
typedef JointDisplacementArray::const_iterator cnoid::MprFkPosition::const_iterator |
typedef JointDisplacementArray::iterator cnoid::MprFkPosition::iterator |
MprFkPosition::MprFkPosition | ( | ) |
MprFkPosition::MprFkPosition | ( | const GeneralId & | id | ) |
MprFkPosition::MprFkPosition | ( | const MprFkPosition & | org | ) |
|
overridevirtual |
Implements cnoid::MprPosition.
|
inline |
|
inline |
|
inline |
|
inline |
|
overrideprotectedvirtual |
Implements cnoid::ClonableReferenced.
|
inline |
|
inline |
|
overridevirtual |
Implements cnoid::MprPosition.
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from cnoid::MprPosition.
|
overridevirtual |
Reimplemented from cnoid::MprPosition.