Choreonoid
1.8
|
#include <ZMPSeq.h>
Public Types | |
typedef Vector3Seq | BaseSeqType |
Public Types inherited from cnoid::Vector3Seq | |
typedef Seq< Vector3 > | BaseSeqType |
typedef BaseSeqType::value_type | value_type |
Public Types inherited from cnoid::Seq< Vector3 > | |
typedef Vector3 | value_type |
Public Member Functions | |
ZMPSeq (int nFrames=0) | |
ZMPSeq (const ZMPSeq &org) | |
ZMPSeq (const Vector3Seq &org) | |
virtual AbstractSeq & | operator= (const AbstractSeq &rhs) override |
ZMPSeq & | operator= (const ZMPSeq &rhs) |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
bool | isRootRelative () const |
void | setRootRelative (bool on) |
Public Member Functions inherited from cnoid::Vector3Seq | |
Vector3Seq (int nFrames=0) | |
Vector3Seq (const Vector3Seq &org) | |
virtual | ~Vector3Seq () |
bool | loadPlainFormat (const std::string &filename, std::ostream &os=nullout()) |
bool | saveAsPlainFormat (const std::string &filename, std::ostream &os=nullout()) |
Public Member Functions inherited from cnoid::Seq< Vector3 > | |
Seq (const char *seqType, int nFrames=0.0) | |
Seq (const SeqType &org) | |
SeqType & | operator= (const SeqType &rhs) |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
virtual | ~Seq () |
double | frameRate () const |
virtual double | getFrameRate () const override |
virtual void | setFrameRate (double frameRate) override |
int | numFrames () const |
virtual int | getNumFrames () const override |
virtual void | setNumFrames (int n, bool fillNewElements=false) override |
void | clear () |
bool | empty () const |
double | timeLength () const |
int | frameOfTime (double time) const |
int | lastFrameOfTime (double time) const |
double | timeOfFrame (int frame) const |
virtual double | getOffsetTime () const override |
virtual void | setOffsetTime (double time) override |
int | offsetTimeFrame () const |
void | setOffsetTimeFrame (int offset) |
Vector3 & | operator[] (int frameIndex) |
const Vector3 & | operator[] (int frameIndex) const |
Vector3 & | at (int frameIndex) |
const Vector3 & | at (int frameIndex) const |
Vector3 & | front () |
const Vector3 & | front () const |
Vector3 & | back () |
const Vector3 & | back () const |
int | clampFrameIndex (int frameIndex, bool &out_isValidRange) |
Public Member Functions inherited from cnoid::AbstractSeq | |
virtual | ~AbstractSeq () |
void | copySeqProperties (const AbstractSeq &source) |
const std::string & | seqType () const |
virtual double | getFrameRate () const =0 |
double | getTimeStep () const |
void | setTimeStep (double timeStep) |
double | getTimeOfFrame (int frame) const |
int | getFrameOfTime (double time) const |
virtual double | getOffsetTime () const =0 |
int | getOffsetTimeFrame () const |
virtual int | getNumFrames () const =0 |
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... | |
Static Public Member Functions | |
static const std::string & | key () |
Static Public Member Functions inherited from cnoid::AbstractSeq | |
static double | defaultFrameRate () |
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::Vector3Seq | |
virtual Vector3 | defaultValue () const override |
Protected Member Functions inherited from cnoid::Seq< Vector3 > | |
virtual Vector3 | defaultValue () const |
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 | |
Protected Attributes inherited from cnoid::Seq< Vector3 > | |
std::vector< Vector3 > | container |
double | frameRate_ |
double | offsetTime_ |
typedef Vector3Seq cnoid::ZMPSeq::BaseSeqType |
ZMPSeq::ZMPSeq | ( | int | nFrames = 0 | ) |
ZMPSeq::ZMPSeq | ( | const ZMPSeq & | org | ) |
ZMPSeq::ZMPSeq | ( | const Vector3Seq & | org | ) |
|
overridevirtual |
Reimplemented from cnoid::Vector3Seq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::Vector3Seq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::Vector3Seq.
|
inline |
|
static |
|
overridevirtual |
Reimplemented from cnoid::Seq< Vector3 >.
void ZMPSeq::setRootRelative | ( | bool | on | ) |