Choreonoid  1.5
ZMPSeqItem.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BODYPLUGIN_ZMPSEQ_ITEM_H_INCLUDED
7 #define CNOID_BODYPLUGIN_ZMPSEQ_ITEM_H_INCLUDED
8 
9 #include <cnoid/Vector3SeqItem>
10 #include <cnoid/ZMPSeq>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
15 class ExtensionManager;
16 
18 {
19 public:
20  static void initializeClass(ExtensionManager* ext);
21 
22  ZMPSeqItem();
23  ZMPSeqItem(ZMPSeqPtr seq);
24  ZMPSeqItem(const ZMPSeqItem& org);
25 
26  const ZMPSeqPtr& zmpseq() { return zmpseq_; }
27 
28  bool makeRootRelative(bool on);
29 
30 protected:
31  virtual ~ZMPSeqItem();
32  virtual Item* doDuplicate() const;
33  virtual void doPutProperties(PutPropertyFunction& putProperty);
34 
35 private:
36  ZMPSeqPtr zmpseq_;
37 };
38 
40 }
41 
42 #endif
boost::shared_ptr< ZMPSeq > ZMPSeqPtr
Definition: ZMPSeq.h:39
const ZMPSeqPtr & zmpseq()
Definition: ZMPSeqItem.h:26
CNOID_EXPORT bool makeRootRelative(ZMPSeq &zmpseq, BodyMotion &motion, bool on)
Definition: ZMPSeq.cpp:120
Definition: ExtensionManager.h:26
Definition: Vector3SeqItem.h:15
ref_ptr< ZMPSeqItem > ZMPSeqItemPtr
Definition: ZMPSeqItem.h:39
Definition: PutPropertyFunction.h:35
Definition: ZMPSeqItem.h:17
Definition: Referenced.h:128
Definition: Item.h:38
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37