Public Member Functions | Private Member Functions | Private Attributes | List of all members
hrp::VrmlParser Class Reference

Parser for VRML97 format. More...

#include <VrmlParser.h>

Public Member Functions

void load (const std::string &filename)
 
VrmlNodePtr readNode ()
 
void setProtoInstanceActualNodeExtractionMode (bool isOn)
 
 VrmlParser (const std::string &filename)
 
 VrmlParser ()
 
 ~VrmlParser ()
 

Private Member Functions

void init ()
 

Private Attributes

VrmlParserImplimpl
 

Detailed Description

Parser for VRML97 format.

The VrmlParser class reads a VRML97 file and extract its nodes.

Definition at line 30 of file VrmlParser.h.

Constructor & Destructor Documentation

hrp::VrmlParser::VrmlParser ( const std::string &  filename)

Constructor. This version of constructor do 'load' mehtod after constructing the object.

Parameters
filenamefile name of a target VRML97 file.
VrmlParser::VrmlParser ( )

Definition at line 414 of file VrmlParser.cpp.

VrmlParser::~VrmlParser ( )

Definition at line 447 of file VrmlParser.cpp.

Member Function Documentation

void VrmlParser::init ( )
private

Definition at line 428 of file VrmlParser.cpp.

void VrmlParser::load ( const std::string &  filename)

This function throws EasyScanner::Exception when an error occurs.

Definition at line 463 of file VrmlParser.cpp.

VrmlNodePtr VrmlParser::readNode ( )

This method returns the top node of the next node tree written in the file.

Definition at line 496 of file VrmlParser.cpp.

void VrmlParser::setProtoInstanceActualNodeExtractionMode ( bool  isOn)

Definition at line 453 of file VrmlParser.cpp.

Member Data Documentation

VrmlParserImpl* hrp::VrmlParser::impl
private

Definition at line 53 of file VrmlParser.h.


The documentation for this class was generated from the following files:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45