Go to the documentation of this file.
6 #ifndef CNOID_BODY_ZMP_SEQ_H
7 #define CNOID_BODY_ZMP_SEQ_H
9 #include <cnoid/Vector3Seq>
10 #include "exportdecl.h"
19 static const std::string& key();
27 virtual std::shared_ptr<AbstractSeq> cloneSeq()
const override;
30 void setRootRelative(
bool on);
33 virtual bool doReadSeq(
const Mapping* archive, std::ostream& os)
override;
34 virtual bool doWriteSeq(
YAMLWriter& writer, std::function<
void()> additionalPartCallback)
override;
42 CNOID_EXPORT std::shared_ptr<ZMPSeq>
getZMPSeq(
const BodyMotion& motion);
45 CNOID_EXPORT
bool makeRootRelative(ZMPSeq& zmpseq, BodyMotion& motion,
bool on);
Definition: ValueTree.h:253
Definition: YAMLWriter.h:16
CNOID_EXPORT bool makeRootRelative(ZMPSeq &zmpseq, BodyMotion &motion, bool on)
Definition: ZMPSeq.cpp:121
bool isRootRelative() const
Definition: ZMPSeq.h:29
CNOID_EXPORT std::shared_ptr< ZMPSeq > getZMPSeq(const BodyMotion &motion)
Definition: ZMPSeq.cpp:103
Definition: AbstractSceneLoader.h:11
Definition: AbstractSeq.h:21
Vector3Seq BaseSeqType
Definition: ZMPSeq.h:17
CNOID_EXPORT std::shared_ptr< ZMPSeq > getOrCreateZMPSeq(BodyMotion &motion)
Definition: ZMPSeq.cpp:109
Definition: Vector3Seq.h:16
CNOID_EXPORT void clearZMPSeq(BodyMotion &motion)
Definition: ZMPSeq.cpp:115