Choreonoid  1.8
Vector3SeqItem.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BASE_VECTOR3_SEQ_ITEM_H
7 #define CNOID_BASE_VECTOR3_SEQ_ITEM_H
8 
9 #include "AbstractSeqItem.h"
10 #include <cnoid/Vector3Seq>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
15 class CNOID_EXPORT Vector3SeqItem : public AbstractSeqItem
16 {
17 public:
18  static void initializeClass(ExtensionManager* ext);
19 
21  Vector3SeqItem(const Vector3SeqItem& org);
22  Vector3SeqItem(std::shared_ptr<Vector3Seq> seq);
23 
24  virtual std::shared_ptr<AbstractSeq> abstractSeq() override;
25 
26  std::shared_ptr<Vector3Seq> seq() { return seq_; }
27 
28  bool loadPlainFormat(const std::string& filename);
29  bool saveAsPlainFormat(const std::string& filename);
30 
31 protected:
35  Vector3SeqItem(const Vector3SeqItem& org, std::shared_ptr<Vector3Seq> cloneSeq);
36 
37  virtual ~Vector3SeqItem();
38 
39  virtual Item* doDuplicate() const override;
40 
41  std::shared_ptr<Vector3Seq> seq_;
42 };
43 
45 }
46 
47 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::Vector3SeqItem::seq_
std::shared_ptr< Vector3Seq > seq_
Definition: Vector3SeqItem.h:41
AbstractSeqItem.h
cnoid::Vector3SeqItem::seq
std::shared_ptr< Vector3Seq > seq()
Definition: Vector3SeqItem.h:26
cnoid::ref_ptr
Definition: Referenced.h:103
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::Item
Definition: Item.h:29
cnoid::Vector3SeqItem
Definition: Vector3SeqItem.h:15
cnoid::AbstractSeqItem
Definition: AbstractSeqItem.h:15
cnoid::Vector3SeqItemPtr
ref_ptr< Vector3SeqItem > Vector3SeqItemPtr
Definition: Vector3SeqItem.h:44