|
Choreonoid
1.8
|
#include <BodyMotion.h>
Classes | |
| class | ConstFrame |
| class | Frame |
Public Types | |
| typedef std::map< std::string, std::shared_ptr< AbstractSeq > > | ExtraSeqMap |
| typedef ExtraSeqMap::const_iterator | ConstSeqIterator |
Public Member Functions | |
| BodyMotion () | |
| BodyMotion (const BodyMotion &org) | |
| BodyMotion & | operator= (const BodyMotion &rhs) |
| virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
| void | setDimension (int numFrames, int numJoints, int numLinks, bool clearNewArea=false) |
| void | setNumJoints (int numJoints, bool clearNewElements=false) |
| int | numLinks () const |
| int | numJoints () const |
| double | frameRate () const |
| virtual double | getFrameRate () const override |
| virtual void | setFrameRate (double frameRate) override |
| double | timeStep () const |
| virtual double | getOffsetTime () const override |
| virtual void | setOffsetTime (double time) override |
| int | numFrames () const |
| virtual int | getNumFrames () const override |
| virtual void | setNumFrames (int n, bool clearNewArea=false) override |
| std::shared_ptr< MultiSE3Seq > | linkPosSeq () |
| std::shared_ptr< const MultiSE3Seq > | linkPosSeq () const |
| std::shared_ptr< MultiValueSeq > | jointPosSeq () |
| std::shared_ptr< const MultiValueSeq > | jointPosSeq () const |
| Frame | frame (int frame) |
| ConstFrame | frame (int frame) const |
| bool | load (const std::string &filename, std::ostream &os=nullout()) |
| bool | save (const std::string &filename, std::ostream &os=nullout()) |
| bool | save (const std::string &filename, double version, std::ostream &os=nullout()) |
| ConstSeqIterator | extraSeqBegin () const |
| ConstSeqIterator | extraSeqEnd () const |
| template<class SeqType > | |
| std::shared_ptr< SeqType > | extraSeq (const std::string &name) const |
| void | setExtraSeq (const std::string &name, std::shared_ptr< AbstractSeq > seq) |
| template<class SeqType > | |
| std::shared_ptr< SeqType > | getOrCreateExtraSeq (const std::string &name) |
| void | clearExtraSeq (const std::string &name) |
| SignalProxy< void()> | sigExtraSeqsChanged () |
| void | setNumParts (int numJoints, bool clearNewElements=false) |
| int | getNumParts () const |
| bool | loadStandardYAMLformat (const std::string &filename, std::ostream &os=nullout()) |
| bool | saveAsStandardYAMLformat (const std::string &filename, std::ostream &os=nullout()) |
| virtual AbstractSeq & | operator= (const AbstractSeq &rhs) |
Public Member Functions inherited from cnoid::AbstractSeq | |
| virtual | ~AbstractSeq () |
| virtual AbstractSeq & | operator= (const AbstractSeq &rhs) |
| void | copySeqProperties (const AbstractSeq &source) |
| const std::string & | seqType () const |
| double | getTimeStep () const |
| void | setTimeStep (double timeStep) |
| double | getTimeOfFrame (int frame) const |
| int | getFrameOfTime (double time) const |
| int | getOffsetTimeFrame () const |
| void | setTimeLength (double length, bool clearNewElements=false) |
| double | getTimeLength () const |
| const std::string & | seqContentName () |
| virtual void | setSeqContentName (const std::string &name) |
| bool | readSeq (const Mapping *archive, std::ostream &os=nullout()) |
| bool | writeSeq (YAMLWriter &writer) |
| const std::string & | seqMessage () const |
| deprecated. Use the os parameter of readSeq to get messages in reading More... | |
Protected Member Functions | |
| virtual bool | doReadSeq (const Mapping *archive, std::ostream &os) override |
| virtual bool | doWriteSeq (YAMLWriter &writer, std::function< void()> additionalPartCallback) override |
Protected Member Functions inherited from cnoid::AbstractSeq | |
| AbstractSeq (const char *seqType) | |
| AbstractSeq (const AbstractSeq &org) | |
| void | setSeqType (const std::string &type) |
| void | clearSeqMessage () |
| deprecated. Use the os parameter of readSeq to get messages in reading More... | |
| void | addSeqMessage (const std::string &message) |
| deprecated. Use the os parameter of readSeq to get messages in reading More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cnoid::AbstractSeq | |
| static double | defaultFrameRate () |
| typedef ExtraSeqMap::const_iterator cnoid::BodyMotion::ConstSeqIterator |
| typedef std::map<std::string, std::shared_ptr<AbstractSeq> > cnoid::BodyMotion::ExtraSeqMap |
| BodyMotion::BodyMotion | ( | ) |
| BodyMotion::BodyMotion | ( | const BodyMotion & | org | ) |
| void BodyMotion::clearExtraSeq | ( | const std::string & | name | ) |
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractSeq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractSeq.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| double BodyMotion::frameRate | ( | ) | const |
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
inline |
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool BodyMotion::load | ( | const std::string & | filename, |
| std::ostream & | os = nullout() |
||
| ) |
|
inline |
| int BodyMotion::numFrames | ( | ) | const |
|
inline |
|
inline |
| AbstractSeq & AbstractSeq::operator= |
| BodyMotion & BodyMotion::operator= | ( | const BodyMotion & | rhs | ) |
| bool BodyMotion::save | ( | const std::string & | filename, |
| double | version, | ||
| std::ostream & | os = nullout() |
||
| ) |
| bool BodyMotion::save | ( | const std::string & | filename, |
| std::ostream & | os = nullout() |
||
| ) |
|
inline |
| void BodyMotion::setDimension | ( | int | numFrames, |
| int | numJoints, | ||
| int | numLinks, | ||
| bool | clearNewArea = false |
||
| ) |
| void BodyMotion::setExtraSeq | ( | const std::string & | name, |
| std::shared_ptr< AbstractSeq > | seq | ||
| ) |
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
overridevirtual |
Implements cnoid::AbstractSeq.
| void BodyMotion::setNumJoints | ( | int | numJoints, |
| bool | clearNewElements = false |
||
| ) |
|
inline |
|
overridevirtual |
Implements cnoid::AbstractSeq.
|
inline |
| double BodyMotion::timeStep | ( | ) | const |
1.8.17