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

Public Types

typedef map< VrmlProto *, EasyScannerPtrProtoToEntityScannerMap
 
typedef map< string, VrmlNodePtrTDefNodeMap
 
typedef pair< string, VrmlNodePtrTDefNodePair
 
typedef map< string, VrmlProtoPtrTProtoMap
 
typedef pair< string, VrmlProtoPtrTProtoPair
 

Public Member Functions

void checkIndexedFaceSet (VrmlIndexedFaceSetPtr node)
 
VrmlProtoPtr defineProto ()
 
VrmlNodePtr evalProtoInstance (VrmlProtoInstancePtr proto, VrmlNodeCategory nodeCategory)
 
void load (const string &filename)
 
VrmlNodePtr newInlineSource (std::string &io_filename)
 
VrmlAnchorPtr readAnchorNode ()
 
VrmlAppearancePtr readAppearanceNode ()
 
VrmlBackgroundPtr readBackgroundNode ()
 
VrmlBillboardPtr readBillboardNode ()
 
VrmlBoxPtr readBoxNode ()
 
VrmlCollisionPtr readCollisionNode ()
 
VrmlColorPtr readColorNode ()
 
VrmlConePtr readConeNode ()
 
VrmlCoordinatePtr readCoordNode ()
 
VrmlCylinderPtr readCylinderNode ()
 
VrmlCylinderSensorPtr readCylinderSensorNode ()
 
VrmlDirectionalLightPtr readDirectionalLightNode ()
 
VrmlElevationGridPtr readElevationGridNode ()
 
VrmlExtrusionPtr readExtrusionNode ()
 
VrmlFogPtr readFogNode ()
 
VrmlFontStylePtr readFontStyleNode ()
 
VrmlGroupPtr readGroupNode ()
 
VrmlImageTexturePtr readImageTextureNode ()
 
VrmlIndexedFaceSetPtr readIndexedFaceSetNode ()
 
VrmlIndexedLineSetPtr readIndexedLineSetNode ()
 
VrmlNodePtr readInlineNode (VrmlNodeCategory nodeCategory)
 
VrmlLODPtr readLODNode ()
 
VrmlMaterialPtr readMaterialNode ()
 
void readMFColor (MFColor &out_value)
 
void readMFFloat (MFFloat &out_value)
 
void readMFInt32 (MFInt32 &out_value)
 
void readMFNode (MFNode &out_nodes, VrmlNodeCategory nodeCategory)
 
void readMFRotation (MFRotation &out_value)
 
void readMFString (MFString &out_value)
 
void readMFTime (MFTime &out_value)
 
void readMFVec2f (MFVec2f &out_value)
 
void readMFVec3f (MFVec3f &out_value)
 
VrmlMovieTexturePtr readMovieTextureNode ()
 
VrmlNavigationInfoPtr readNavigationInfoNode ()
 
VrmlNodePtr readNode (VrmlNodeCategory nodeCategory)
 
VrmlNormalPtr readNormalNode ()
 
VrmlPixelTexturePtr readPixelTextureNode ()
 
VrmlPointLightPtr readPointLightNode ()
 
VrmlPointSetPtr readPointSetNode ()
 
VrmlVariantFieldreadProtoField (VrmlFieldTypeId fieldTypeId)
 
VrmlProtoInstancePtr readProtoInstanceNode (const std::string &proto_name, VrmlNodeCategory nodeCategory)
 
void readSFBool (SFBool &out_value)
 
void readSFColor (SFColor &out_value)
 
void readSFFloat (SFFloat &out_value)
 
void readSFImage (SFImage &out_image)
 read "SFImage" node More...
 
void readSFInt32 (SFInt32 &out_value)
 
void readSFNode (SFNode &out_node, VrmlNodeCategory nodeCategory)
 
SFNode readSFNode (VrmlNodeCategory nodeCategory)
 
void readSFRotation (SFRotation &out_value)
 
void readSFString (SFString &out_value)
 
void readSFTime (SFTime &out_value)
 
void readSFVec2f (SFVec2f &out_value)
 
void readSFVec3f (SFVec3f &out_value)
 
VrmlShapePtr readShapeNode ()
 
VrmlNodePtr readSpecificNode (VrmlNodeCategory nodeCategory, int symbol, const std::string &symbolString)
 
VrmlSpherePtr readSphereNode ()
 
VrmlSpotLightPtr readSpotLightNode ()
 
VrmlSwitchPtr readSwitchNode ()
 
VrmlTextPtr readTextNode ()
 
VrmlTextureCoordinatePtr readTextureCoordinateNode ()
 
VrmlTextureTransformPtr readTextureTransformNode ()
 
