Choreonoid  1.8
Public Types | Public Member Functions | Protected Member Functions | List of all members
cnoid::MprFkPosition Class Reference

#include <MprPosition.h>

Inheritance diagram for cnoid::MprFkPosition:
cnoid::MprPosition cnoid::ClonableReferenced cnoid::Referenced

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)
 
MprFkPositionoperator= (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
MprPositionoperator= (const MprPosition &rhs)=delete
 
MprPositionclone () const
 
const GeneralIdid () const
 
void setId (const GeneralId &id)
 
int positionType () const
 
bool isIK () const
 
bool isFK () const
 
MprIkPositionikPosition ()
 
MprFkPositionfkPosition ()
 
MprPositionListownerPositionList ()
 
const std::string & note () const
 
void setNote (const std::string &note)
 
SignalProxy< void(int flags)> sigUpdated ()
 
void notifyUpdate (int flags)
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

virtual ReferenceddoClone (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
 

Member Typedef Documentation

◆ const_iterator

typedef JointDisplacementArray::const_iterator cnoid::MprFkPosition::const_iterator

◆ iterator

typedef JointDisplacementArray::iterator cnoid::MprFkPosition::iterator

Constructor & Destructor Documentation

◆ MprFkPosition() [1/3]

MprFkPosition::MprFkPosition ( )

◆ MprFkPosition() [2/3]

MprFkPosition::MprFkPosition ( const GeneralId id)

◆ MprFkPosition() [3/3]

MprFkPosition::MprFkPosition ( const MprFkPosition org)

Member Function Documentation

◆ apply()

bool MprFkPosition::apply ( LinkKinematicsKit kinematicsKit) const
overridevirtual

Implements cnoid::MprPosition.

◆ begin() [1/2]

iterator cnoid::MprFkPosition::begin ( )
inline

◆ begin() [2/2]

const_iterator cnoid::MprFkPosition::begin ( ) const
inline

◆ checkIfPrismaticJoint()

bool cnoid::MprFkPosition::checkIfPrismaticJoint ( int  index) const
inline

◆ checkIfRevoluteJoint()

bool cnoid::MprFkPosition::checkIfRevoluteJoint ( int  index) const
inline

◆ doClone()

Referenced * MprFkPosition::doClone ( CloneMap cloneMap) const
overrideprotectedvirtual

◆ end() [1/2]

iterator cnoid::MprFkPosition::end ( )
inline

◆ end() [2/2]

const_iterator cnoid::MprFkPosition::end ( ) const
inline

◆ fetch()

bool MprFkPosition::fetch ( LinkKinematicsKit kinematicsKit)
overridevirtual

Implements cnoid::MprPosition.

◆ jointDisplacement() [1/2]

double& cnoid::MprFkPosition::jointDisplacement ( int  index)
inline

◆ jointDisplacement() [2/2]

double cnoid::MprFkPosition::jointDisplacement ( int  index) const
inline

◆ numJoints()

int cnoid::MprFkPosition::numJoints ( ) const
inline

◆ operator=()

MprFkPosition& cnoid::MprFkPosition::operator= ( const MprFkPosition rhs)
delete

◆ q() [1/2]

double& cnoid::MprFkPosition::q ( int  index)
inline

◆ q() [2/2]

double cnoid::MprFkPosition::q ( int  index) const
inline

◆ read()

bool MprFkPosition::read ( const Mapping archive)
overridevirtual

Reimplemented from cnoid::MprPosition.

◆ write()

bool MprFkPosition::write ( Mapping archive) const
overridevirtual

Reimplemented from cnoid::MprPosition.


The documentation for this class was generated from the following files: