Namespaces | Functions

ReadFile File Reference

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

Namespaces

namespace  osgDB
 

The osgDB library provides support for reading and writing scene graphs, providing a plugin framework and file utility classes.


Functions

OSGDB_EXPORT osg::Object * osgDB::readObjectFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Object from file.
osg::Object * osgDB::readObjectFile (const std::string &filename)
 Read an osg::Object from file.
OSGDB_EXPORT osg::Image * osgDB::readImageFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Image from file.
osg::Image * osgDB::readImageFile (const std::string &filename)
 Read an osg::Image from file.
OSGDB_EXPORT osg::HeightField * osgDB::readHeightFieldFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::HeightField from file.
osg::HeightField * osgDB::readHeightFieldFile (const std::string &filename)
 Read an osg::HeightField from file.
OSGDB_EXPORT osg::Node * osgDB::readNodeFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Node from file.
osg::Node * osgDB::readNodeFile (const std::string &filename)
 Read an osg::Node from file.
OSGDB_EXPORT osg::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.
osg::Node * osgDB::readNodeFiles (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::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.
osg::Node * osgDB::readNodeFiles (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.
OSGDB_EXPORT osg::Shader * osgDB::readShaderFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Shader from file.
osg::Shader * osgDB::readShaderFile (const std::string &filename)
 Read an osg::Shader from file.
osg::Shader * osgDB::readShaderFile (osg::Shader::Type type, const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Shader from file and set to specified shader type.
osg::Shader * osgDB::readShaderFile (osg::Shader::Type type, const std::string &filename)
 Read an osg::Shader from file and set to specified shader type Return valid osg::Shader on success, return NULL on failure.
OSGDB_EXPORT osg::ref_ptr
< osg::Object > 
osgDB::readRefObjectFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Object from file.
osg::ref_ptr< osg::Object > osgDB::readRefObjectFile (const std::string &filename)
 Read an osg::Object from file.
OSGDB_EXPORT osg::ref_ptr
< osg::Image > 
osgDB::readRefImageFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Image from file.
osg::ref_ptr< osg::Image > osgDB::readRefImageFile (const std::string &filename)
 Read an osg::Image from file.
OSGDB_EXPORT osg::ref_ptr
< osg::HeightField > 
osgDB::readRefHeightFieldFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::HeightField from file.
osg::ref_ptr< osg::HeightField > osgDB::readRefHeightFieldFile (const std::string &filename)
 Read an osg::HeightField from file.
OSGDB_EXPORT osg::ref_ptr
< osg::Node > 
osgDB::readRefNodeFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Node from file.
osg::ref_ptr< osg::Node > osgDB::readRefNodeFile (const std::string &filename)
 Read an osg::Node from file.
OSGDB_EXPORT osg::ref_ptr
< osg::Shader > 
osgDB::readRefShaderFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Shader from file.
osg::ref_ptr< osg::Shader > osgDB::readRefShaderFile (const std::string &filename)
 Read an osg::Shader from file.

osg logo
Generated at Wed Nov 3 2010 02:40:14 for the OpenSceneGraph by doxygen 1.7.1.