Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/egg2pg/load_egg_file.cxx File Reference

#include "load_egg_file.h"
#include "eggLoader.h"
#include "config_egg2pg.h"
#include "sceneGraphReducer.h"
#include "virtualFileSystem.h"
#include "config_util.h"
#include "config_express.h"

Go to the source code of this file.

Functions

PointerTo< PandaNodeload_from_loader (EggLoader &loader)
PointerTo< PandaNodeload_egg_file (const string &filename, CoordinateSystem cs)
 A convenience function.

PointerTo< PandaNodeload_egg_data (EggData &data)
 Another convenience function; works like load_egg_file() but starts from an already-filled EggData structure.


Detailed Description

Definition in file load_egg_file.cxx.


Function Documentation

PointerTo< PandaNode > load_egg_data EggData data  ) 
 

Another convenience function; works like load_egg_file() but starts from an already-filled EggData structure.

The structure is destroyed in the loading.

Definition at line 144 of file load_egg_file.cxx.

PointerTo< PandaNode > load_egg_file const string &  filename,
CoordinateSystem  cs
 

A convenience function.

Loads up the indicated egg file, and returns the root of a scene graph. Returns NULL if the file cannot be read for some reason. Does not search along the egg path for the filename first; use EggData::resolve_egg_filename() if this is required.

Definition at line 69 of file load_egg_file.cxx.

References NULL.

Referenced by LoaderFileTypeEgg::get_extension().

PointerTo< PandaNode > load_from_loader EggLoader loader  )  [static]
 

Definition at line 31 of file load_egg_file.cxx.

References egg_accept_errors, loader, and NULL.


Generated on Fri May 2 00:45:29 2003 for Panda by doxygen1.3