osgDB Namespace Reference

osgDB extensions that take a boost::filesystem::path instead of a std::string for directories and files names. More...


Functions

PVLE_EXPORT osg::Image * readImageFile (const boost::filesystem::path &path, const osgDB::ReaderWriter::Options *options)
 Calls readImageFile(const std::string&, const ReaderWriter::Options*) with boost::filesystem::path and throws an exception if the file has not been loaded.
PVLE_EXPORT osg::Image * readImageFile (const boost::filesystem::path &path)
 Calls readImageFile(const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.
PVLE_EXPORT void writeImageFile (const osg::Image &image, const boost::filesystem::path &path)
 Calls writeImageFile(const osg::Image&, const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.
PVLE_EXPORT osg::Node * readNodeFile (const boost::filesystem::path &path, const osgDB::ReaderWriter::Options *options)
 Calls readNodeFile(const std::string&, const ReaderWriter::Options*) with boost::filesystem::path and throws an exception if the file has not been loaded.
PVLE_EXPORT osg::Node * readNodeFile (const boost::filesystem::path &path)
 Calls readNodeFile(const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.
PVLE_EXPORT void writeNodeFile (const osg::Node &node, const boost::filesystem::path &path)
 Calls writeNodeFile(const osg::Node&, const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.


Detailed Description

osgDB extensions that take a boost::filesystem::path instead of a std::string for directories and files names.


Function Documentation

osg::Image * osgDB::readImageFile ( const boost::filesystem::path &  path  ) 

Calls readImageFile(const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 565 of file Utility3D.cpp.

References readImageFile(), and THROW_TRACED_EXCEPTION.

osg::Image * osgDB::readImageFile ( const boost::filesystem::path &  path,
const osgDB::ReaderWriter::Options *  options 
)

Calls readImageFile(const std::string&, const ReaderWriter::Options*) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 560 of file Utility3D.cpp.

References THROW_TRACED_EXCEPTION.

Referenced by createCloud(), createSkySphere(), readHeightMap(), and readImageFile().

osg::Node * osgDB::readNodeFile ( const boost::filesystem::path &  path  ) 

Calls readNodeFile(const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 581 of file Utility3D.cpp.

References readNodeFile(), and THROW_TRACED_EXCEPTION.

osg::Node * osgDB::readNodeFile ( const boost::filesystem::path &  path,
const osgDB::ReaderWriter::Options *  options 
)

Calls readNodeFile(const std::string&, const ReaderWriter::Options*) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 575 of file Utility3D.cpp.

References THROW_TRACED_EXCEPTION.

Referenced by readNodeFile().

void osgDB::writeImageFile ( const osg::Image &  image,
const boost::filesystem::path &  path 
)

Calls writeImageFile(const osg::Image&, const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 571 of file Utility3D.cpp.

References THROW_TRACED_EXCEPTION.

void osgDB::writeNodeFile ( const osg::Node &  node,
const boost::filesystem::path &  path 
)

Calls writeNodeFile(const osg::Node&, const std::string&) with boost::filesystem::path and throws an exception if the file has not been loaded.

Definition at line 587 of file Utility3D.cpp.

References THROW_TRACED_EXCEPTION.


Generated on Sun Jan 17 11:39:35 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9