Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | 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>

Include dependency graph for ReadFile:

This graph shows which files directly or indirectly include this file:


Namespaces

namespace  osgDB

Defines

#define OSGDB_READFILE   1

Functions

OSGDB_EXPORT osg::ObjectreadObjectFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Object from file.
osg::ObjectreadObjectFile (const std::string &filename)
 Read an osg::Object from file.
OSGDB_EXPORT osg::ImagereadImageFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Image from file.
osg::ImagereadImageFile (const std::string &filename)
 Read an osg::Image from file.
OSGDB_EXPORT osg::HeightFieldreadHeightFieldFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::HeightField from file.
osg::HeightFieldreadHeightFieldFile (const std::string &filename)
 Read an osg::HeightField from file.
OSGDB_EXPORT osg::NodereadNodeFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Node from file.
osg::NodereadNodeFile (const std::string &filename)
 Read an osg::Node from file.
OSGDB_EXPORT osg::NodereadNodeFiles (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.
osg::NodereadNodeFiles (std::vector< std::string > &commandLine)
 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::NodereadNodeFiles (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.
osg::NodereadNodeFiles (osg::ArgumentParser &parser)
 Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.

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.

HeightField * osgDB::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.

Image * osgDB::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.

Node * osgDB::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.

Node * osgDB::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.

Node * osgDB::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.

Object * osgDB::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 at Tue Apr 5 00:12:55 2005 for the OpenSceneGraph by doxygen 1.4.1.