OpenSceneGraph 2.8.4
Namespaces | Defines | 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.


Defines

#define OSGDB_READFILE   1

Functions

OSGDB_EXPORT osg::ObjectosgDB::readObjectFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Object from file.
osg::ObjectosgDB::readObjectFile (const std::string &filename)
 Read an osg::Object from file.
OSGDB_EXPORT osg::ImageosgDB::readImageFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Image from file.
osg::ImageosgDB::readImageFile (const std::string &filename)
 Read an osg::Image from file.
OSGDB_EXPORT osg::HeightFieldosgDB::readHeightFieldFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::HeightField from file.
osg::HeightFieldosgDB::readHeightFieldFile (const std::string &filename)
 Read an osg::HeightField from file.
OSGDB_EXPORT osg::NodeosgDB::readNodeFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Node from file.
osg::NodeosgDB::readNodeFile (const std::string &filename)
 Read an osg::Node from file.
OSGDB_EXPORT osg::NodeosgDB::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::NodeosgDB::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::NodeosgDB::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::NodeosgDB::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::ShaderosgDB::readShaderFile (const std::string &filename, const ReaderWriter::Options *options)
 Read an osg::Shader from file.
osg::ShaderosgDB::readShaderFile (const std::string &filename)
 Read an osg::Shader from file.
osg::ShaderosgDB::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::ShaderosgDB::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::ObjectosgDB::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::ImageosgDB::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::HeightFieldosgDB::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::NodeosgDB::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::ShaderosgDB::readRefShaderFile (const std::string &filename)
 Read an osg::Shader from file.

Define Documentation

#define OSGDB_READFILE   1

osg logo
Generated at Sun Jan 8 2012 13:15:51 for the OpenSceneGraph by doxygen 1.7.4.