VrmlTransformPtr readTransformNode ()
 
VrmlViewpointPtr readViewpointNode ()
 
VrmlWorldInfoPtr readWorldInfoNode ()
 
VrmlUnsupportedNodePtr skipExternProto ()
 
VrmlUnsupportedNodePtr skipScriptNode ()
 
VrmlUnsupportedNodePtr skipUnsupportedNode (const std::string &nodeTypeName)
 
 VrmlParserImpl (VrmlParser *self)
 

Public Attributes

VrmlProtoInstancePtr currentProtoInstance
 
TDefNodeMap defNodeMap
 
bool protoInstanceActualNodeExtractionMode
 
TProtoMap protoMap
 
ProtoToEntityScannerMap protoToEntityScannerMap
 
EasyScannerPtr scanner
 
VrmlParserself
 

Private Member Functions

const list< string > * getAncestorPathsList () const
 
void init ()
 
void setSymbols ()
 
 VrmlParserImpl (const VrmlParserImpl &self, const list< string > &ref)
 

Private Attributes

list< string > ancestorPathsList
 

Detailed Description

Definition at line 304 of file VrmlParser.cpp.

Member Typedef Documentation

Definition at line 315 of file VrmlParser.cpp.

Definition at line 318 of file VrmlParser.cpp.

Definition at line 319 of file VrmlParser.cpp.

Definition at line 320 of file VrmlParser.cpp.

Definition at line 321 of file VrmlParser.cpp.

Constructor & Destructor Documentation

VrmlParserImpl::VrmlParserImpl ( VrmlParser self)

Definition at line 435 of file VrmlParser.cpp.

VrmlParserImpl::VrmlParserImpl ( const VrmlParserImpl self,
const list< string > &  ref 
)
private

Definition at line 440 of file VrmlParser.cpp.

Member Function Documentation

void VrmlParserImpl::checkIndexedFaceSet ( VrmlIndexedFaceSetPtr  node)

Definition at line 1884 of file VrmlParser.cpp.

VrmlProtoPtr VrmlParserImpl::defineProto ( )

Definition at line 817 of file VrmlParser.cpp.

VrmlNodePtr VrmlParserImpl::evalProtoInstance ( VrmlProtoInstancePtr  proto,
VrmlNodeCategory  nodeCategory 
)

Definition at line 970 of file VrmlParser.cpp.

const list< string >* hrp::VrmlParserImpl::getAncestorPathsList ( ) const
inlineprivate

Definition at line 406 of file VrmlParser.cpp.

void VrmlParserImpl::init ( )
private

Definition at line 2533 of file VrmlParser.cpp.

void VrmlParserImpl::load ( const string &  filename)

Definition at line 469 of file VrmlParser.cpp.

VrmlNodePtr VrmlParserImpl::newInlineSource ( std::string &  io_filename)

Definition at line 765 of file VrmlParser.cpp.

VrmlAnchorPtr VrmlParserImpl::readAnchorNode ( )

Definition at line 1463 of file VrmlParser.cpp.

VrmlAppearancePtr VrmlParserImpl::readAppearanceNode ( )

Definition at line 2035 of file VrmlParser.cpp.

VrmlBackgroundPtr VrmlParserImpl::readBackgroundNode ( )

Definition at line 1040 of file VrmlParser.cpp.

VrmlBillboardPtr VrmlParserImpl::readBillboardNode ( )

Definition at line 1529 of file VrmlParser.cpp.

VrmlBoxPtr VrmlParserImpl::readBoxNode ( )

Definition at line 1704 of file VrmlParser.cpp.

VrmlCollisionPtr VrmlParserImpl::readCollisionNode ( )

Definition at line 1428 of file VrmlParser.cpp.

VrmlColorPtr VrmlParserImpl::readColorNode ( )

Definition at line 2007 of file VrmlParser.cpp.

VrmlConePtr VrmlParserImpl::readConeNode ( )

Definition at line 1718 of file VrmlParser.cpp.

VrmlCoordinatePtr VrmlParserImpl::readCoordNode ( )

Definition at line 1979 of file VrmlParser.cpp.

VrmlCylinderPtr VrmlParserImpl::readCylinderNode ( )

Definition at line 1739 of file VrmlParser.cpp.

VrmlCylinderSensorPtr VrmlParserImpl::readCylinderSensorNode ( )

Definition at line 1140 of file VrmlParser.cpp.

VrmlDirectionalLightPtr VrmlParserImpl::readDirectionalLightNode ( )

Definition at line 1627 of file VrmlParser.cpp.

VrmlElevationGridPtr VrmlParserImpl::readElevationGridNode ( )

Definition at line 1256 of file VrmlParser.cpp.

