OpenSceneGraph
Namespaces | Macros | Functions
WriteFile File Reference
#include <osg/Image>
#include <osg/Shape>
#include <osg/Node>
#include <osgDB/Export>
#include <osgDB/Registry>
#include <string>

Namespaces

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

Macros

#define OSGDB_WRITEFILE   1
 

Functions

OSGDB_EXPORT bool osgDB::writeObjectFile (const osg::Object &object, const std::string &filename, const Options *options)
 Write an osg::Object to file. More...
 
bool osgDB::writeObjectFile (const osg::Object &object, const std::string &filename)
 Write an osg::Object to file. More...
 
OSGDB_EXPORT bool osgDB::writeImageFile (const osg::Image &image, const std::string &filename, const Options *options)
 Write an osg::Image to file. More...
 
bool osgDB::writeImageFile (const osg::Image &image, const std::string &filename)
 Write an osg::Image to file. More...
 
OSGDB_EXPORT bool osgDB::writeHeightFieldFile (const osg::HeightField &hf, const std::string &filename, const Options *options)
 Write an osg::HeightField to file. More...
 
bool osgDB::writeHeightFieldFile (const osg::HeightField &hf, const std::string &filename)
 Write an osg::HeightField to file. More...
 
OSGDB_EXPORT bool osgDB::writeNodeFile (const osg::Node &node, const std::string &filename, const Options *options)
 Write an osg::Node to file. More...
 
bool osgDB::writeNodeFile (const osg::Node &node, const std::string &filename)
 Write an osg::Node to file. More...
 
OSGDB_EXPORT bool osgDB::writeShaderFile (const osg::Shader &shader, const std::string &filename, const Options *options)
 Write an osg::Shader to file. More...
 
bool osgDB::writeShaderFile (const osg::Shader &shader, const std::string &filename)
 Write an osg::Shader to file. More...
 
OSGDB_EXPORT bool osgDB::writeScriptFile (const osg::Script &image, const std::string &filename, const Options *options)
 Write an osg::Script to file. More...
 
bool osgDB::writeScriptFile (const osg::Script &image, const std::string &filename)
 Write an osg::Script to file. More...
 

Macro Definition Documentation

◆ OSGDB_WRITEFILE

#define OSGDB_WRITEFILE   1