OpenSceneGraph  3.5.1
Namespaces | Macros | Functions
ReadFile File Reference
#include <string>
#include <osg/Node>
#include <osg/Image>
#include <osg/ArgumentParser>
#include <osgDB/Export>
#include <osgDB/Registry>

Namespaces

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

Macros

#define OSGDB_READFILE   1
 

Functions

OSGDB_EXPORT osg::ref_ptr< osg::ObjectosgDB::readRefObjectFile (const std::string &filename, const Options *options)
 Read an osg::Object from file. More...
 
osg::ref_ptr< osg::ObjectosgDB::readRefObjectFile (const std::string &filename)
 Read an osg::Object from file. More...
 
template<class T >
osg::ref_ptr< T > osgDB::readRefFile (const std::string &filename, const Options *options)
 
template<class T >
osg::ref_ptr< T > osgDB::readRefFile (const std::string &filename)
 
OSGDB_EXPORT osg::ref_ptr< osg::ImageosgDB::readRefImageFile (const std::string &filename, const Options *options)
 Read an osg::Image from file. More...
 
osg::ref_ptr< osg::ImageosgDB::readRefImageFile (const std::string &filename)
 Read an osg::Image from file. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::HeightFieldosgDB::readRefHeightFieldFile (const std::string &filename, const Options *options)
 Read an osg::HeightField from file. More...
 
osg::ref_ptr< osg::HeightFieldosgDB::readRefHeightFieldFile (const std::string &filename)
 Read an osg::HeightField from file. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::NodeosgDB::readRefNodeFile (const std::string &filename, const Options *options)
 Read an osg::Node from file. More...
 
osg::ref_ptr< osg::NodeosgDB::readRefNodeFile (const std::string &filename)
 Read an osg::Node from file. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::NodeosgDB::readRefNodeFiles (std::vector< std::string > &fileList, const 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. More...
 
osg::ref_ptr< osg::NodeosgDB::readRefNodeFiles (std::vector< std::string > &fileList)
 Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::NodeosgDB::readRefNodeFiles (osg::ArgumentParser &parser, const 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. More...
 
osg::ref_ptr< osg::NodeosgDB::readRefNodeFiles (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. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::ShaderosgDB::readRefShaderFile (const std::string &filename, const Options *options)
 Read an osg::Shader from file. More...
 
osg::ref_ptr< osg::ShaderosgDB::readRefShaderFile (const std::string &filename)
 Read an osg::Shader from file. More...
 
osg::ref_ptr< osg::ShaderosgDB::readRefShaderFile (osg::Shader::Type type, const std::string &filename, const Options *options)
 Read an osg::Shader from file and set to specified shader type. More...
 
osg::ref_ptr< osg::ShaderosgDB::readRefShaderFile (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. More...
 
osg::ref_ptr< osg::ShaderosgDB::readRefShaderFileWithFallback (osg::Shader::Type type, const std::string &filename, const Options *options, const char *fallback)
 Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. More...
 
osg::ref_ptr< osg::ShaderosgDB::readRefShaderFileWithFallback (osg::Shader::Type type, const std::string &filename, const char *fallback)
 Read an osg::Shader from file and set to specified shader type, if a shader isn't loaded fallback to specific shader source. More...
 
OSGDB_EXPORT osg::ref_ptr< osg::ScriptosgDB::readRefScriptFile (const std::string &filename, const Options *options)
 Read an osg::Script from file. More...
 
osg::ref_ptr< osg::ScriptosgDB::readRefScriptFile (const std::string &filename)
 Read an osg::Script from file. More...
 

Macro Definition Documentation

#define OSGDB_READFILE   1

osg logo
Generated at Wed Nov 11 2015 22:14:24 for the OpenSceneGraph by doxygen 1.8.10.