Choreonoid  1.1
公開メンバ関数 | 全メンバ一覧
cnoid::VrmlParser クラス

Parser for VRML97 format. [詳解]

#include <VrmlParser.h>

公開メンバ関数

 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.

引数
filenamefile 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)

このクラス詳解は次のファイルから抽出されました: