Choreonoid  1.5
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cnoid::ZMPSeq Class Reference

#include <ZMPSeq.h>

Inheritance diagram for cnoid::ZMPSeq:
cnoid::Vector3Seq cnoid::Seq< Vector3 > cnoid::AbstractSeq

Public Member Functions

 ZMPSeq (int nFrames=0)
 
 ZMPSeq (const ZMPSeq &org)
 
 ZMPSeq (const Vector3Seq &org)
 
ZMPSeqoperator= (const ZMPSeq &rhs)
 
virtual AbstractSeqoperator= (const AbstractSeq &rhs)
 
virtual AbstractSeqPtr cloneSeq () const
 
bool isRootRelative () const
 
void setRootRelative (bool on)
 
- Public Member Functions inherited from cnoid::Vector3Seq
 Vector3Seq (int nFrames=0)
 
 Vector3Seq (const Vector3Seq &org)
 
virtual ~Vector3Seq ()
 
virtual bool loadPlainFormat (const std::string &filename)
 
virtual bool saveAsPlainFormat (const std::string &filename)
 
- Public Member Functions inherited from cnoid::Seq< Vector3 >
 Seq (const char *seqType, int nFrames=0.0)
 
 Seq (const SeqType &org)
 
SeqTypeoperator= (const SeqType &rhs)
 
virtual ~Seq ()
 
virtual double getFrameRate () const
 
double frameRate () const
 
virtual void setFrameRate (double frameRate)
 
virtual int getNumFrames () const
 
int numFrames () const
 
virtual void setNumFrames (int n, bool clearNewElements=false)
 
bool empty () const
 
int frameOfTime (double time) const
 
double timeOfFrame (int frame) const
 
Vector3operator[] (int frameIndex)
 
const Vector3operator[] (int frameIndex) const
 
Vector3at (int frameIndex)
 
const Vector3at (int frameIndex) 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
 
double getTimeStep () const
 
void setTimeStep (double timeStep)
 
double getTimeOfFrame (int frame)
 
virtual int getOffsetTimeFrame () const
 
double getOffsetTime () const
 
void setTimeLength (double length, bool clearNewElements=false)
 
double getTimeLength () const
 
const std::string & seqContentName ()
 
virtual void setSeqContentName (const std::string &content)
 
bool readSeq (const Mapping &archive)
 
bool writeSeq (YAMLWriter &writer)
 
const std::string & seqMessage () const
 

Static Public Member Functions

static const std::string & key ()
 
- Static Public Member Functions inherited from cnoid::AbstractSeq
static const double defaultFrameRate ()
 

Protected Member Functions

virtual bool doWriteSeq (YAMLWriter &writer)
 
virtual bool doReadSeq (const Mapping &archive)
 
- Protected Member Functions inherited from cnoid::Vector3Seq
virtual Vector3 defaultValue () const
 
- Protected Member Functions inherited from cnoid::AbstractSeq
 AbstractSeq (const char *seqType)
 
 AbstractSeq (const AbstractSeq &org)
 
bool checkSeqContent (const Mapping &archive, const std::string contentName, bool throwEx=false)
 
void clearSeqMessage ()
 
void addSeqMessage (const std::string &message)
 

Additional Inherited Members

- Public Types inherited from cnoid::Vector3Seq
typedef Seq< Vector3BaseSeqType
 
- Public Types inherited from cnoid::Seq< Vector3 >
typedef boost::shared_ptr< SeqTypePtr
 
- Protected Attributes inherited from cnoid::Seq< Vector3 >
std::vector< Vector3container
 
double frameRate_
 

Constructor & Destructor Documentation

ZMPSeq::ZMPSeq ( int  nFrames = 0)
ZMPSeq::ZMPSeq ( const ZMPSeq org)
ZMPSeq::ZMPSeq ( const Vector3Seq org)

Member Function Documentation

AbstractSeqPtr ZMPSeq::cloneSeq ( ) const
virtual

Reimplemented from cnoid::Vector3Seq.

bool ZMPSeq::doReadSeq ( const Mapping archive)
protectedvirtual

Reimplemented from cnoid::Vector3Seq.

bool ZMPSeq::doWriteSeq ( YAMLWriter writer)
protectedvirtual

Reimplemented from cnoid::Vector3Seq.

bool cnoid::ZMPSeq::isRootRelative ( ) const
inline
const std::string & ZMPSeq::key ( )
static
ZMPSeq & ZMPSeq::operator= ( const ZMPSeq rhs)
AbstractSeq & ZMPSeq::operator= ( const AbstractSeq rhs)
virtual

Reimplemented from cnoid::Seq< Vector3 >.

void ZMPSeq::setRootRelative ( bool  on)

The documentation for this class was generated from the following files: