Panda3D
Functions
parse_vrml.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "vrmlNode.h"
#include "filename.h"

Go to the source code of this file.

Functions

VrmlSceneparse_vrml (Filename filename)
 Reads the named VRML file and returns a corresponding VrmlScene, or NULL if there is a parse error. More...
 
VrmlSceneparse_vrml (std::istream &in, const std::string &filename)
 Reads the indicated input stream and returns a corresponding VrmlScene, or NULL if there is a parse error. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-06-24

Definition in file parse_vrml.h.

Function Documentation

◆ parse_vrml() [1/2]

VrmlScene* parse_vrml ( Filename  filename)

Reads the named VRML file and returns a corresponding VrmlScene, or NULL if there is a parse error.

Definition at line 86 of file parse_vrml.cxx.

References Filename::set_text().

Referenced by VRMLToEggConverter::convert_file().

◆ parse_vrml() [2/2]

VrmlScene* parse_vrml ( std::istream &  in,
const std::string &  filename 
)

Reads the indicated input stream and returns a corresponding VrmlScene, or NULL if there is a parse error.

Definition at line 104 of file parse_vrml.cxx.