6 #ifndef CNOID_BODY_COLLISION_SEQ_H
7 #define CNOID_BODY_COLLISION_SEQ_H
9 #include <cnoid/CollisionLinkPair>
10 #include <cnoid/MultiSeq>
11 #include <cnoid/YAMLWriter>
12 #include "exportdecl.h"
29 using BaseSeqType::operator=;
31 bool loadStandardYAMLformat(
const std::string& filename, std::ostream& os =
nullout());
32 bool saveAsStandardYAMLformat(
const std::string& filename);
33 void writeCollsionData(
YAMLWriter& writer, std::shared_ptr<const CollisionLinkPairList> ptr);
34 void readCollisionData(
int nFrames,
const Listing& values);
37 virtual bool doReadSeq(
const Mapping* archive, std::ostream& os)
override;
38 virtual bool doWriteSeq(
YAMLWriter& writer, std::function<
void()> additionalPartCallback)
override;