Choreonoid
1.1
|
Parser for VRML97 format. [詳細]
#include <VrmlParser.h>
Public メソッド | |
VrmlParser (const std::string &filename) | |
VrmlParser () | |
~VrmlParser () | |
void | setProtoInstanceActualNodeExtractionMode (bool isOn) |
void | load (const std::string &filename) |
VrmlNodePtr | readNode () |
Parser for VRML97 format.
The VrmlParser class reads a VRML97 file and extract its nodes.
VrmlParser::VrmlParser | ( | const std::string & | filename | ) |
Constructor. This version of constructor do 'load' mehtod after constructing the object.
filename | file name of a target VRML97 file. |
VrmlParser::VrmlParser | ( | ) |
VrmlParser::~VrmlParser | ( | ) |
void VrmlParser::load | ( | const std::string & | filename | ) |
This function throws EasyScanner::Exception when an error occurs.
VrmlNodePtr VrmlParser::readNode | ( | ) |
This method returns the top node of the next node tree written in the file.
void VrmlParser::setProtoInstanceActualNodeExtractionMode | ( | bool | isOn | ) |