namespace osgDB


class Block: public osg::Referenced
class OSGDB_EXPORT DatabasePager: public osg::NodeVisitor::DatabaseRequestHandler, public OpenThreads::Thread
Database paging class which manages the loading of files in a background thread, and syncronizing of loaded models with the main scene graph
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]extern OSGDB_EXPORT std::string getFilePath(const std::string& filename)
[more]extern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)
[more]extern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)
[more]extern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)
[more]extern OSGDB_EXPORT std::string getNameLessExtension(const std::string& fileName)
[more]extern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)
[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)
[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)
enum CaseSensitivity
enum FileType
extern OSGDB_EXPORT bool fileExists(const std::string& filename)
return true if a file exisits.
extern OSGDB_EXPORT FileType fileType(const std::string& filename)
return type of file.
extern OSGDB_EXPORT std::string findFileInPath(const std::string& filename, const FilePathList& filePath, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
find specified file in specified file path
extern OSGDB_EXPORT std::string findFileInDirectory(const std::string& fileName, const std::string& dirName, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
return the directory/filename of a file if its is contained within specified directory.
typedef std::vector<std::string> DirectoryContents
simple list of names to represent a directory's contents.
extern OSGDB_EXPORT DirectoryContents getDirectoryContents(const std::string& dirName)
return the contents of a directory.
[more]inline void setDataFilePathList(const FilePathList& filepath)
[more]inline void setDataFilePathList(const std::string& paths)
[more]inline FilePathList& getDataFilePathList()
[more]extern OSGDB_EXPORT std::string findDataFile(const std::string& filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
class PushAndPopDataPath
Convinience class for pushing a path on construction, and popping the path and destruction.
[more]inline void setLibraryFilePathList(const FilePathList& filepaths)
[more]inline void setLibraryFilePathList(const std::string& paths)
[more]inline FilePathList& getLibraryFilePathList()
[more]extern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
class OSGDB_EXPORT ImageOptions: public osgDB::ReaderWriter::Options
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.
class ParameterOutput
[more]template<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)
[more]template<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)
class OSGDB_EXPORT ReaderWriter: public osg::Referenced
pure virtual base class for reading and writing of non native formats.
extern OSGDB_EXPORT osg::Object* readObjectFile(const std::string& filename, Registry::CacheHintOptions useObjectCache)
Read an osg::Object from file.
inline osg::Object* readObjectFile(const std::string& filename)
Read an osg::Object from file.
extern OSGDB_EXPORT osg::Image* readImageFile(const std::string& filename, Registry::CacheHintOptions useObjectCache)
Read an osg::Image from file.
inline osg::Image* readImageFile(const std::string& filename)
Read an osg::Image from file.
extern OSGDB_EXPORT osg::HeightField* readHeightFieldFile(const std::string& filename, Registry::CacheHintOptions useObjectCache)
Read an osg::HeightField from file.
inline osg::HeightField* readHeightFieldFile(const std::string& filename)
Read an osg::HeightField from file.
extern OSGDB_EXPORT osg::Node* readNodeFile(const std::string& filename, Registry::CacheHintOptions useObjectCache)
Read an osg::Node from file.
inline osg::Node* readNodeFile(const std::string& filename)
Read an osg::Node from file.
extern OSGDB_EXPORT osg::Node* readNodeFiles(std::vector<std::string>& commandLine, Registry::CacheHintOptions useObjectCache)
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.
inline 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
extern OSGDB_EXPORT osg::Node* readNodeFiles(osg::ArgumentParser& parser, Registry::CacheHintOptions useObjectCache)
Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.
inline osg::Node* 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
struct basic_type_wrapper
basic structure for custom runtime inheritance checking
template<class T> struct type_wrapper: basic_type_wrapper
a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T.
typedef std::deque<std::string> FilePathList
list of directories to search through which searching for files.
class OSGDB_EXPORT Registry: public osg::Referenced
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(osg::ArgumentParser& parser)
read the command line arguments
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
class OSGDB_EXPORT SharedStateManager: public osg::NodeVisitor
extern OSGDB_EXPORT bool writeObjectFile(const osg::Object& object, const std::string& filename)
Write an osg::Object to file.
extern OSGDB_EXPORT bool writeImageFile(const osg::Image& image, const std::string& filename)
Write an osg::Image to file.
extern OSGDB_EXPORT bool writeHeightFieldFile(const osg::HeightField& hf, const std::string& filename)
Write an osg::HeightField to file.
extern OSGDB_EXPORT bool writeNodeFile(const osg::Node& node, const std::string& filename)
Write an osg::Node to file.


Documentation

oextern OSGDB_EXPORT std::string getFilePath(const std::string& filename)

oextern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)

oextern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)

oextern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)

oextern OSGDB_EXPORT std::string getNameLessExtension(const std::string& fileName)

oextern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)

oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)

oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)

oinline void setDataFilePathList(const FilePathList& filepath)

oinline void setDataFilePathList(const std::string& paths)

oinline FilePathList& getDataFilePathList()

oextern OSGDB_EXPORT std::string findDataFile(const std::string& filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)

oinline void setLibraryFilePathList(const FilePathList& filepaths)

oinline void setLibraryFilePathList(const std::string& paths)

oinline FilePathList& getLibraryFilePathList()

oextern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)

otemplate<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)

otemplate<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)

Alphabetic index HTML hierarchy of classes or Java



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