namespace osgDB


class OSGDB_EXPORT DotOsgWrapper: public osg::Referenced
Wrapper class for specifying read and write functions for extending the osg file format.
class OSGDB_EXPORT DynamicLibrary: public osg::Referenced
DynamicLibrary - encapsulates the loading and unloading of dynamic libraries, typically used for loading ReaderWriter plug-ins
class OSGDB_EXPORT Field
class OSGDB_EXPORT FieldReader
class OSGDB_EXPORT FieldReaderIterator
[more]OSGDB_EXPORT extern std::string getFilePath(const std::string& filename)
[more]OSGDB_EXPORT extern std::string getFileExtension(const std::string& filename)
[more]OSGDB_EXPORT extern std::string getLowerCaseFileExtension(const std::string& filename)
[more]OSGDB_EXPORT extern std::string getSimpleFileName(const std::string& fileName)
[more]OSGDB_EXPORT extern std::string getStrippedName(const std::string& fileName)
[more]OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)
[more]OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs)
OSGDB_EXPORT extern void initFilePath( void )
initialize the data file path, uses OSGFILEPATH environmental variable to defined
OSGDB_EXPORT extern void setFilePath( const char* _path )
set the data file path
OSGDB_EXPORT extern const char* getFilePath()
set the data file path
OSGDB_EXPORT extern char* findFileInPath( const char* _file, const char* filePath )
find specified file if specified file path
OSGDB_EXPORT extern char* findFile( const char* file )
find specified file on the set data file path
OSGDB_EXPORT extern char* findDSO( const char* name )
find specified dso/dll
typedef std::vector<std::string> DirectoryContents
simple list of names to represent a directory's contents.
OSGDB_EXPORT extern std::string findFileInDirectory(const std::string& fileName, const std::string& dirName, bool caseInsensitive=false)
return the directory/filename of a file if its is contained within specified directory.
OSGDB_EXPORT extern DirectoryContents getDirectoryContents(const std::string& dirName)
return the contents of a directory.
class OSGDB_EXPORT Input: public FieldReaderIterator
Class for managing the reading of ASCII osg files
class OSGDB_EXPORT Output: public std::ofstream
ofstream wrapper class for adding support for indenting.
[more]template<class T> bool writeArrayBlock(Output& fw, T* start, T* finish)
class OSGDB_EXPORT ReaderWriter: public osg::Referenced
pure virtual base class for reading and writing of non native formats.
OSGDB_EXPORT extern osg::Object* readObjectFile(const std::string& filename)
Read an osg::Object from file.
OSGDB_EXPORT extern osg::Image* readImageFile(const std::string& filename)
Read an osg::Image from file.
OSGDB_EXPORT extern osg::Node* readNodeFile(const std::string& filename)
Read an osg::Node from file.
OSGDB_EXPORT extern osg::Node* 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
class OSGDB_EXPORT Registry
Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.
inline void readCommandLine(std::vector<std::string>& commandLine)
read the command line string list into the osgDB::Registry(), removing any matched control sequences
class RegisterDotOsgWrapperProxy
Proxy class for automatic registration of DotOsgWrappers with the Registry
template<class T> class RegisterReaderWriterProxy
Proxy class for automatic registration of reader/writers with the Registry
OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::string& filename)
Write an osg::Object to file.
OSGDB_EXPORT extern bool writeImageFile(const osg::Image& image, const std::string& filename)
Write an osg::Image to file.
OSGDB_EXPORT extern bool writeNodeFile(const osg::Node& node, const std::string& filename)
Write an osg::Node to file.


Documentation

oOSGDB_EXPORT extern std::string getFilePath(const std::string& filename)

oOSGDB_EXPORT extern std::string getFileExtension(const std::string& filename)

oOSGDB_EXPORT extern std::string getLowerCaseFileExtension(const std::string& filename)

oOSGDB_EXPORT extern std::string getSimpleFileName(const std::string& fileName)

oOSGDB_EXPORT extern std::string getStrippedName(const std::string& fileName)

oOSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)

oOSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs, const char* rhs)

otemplate<class T> bool writeArrayBlock(Output& fw, T* start, T* finish)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.