VrmlExtrusionPtr VrmlParserImpl::readExtrusionNode ( )

Definition at line 1323 of file VrmlParser.cpp.

VrmlFogPtr VrmlParserImpl::readFogNode ( )

Definition at line 1502 of file VrmlParser.cpp.

VrmlFontStylePtr VrmlParserImpl::readFontStyleNode ( )

Definition at line 1796 of file VrmlParser.cpp.

VrmlGroupPtr VrmlParserImpl::readGroupNode ( )

Definition at line 1067 of file VrmlParser.cpp.

VrmlImageTexturePtr VrmlParserImpl::readImageTextureNode ( )

Definition at line 2079 of file VrmlParser.cpp.

VrmlIndexedFaceSetPtr VrmlParserImpl::readIndexedFaceSetNode ( )

Definition at line 1844 of file VrmlParser.cpp.

VrmlIndexedLineSetPtr VrmlParserImpl::readIndexedLineSetNode ( )

Definition at line 1822 of file VrmlParser.cpp.

VrmlNodePtr VrmlParserImpl::readInlineNode ( VrmlNodeCategory  nodeCategory)

Definition at line 745 of file VrmlParser.cpp.

VrmlLODPtr VrmlParserImpl::readLODNode ( )

Definition at line 1401 of file VrmlParser.cpp.

VrmlMaterialPtr VrmlParserImpl::readMaterialNode ( )

Definition at line 2056 of file VrmlParser.cpp.

void VrmlParserImpl::readMFColor ( MFColor out_value)

Definition at line 2314 of file VrmlParser.cpp.

void VrmlParserImpl::readMFFloat ( MFFloat out_value)

Definition at line 2182 of file VrmlParser.cpp.

void VrmlParserImpl::readMFInt32 ( MFInt32 out_value)

Definition at line 2150 of file VrmlParser.cpp.

void VrmlParserImpl::readMFNode ( MFNode out_nodes,
VrmlNodeCategory  nodeCategory 
)

Definition at line 2504 of file VrmlParser.cpp.

void VrmlParserImpl::readMFRotation ( MFRotation out_value)

Definition at line 2353 of file VrmlParser.cpp.

void VrmlParserImpl::readMFString ( MFString out_value)

Definition at line 2214 of file VrmlParser.cpp.

void VrmlParserImpl::readMFTime ( MFTime out_value)

Definition at line 2456 of file VrmlParser.cpp.

void VrmlParserImpl::readMFVec2f ( MFVec2f out_value)

Definition at line 2247 of file VrmlParser.cpp.

void VrmlParserImpl::readMFVec3f ( MFVec3f out_value)

Definition at line 2281 of file VrmlParser.cpp.

VrmlMovieTexturePtr VrmlParserImpl::readMovieTextureNode ( )

Definition at line 1213 of file VrmlParser.cpp.

VrmlNavigationInfoPtr VrmlParserImpl::readNavigationInfoNode ( )

Definition at line 1018 of file VrmlParser.cpp.

VrmlNodePtr VrmlParserImpl::readNode ( VrmlNodeCategory  nodeCategory)

Definition at line 502 of file VrmlParser.cpp.

VrmlNormalPtr VrmlParserImpl::readNormalNode ( )

Definition at line 2021 of file VrmlParser.cpp.

VrmlPixelTexturePtr VrmlParserImpl::readPixelTextureNode ( )

Definition at line 1186 of file VrmlParser.cpp.

VrmlPointLightPtr VrmlParserImpl::readPointLightNode ( )

Definition at line 1583 of file VrmlParser.cpp.

VrmlPointSetPtr VrmlParserImpl::readPointSetNode ( )

Definition at line 1163 of file VrmlParser.cpp.

VrmlVariantField & VrmlParserImpl::readProtoField ( VrmlFieldTypeId  fieldTypeId)

Definition at line 2118 of file VrmlParser.cpp.

VrmlProtoInstancePtr VrmlParserImpl::readProtoInstanceNode ( const std::string &  proto_name,
VrmlNodeCategory  nodeCategory 
)

Definition at line 920 of file VrmlParser.cpp.

void VrmlParserImpl::readSFBool ( SFBool out_value)

Definition at line 2374 of file VrmlParser.cpp.

void VrmlParserImpl::readSFColor ( SFColor out_value)

Definition at line 2302 of file VrmlParser.cpp.

void VrmlParserImpl::readSFFloat ( SFFloat out_value)

Definition at line 2171 of file VrmlParser.cpp.

void VrmlParserImpl::readSFImage ( SFImage out_image)

read "SFImage" node

Note

Date
2008-03-13 K.FUKUDA
Returns
void

