#include <AbstractSeq.h>
◆ AbstractSeq() [1/2]
AbstractSeq::AbstractSeq |
( |
const char * |
seqType | ) |
|
|
protected |
◆ AbstractSeq() [2/2]
◆ ~AbstractSeq()
AbstractSeq::~AbstractSeq |
( |
| ) |
|
|
virtual |
◆ addSeqMessage()
void cnoid::AbstractSeq::addSeqMessage |
( |
const std::string & |
message | ) |
|
|
inlineprotected |
deprecated. Use the os parameter of readSeq to get messages in reading
◆ clearSeqMessage()
void cnoid::AbstractSeq::clearSeqMessage |
( |
| ) |
|
|
inlineprotected |
deprecated. Use the os parameter of readSeq to get messages in reading
◆ cloneSeq()
virtual std::shared_ptr<AbstractSeq> cnoid::AbstractSeq::cloneSeq |
( |
| ) |
const |
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::Seq< ElementType >, cnoid::MultiSE3Seq, cnoid::MultiSE3MatrixSeq, cnoid::MultiDeviceStateSeq, cnoid::MultiVector3Seq, cnoid::BodyMotion, cnoid::Vector3Seq, cnoid::ZMPSeq, cnoid::MultiValueSeq, cnoid::ReferencedObjectSeq, and cnoid::AbstractMultiSeq.
◆ copySeqProperties()
void AbstractSeq::copySeqProperties |
( |
const AbstractSeq & |
source | ) |
|
◆ defaultFrameRate()
double AbstractSeq::defaultFrameRate |
( |
| ) |
|
|
static |
◆ doReadSeq()
bool AbstractSeq::doReadSeq |
( |
const Mapping * |
archive, |
|
|
std::ostream & |
os |
|
) |
| |
|
protectedvirtual |
◆ doWriteSeq()
bool AbstractSeq::doWriteSeq |
( |
YAMLWriter & |
writer, |
|
|
std::function< void()> |
additionalPartCallback |
|
) |
| |
|
protectedvirtual |
◆ getFrameOfTime()
int AbstractSeq::getFrameOfTime |
( |
double |
time | ) |
const |
◆ getFrameRate()
virtual double cnoid::AbstractSeq::getFrameRate |
( |
| ) |
const |
|
pure virtual |
◆ getNumFrames()
virtual int cnoid::AbstractSeq::getNumFrames |
( |
| ) |
const |
|
pure virtual |
◆ getOffsetTime()
virtual double cnoid::AbstractSeq::getOffsetTime |
( |
| ) |
const |
|
pure virtual |
◆ getOffsetTimeFrame()
int AbstractSeq::getOffsetTimeFrame |
( |
| ) |
const |
◆ getTimeLength()
double AbstractSeq::getTimeLength |
( |
| ) |
const |
This function returns the duration of the sequence.
- Note
- Valid data exists for time less than this time. You must not access to the frame corresponding to this time because there is no data at the time.
◆ getTimeOfFrame()
double AbstractSeq::getTimeOfFrame |
( |
int |
frame | ) |
const |
◆ getTimeStep()
double AbstractSeq::getTimeStep |
( |
| ) |
const |
◆ operator=()
Reimplemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >, cnoid::Seq< ElementType >, cnoid::Seq< ReferencedPtr >, cnoid::Seq< Vector3 >, and cnoid::ZMPSeq.
◆ readSeq()
bool AbstractSeq::readSeq |
( |
const Mapping * |
archive, |
|
|
std::ostream & |
os = nullout() |
|
) |
| |
◆ seqContentName()
const std::string& cnoid::AbstractSeq::seqContentName |
( |
| ) |
|
|
inline |
◆ seqMessage()
const std::string & AbstractSeq::seqMessage |
( |
| ) |
const |
deprecated. Use the os parameter of readSeq to get messages in reading
◆ seqType()
const std::string& cnoid::AbstractSeq::seqType |
( |
| ) |
const |
|
inline |
◆ setFrameRate()
virtual void cnoid::AbstractSeq::setFrameRate |
( |
double |
frameRate | ) |
|
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >, cnoid::Seq< ElementType >, cnoid::Seq< ReferencedPtr >, cnoid::Seq< Vector3 >, and cnoid::BodyMotion.
◆ setNumFrames()
virtual void cnoid::AbstractSeq::setNumFrames |
( |
int |
n, |
|
|
bool |
clearNewElements = false |
|
) |
| |
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >, cnoid::Seq< ElementType >, cnoid::Seq< ReferencedPtr >, cnoid::Seq< Vector3 >, and cnoid::BodyMotion.
◆ setOffsetTime()
virtual void cnoid::AbstractSeq::setOffsetTime |
( |
double |
time | ) |
|
|
pure virtual |
Implemented in cnoid::MultiSeq< ElementType, Allocator >, cnoid::MultiSeq< DeviceStatePtr >, cnoid::MultiSeq< SE3, Eigen::aligned_allocator< SE3 > >, cnoid::MultiSeq< double >, cnoid::MultiSeq< Isometry3, Eigen::aligned_allocator< Isometry3 > >, cnoid::MultiSeq< Vector3, Eigen::aligned_allocator< Vector3 > >, cnoid::MultiSeq< std::shared_ptr< CollisionLinkPairList > >, cnoid::Seq< ElementType >, cnoid::Seq< ReferencedPtr >, cnoid::Seq< Vector3 >, and cnoid::BodyMotion.
◆ setSeqContentName()
void AbstractSeq::setSeqContentName |
( |
const std::string & |
name | ) |
|
|
virtual |
◆ setSeqType()
void AbstractSeq::setSeqType |
( |
const std::string & |
type | ) |
|
|
protected |
◆ setTimeLength()
void cnoid::AbstractSeq::setTimeLength |
( |
double |
length, |
|
|
bool |
clearNewElements = false |
|
) |
| |
|
inline |
◆ setTimeStep()
void AbstractSeq::setTimeStep |
( |
double |
timeStep | ) |
|
◆ writeSeq()
The documentation for this class was generated from the following files: