Choreonoid  1.8
AbstractSceneLoader.h
Go to the documentation of this file.
1 
4 #ifndef CNOID_UTIL_ABSTRACT_SCENE_LOADER_H
5 #define CNOID_UTIL_ABSTRACT_SCENE_LOADER_H
6 
7 #include "SceneGraph.h"
8 #include <iosfwd>
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 class CNOID_EXPORT AbstractSceneLoader
14 {
15 public:
16  virtual ~AbstractSceneLoader();
17  virtual void setMessageSink(std::ostream& os);
18  virtual void setDefaultDivisionNumber(int n);
19  virtual void setDefaultCreaseAngle(double theta);
20  virtual SgNode* load(const std::string& filename) = 0;
21 };
22 
23 }
24 
25 #endif
cnoid::AbstractSceneLoader
Definition: AbstractSceneLoader.h:13
cnoid
Definition: AbstractSceneLoader.h:11
SceneGraph.h
cnoid::SgNode
Definition: SceneGraph.h:157