Choreonoid  1.8
VRMLBodyLoader.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BODY_VRML_BODY_LOADER_H
7 #define CNOID_BODY_VRML_BODY_LOADER_H
8 
9 #include "AbstractBodyLoader.h"
10 #include <cnoid/VRML>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
15 class Link;
16 class VRMLBodyLoaderImpl;
17 
18 class CNOID_EXPORT VRMLBodyLoader : public AbstractBodyLoader
19 {
20 public:
22  ~VRMLBodyLoader();
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  VRMLNodePtr getOriginalNode(Link* link);
29 
30 private:
31  VRMLBodyLoaderImpl* impl;
32 };
33 
34 }
35 
36 #endif
AbstractBodyLoader.h
cnoid::ref_ptr< VRMLNode >
cnoid::VRMLBodyLoader
Definition: VRMLBodyLoader.h:18
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::AbstractBodyLoader
Definition: AbstractBodyLoader.h:18
cnoid::Body
Definition: Body.h:28