start reading pixel values per component. numComponents means: 1:grayscale, 2:grayscale with transparency 3:RGB components, 4:RGB components with transparency

Parameters
out_imageto return read SFImage

Definition at line 2403 of file VrmlParser.cpp.

void VrmlParserImpl::readSFInt32 ( SFInt32 out_value)

Definition at line 2139 of file VrmlParser.cpp.

void VrmlParserImpl::readSFNode ( SFNode out_node,
VrmlNodeCategory  nodeCategory 
)

Definition at line 2478 of file VrmlParser.cpp.

SFNode VrmlParserImpl::readSFNode ( VrmlNodeCategory  nodeCategory)

Definition at line 2491 of file VrmlParser.cpp.

void VrmlParserImpl::readSFRotation ( SFRotation out_value)

Definition at line 2325 of file VrmlParser.cpp.

void VrmlParserImpl::readSFString ( SFString out_value)

Definition at line 2203 of file VrmlParser.cpp.

void VrmlParserImpl::readSFTime ( SFTime out_value)

Definition at line 2445 of file VrmlParser.cpp.

void VrmlParserImpl::readSFVec2f ( SFVec2f out_value)

Definition at line 2235 of file VrmlParser.cpp.

void VrmlParserImpl::readSFVec3f ( SFVec3f out_value)

Definition at line 2268 of file VrmlParser.cpp.

VrmlShapePtr VrmlParserImpl::readShapeNode ( )

Definition at line 1121 of file VrmlParser.cpp.

VrmlNodePtr VrmlParserImpl::readSpecificNode ( VrmlNodeCategory  nodeCategory,
int  symbol,
const std::string &  symbolString 
)

Definition at line 604 of file VrmlParser.cpp.

VrmlSpherePtr VrmlParserImpl::readSphereNode ( )

Definition at line 1761 of file VrmlParser.cpp.

VrmlSpotLightPtr VrmlParserImpl::readSpotLightNode ( )

Definition at line 1649 of file VrmlParser.cpp.

VrmlSwitchPtr VrmlParserImpl::readSwitchNode ( )

Definition at line 1378 of file VrmlParser.cpp.

VrmlTextPtr VrmlParserImpl::readTextNode ( )

Definition at line 1775 of file VrmlParser.cpp.

VrmlTextureCoordinatePtr VrmlParserImpl::readTextureCoordinateNode ( )

Definition at line 1993 of file VrmlParser.cpp.

VrmlTextureTransformPtr VrmlParserImpl::readTextureTransformNode ( )

Definition at line 2098 of file VrmlParser.cpp.

VrmlTransformPtr VrmlParserImpl::readTransformNode ( )

Definition at line 1095 of file VrmlParser.cpp.

VrmlViewpointPtr VrmlParserImpl::readViewpointNode ( )

Definition at line 996 of file VrmlParser.cpp.

VrmlWorldInfoPtr VrmlParserImpl::readWorldInfoNode ( )

Definition at line 1560 of file VrmlParser.cpp.

void VrmlParserImpl::setSymbols ( )
private

Definition at line 2542 of file VrmlParser.cpp.

VrmlUnsupportedNodePtr VrmlParserImpl::skipExternProto ( )

Definition at line 721 of file VrmlParser.cpp.

VrmlUnsupportedNodePtr VrmlParserImpl::skipScriptNode ( )

Definition at line 699 of file VrmlParser.cpp.

VrmlUnsupportedNodePtr VrmlParserImpl::skipUnsupportedNode ( const std::string &  nodeTypeName)

Definition at line 684 of file VrmlParser.cpp.

Member Data Documentation

list< string > hrp::VrmlParserImpl::ancestorPathsList
private

Definition at line 409 of file VrmlParser.cpp.

VrmlProtoInstancePtr hrp::VrmlParserImpl::currentProtoInstance

Definition at line 311 of file VrmlParser.cpp.

TDefNodeMap hrp::VrmlParserImpl::defNodeMap

Definition at line 324 of file VrmlParser.cpp.

bool hrp::VrmlParserImpl::protoInstanceActualNodeExtractionMode

Definition at line 313 of file VrmlParser.cpp.

TProtoMap hrp::VrmlParserImpl::protoMap

Definition at line 323 of file VrmlParser.cpp.

ProtoToEntityScannerMap hrp::VrmlParserImpl::protoToEntityScannerMap

Definition at line 316 of file VrmlParser.cpp.

EasyScannerPtr hrp::VrmlParserImpl::scanner

Definition at line 310 of file VrmlParser.cpp.

VrmlParser* hrp::VrmlParserImpl::self

Definition at line 308 of file VrmlParser.cpp.


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


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