Choreonoid
1.8
|
#include <MultiSeq.h>
Public Types | |
typedef Deque2D< ElementType, Allocator > | Container |
typedef Container::value_type | value_type |
typedef Container::Row | Frame |
typedef Container::Column | Part |
typedef value_type | Element |
Public Member Functions | |
MultiSeq (const char *seqType) | |
MultiSeq (const char *seqType, int numFrames, int numParts) | |
MultiSeq (const MultiSeqType &org) | |
virtual | ~MultiSeq () |
MultiSeqType & | operator= (const MultiSeqType &rhs) |
virtual AbstractSeq & | operator= (const AbstractSeq &rhs) override |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const override |
void | copySeqProperties (const MultiSeqType &source) |
virtual void | setDimension (int newNumFrames, int newNumParts, bool fillNewElements=false) override |
virtual double | getFrameRate () const override |
double | frameRate () const |
virtual void | setFrameRate (double frameRate) override |
const double | timeStep () const |
virtual void | setNumParts (int newNumParts, bool fillNewElements=false) override |
int | numFrames () const |
virtual int | getNumFrames () const override |
virtual void | setNumFrames (int newNumFrames, bool fillNewElements=false) override |
void | clearFrames () |
virtual int | getNumParts () const override |
int | numParts () const |
double | timeLength () const |
int | frameOfTime (double time) const |
double | timeOfFrame (int frame) const |
double | offsetTime () const |
virtual double | getOffsetTime () const override |
virtual void | setOffsetTime (double time) override |
int | offsetTimeFrame () const |
void | setOffsetTimeFrame (int offset) |
const Part | part (int index) const |
Part | part (int index) |
Frame | frame (int index) |
const Frame | frame (int index) const |
void | popFrontFrame () |
Frame | appendFrame () |
int | clampFrameIndex (int frameIndex) |
Public Member Functions inherited from cnoid::AbstractMultiSeq | |
AbstractMultiSeq (const char *seqType) | |
AbstractMultiSeq (const AbstractMultiSeq &org) | |
virtual | ~AbstractMultiSeq () |
AbstractMultiSeq & | operator= (const AbstractMultiSeq &rhs) |
void | copySeqProperties (const AbstractMultiSeq &source) |
virtual int | partIndex (const std::string &partLabel) const |
virtual const std::string & | partLabel (int partIndex) const |
virtual AbstractSeq & | operator= (const AbstractSeq &rhs) |
Public Member Functions inherited from cnoid::AbstractSeq | |
virtual | ~AbstractSeq () |
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 value_type | defaultValue () const |
Protected Member Functions inherited from cnoid::AbstractMultiSeq | |
virtual bool | doWriteSeq (YAMLWriter &writer, std::function< void()> additionalPartCallback) |
std::vector< std::string > | readSeqPartLabels (const Mapping *archive) |
bool | writeSeqPartLabels (YAMLWriter &writer) |
Protected Member Functions inherited from cnoid::AbstractSeq | |
AbstractSeq (const char *seqType) | |
AbstractSeq (const AbstractSeq &org) | |
void | setSeqType (const std::string &type) |
virtual bool | doReadSeq (const Mapping *archive, std::ostream &os) |
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... | |
Protected Attributes | |
double | frameRate_ |
double | offsetTime_ |
Additional Inherited Members | |
Static Public Member Functions inherited from cnoid::AbstractSeq | |
static double | defaultFrameRate () |
typedef Deque2D<ElementType, Allocator> cnoid::MultiSeq< ElementType, Allocator >::Container |
typedef value_type cnoid::MultiSeq< ElementType, Allocator >::Element |
typedef Container::Row cnoid::MultiSeq< ElementType, Allocator >::Frame |
typedef Container::Column cnoid::MultiSeq< ElementType, Allocator >::Part |
typedef Container::value_type cnoid::MultiSeq< ElementType, Allocator >::value_type |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements cnoid::AbstractMultiSeq.
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractMultiSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from cnoid::AbstractSeq.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements cnoid::AbstractMultiSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractMultiSeq.
|
inlineoverridevirtual |
Implements cnoid::AbstractSeq.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |