Choreonoid
1.8
|
#include <CollisionSeq.h>
Public Member Functions | |
CollisionSeq (CollisionSeqItem *collisionSeqItem) | |
bool | loadStandardYAMLformat (const std::string &filename, std::ostream &os=nullout()) |
bool | saveAsStandardYAMLformat (const std::string &filename) |
void | writeCollsionData (YAMLWriter &writer, std::shared_ptr< const CollisionLinkPairList > ptr) |
void | readCollisionData (int nFrames, const Listing &values) |
Public Member Functions inherited from cnoid::AbstractMultiSeq | |
AbstractMultiSeq (const char *seqType) | |
AbstractMultiSeq (const AbstractMultiSeq &org) | |
virtual | ~AbstractMultiSeq () |
AbstractMultiSeq & | operator= (const AbstractMultiSeq &rhs) |
virtual std::shared_ptr< AbstractSeq > | cloneSeq () const =0 |
void | copySeqProperties (const AbstractMultiSeq &source) |
virtual int | getNumParts () const =0 |
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 |
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... | |
Public Attributes | |
CollisionSeqItem * | collisionSeqItem_ |
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::AbstractMultiSeq | |
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) |
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 () |
CollisionSeq::CollisionSeq | ( | CollisionSeqItem * | collisionSeqItem | ) |
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractSeq.
|
overrideprotectedvirtual |
Reimplemented from cnoid::AbstractMultiSeq.
bool CollisionSeq::loadStandardYAMLformat | ( | const std::string & | filename, |
std::ostream & | os = nullout() |
||
) |
void CollisionSeq::readCollisionData | ( | int | nFrames, |
const Listing & | values | ||
) |
bool CollisionSeq::saveAsStandardYAMLformat | ( | const std::string & | filename | ) |
void CollisionSeq::writeCollsionData | ( | YAMLWriter & | writer, |
std::shared_ptr< const CollisionLinkPairList > | ptr | ||
) |
CollisionSeqItem* cnoid::CollisionSeq::collisionSeqItem_ |