Choreonoid
1.8
|
#include <Vector3Seq.h>
Public Types | |
typedef Seq< Vector3 > | BaseSeqType |
typedef BaseSeqType::value_type | value_type |
Public Types inherited from cnoid::Seq< Vector3 > | |
typedef Vector3 | value_type |
Public Member Functions | |
Vector3Seq (int nFrames=0) | |
Vector3Seq (const Vector3Seq &org) | |
virtual | ~Vector3Seq () |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
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 AbstractSeq & | operator= (const AbstractSeq &rhs) override |
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... | |
Protected Member Functions | |
virtual Vector3 | defaultValue () const override |
virtual bool | doReadSeq (const Mapping *archive, std::ostream &os) override |
virtual bool | doWriteSeq (YAMLWriter &writer, std::function< void()> writeAdditionalPart) 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 | |
Static Public Member Functions inherited from cnoid::AbstractSeq | |
static double | defaultFrameRate () |
Protected Attributes inherited from cnoid::Seq< Vector3 > | |
std::vector< Vector3 > | container |
double | frameRate_ |
double | offsetTime_ |
typedef Seq<Vector3> cnoid::Vector3Seq::BaseSeqType |
Vector3Seq::Vector3Seq | ( | int | nFrames = 0 | ) |
Vector3Seq::Vector3Seq | ( | const Vector3Seq & | org | ) |
|
virtual |
|
overridevirtual |
Implements cnoid::AbstractSeq.
Reimplemented in cnoid::ZMPSeq.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractSeq.
Reimplemented in cnoid::ZMPSeq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractSeq.
Reimplemented in cnoid::ZMPSeq.
bool Vector3Seq::loadPlainFormat | ( | const std::string & | filename, |
std::ostream & | os = nullout() |
||
) |
bool Vector3Seq::saveAsPlainFormat | ( | const std::string & | filename, |
std::ostream & | os = nullout() |
||
) |