Choreonoid  1.1
Public メソッド | すべてのメンバ一覧
クラス cnoid::VrmlParser

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.

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

このクラスの説明は次のファイルから生成されました: