Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

WriteFile File Reference

#include <osg/Image>
#include <osg/Shape>
#include <osg/Node>
#include <osgDB/Export>
#include <string>

Namespaces

namespace  osgDB

Defines

#define OSGDB_WRITEFILE   1

Functions

OSGDB_EXPORT bool writeObjectFile (const osg::Object &object, const std::string &filename)
OSGDB_EXPORT bool writeImageFile (const osg::Image &image, const std::string &filename)
OSGDB_EXPORT bool writeHeightFieldFile (const osg::HeightField &hf, const std::string &filename)
OSGDB_EXPORT bool writeNodeFile (const osg::Node &node, const std::string &filename)

Define Documentation

#define OSGDB_WRITEFILE   1
 


Function Documentation

OSGDB_EXPORT bool osgDB::writeHeightFieldFile (  const osg::HeightField &  hf,
const std::string &  filename
) 
 

Write an osg::HeightField to file. Return true on success, return false 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 write the specified file.

OSGDB_EXPORT bool osgDB::writeImageFile (  const osg::Image &  image,
const std::string &  filename
) 
 

Write an osg::Image to file. Return true on success, return false 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 write the specified file.

OSGDB_EXPORT bool osgDB::writeNodeFile (  const osg::Node &  node,
const std::string &  filename
) 
 

Write an osg::Node to file. Return true on success, return false 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 write the specified file.

OSGDB_EXPORT bool osgDB::writeObjectFile (  const osg::Object &  object,
const std::string &  filename
) 
 

Write an osg::Object to file. Return true on success, return false 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 write the specified file.


Generated on Fri May 13 15:15:45 2005 for openscenegraph by  doxygen 1.4.2