Choreonoid  1.5
YAMLBodyLoader.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BODY_YAML_BODY_LOADER_H
7 #define CNOID_BODY_YAML_BODY_LOADER_H
8 
9 #include "AbstractBodyLoader.h"
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class Mapping;
15 class YAMLBodyLoaderImpl;
16 
18 {
19 public:
21  ~YAMLBodyLoader();
22  virtual const char* format() const;
23  virtual void setMessageSink(std::ostream& os);
24  virtual void setVerbose(bool on);
25  virtual void enableShapeLoading(bool on);
26  virtual void setDefaultDivisionNumber(int n);
27  virtual bool load(Body* body, const std::string& filename);
28 
29  bool read(Body* body, Mapping* data);
30 
31 private:
32  YAMLBodyLoaderImpl* impl;
33 };
34 
35 }
36 
37 #endif
Definition: Body.h:28
Definition: ValueTree.h:224
Definition: YAMLBodyLoader.h:17
void read(const Listing &listing, Eigen::MatrixBase< Derived > &x)
Definition: EigenArchive.h:17
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
Definition: AbstractBodyLoader.h:17
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37