Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ReadFile File Reference

#include <string>
#include <osg/Node>
#include <osg/Image>
#include <osg/ArgumentParser>
#include <osgDB/Export>
#include <osgDB/Registry>

Namespaces

namespace  osgDB

Defines

#define OSGDB_READFILE   1

Functions

OSGDB_EXPORT osg::ObjectreadObjectFile (const std::string &filename, const ReaderWriter::Options *options)
osg::ObjectreadObjectFile (const std::string &filename)
OSGDB_EXPORT osg::ImagereadImageFile (const std::string &filename, const ReaderWriter::Options *options)
osg::ImagereadImageFile (const std::string &filename)
OSGDB_EXPORT osg::HeightFieldreadHeightFieldFile (const std::string &filename, const ReaderWriter::Options *options)
osg::HeightFieldreadHeightFieldFile (const std::string &filename)
OSGDB_EXPORT osg::NodereadNodeFile (const std::string &filename, const ReaderWriter::Options *options)
osg::NodereadNodeFile (const std::string &filename)
OSGDB_EXPORT osg::NodereadNodeFiles (std::vector< std::string > &commandLine, const ReaderWriter::Options *options)
osg::NodereadNodeFiles (std::vector< std::string > &commandLine)
OSGDB_EXPORT osg::NodereadNodeFiles (osg::ArgumentParser &parser, const ReaderWriter::Options *options)
osg::NodereadNodeFiles (osg::ArgumentParser &parser)

Define Documentation

#define OSGDB_READFILE   1
 


Function Documentation

osg::HeightField* readHeightFieldFile const std::string &  filename  )  [inline]
 

Read an osg::HeightField from file. Return valid osg::HeightField on success, return NULL on failure. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

OSGDB_EXPORT osg::HeightField* readHeightFieldFile const std::string &  filename,
const ReaderWriter::Options *  options
 

Read an osg::HeightField from file. Return valid osg::HeightField on success, return NULL on failure. Use the Options object to control cache operations and file search paths in osgDB::Registry. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

osg::Image* readImageFile const std::string &  filename  )  [inline]
 

Read an osg::Image from file. Return valid osg::Image on success, return NULL on failure. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

OSGDB_EXPORT osg::Image* readImageFile const std::string &  filename,
const ReaderWriter::Options *  options
 

Read an osg::Image from file. Return valid osg::Image on success, return NULL on failure. Use the Options object to control cache operations and file search paths in osgDB::Registry. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

osg::Node* readNodeFile const std::string &  filename  )  [inline]
 

Read an osg::Node from file. Return valid osg::Node on success, return NULL on failure. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

OSGDB_EXPORT osg::Node* readNodeFile const std::string &  filename,
const ReaderWriter::Options *  options
 

Read an osg::Node from file. Return valid osg::Node on success, return NULL on failure. Use the Options object to control cache operations and file search paths in osgDB::Registry. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

osg::Node* readNodeFiles osg::ArgumentParser parser  )  [inline]
 

Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.

OSGDB_EXPORT osg::Node* readNodeFiles osg::ArgumentParser parser,
const ReaderWriter::Options *  options
 

Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. Use the Options object to control cache operations and file search paths in osgDB::Registry.

osg::Node* readNodeFiles std::vector< std::string > &  commandLine  )  [inline]
 

Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.

OSGDB_EXPORT osg::Node* readNodeFiles std::vector< std::string > &  commandLine,
const ReaderWriter::Options *  options
 

Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. Use the Options object to control cache operations and file search paths in osgDB::Registry.

osg::Object* readObjectFile const std::string &  filename  )  [inline]
 

Read an osg::Object from file. Return valid osg::Object on success, return NULL on failure. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.

OSGDB_EXPORT osg::Object* readObjectFile const std::string &  filename,
const ReaderWriter::Options *  options
 

Read an osg::Object from file. Return valid osg::Object on success, return NULL on failure. Use the Options object to control cache operations and file search paths in osgDB::Registry. The osgDB::Registry is used to load the appropriate ReaderWriter plugin for the filename extension, and this plugin then handles the request to read the specified file.


Generated on Thu Sep 8 04:57:39 2005 for OpenSceneGraph by  doxygen 1.3.9.1