Choreonoid  1.5
VRMLParser.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_UTIL_VRML_PARSER_H
7 #define CNOID_UTIL_VRML_PARSER_H
8 
9 #include "VRML.h"
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class VRMLParserImpl;
15 
22 {
23 public:
24 
31  VRMLParser(const std::string& filename);
32  VRMLParser();
33  ~VRMLParser();
34 
35  void setProtoInstanceActualNodeExtractionMode(bool isOn);
36  void load(const std::string& filename);
37 
41  VRMLNodePtr readNode();
42 
43  void checkEOF();
44 
45 private:
46  VRMLParserImpl* impl;
47  void init();
48 };
49 };
50 
51 #endif
Parser for VRML97 format.
Definition: VRMLParser.h:21
boost::intrusive_ptr< VRMLNode > VRMLNodePtr
Definition: VRML.h:132
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37