OpenSceneGraph/doc/doc++/osgDB/osgDB.html

232 lines
14 KiB
HTML
Raw Normal View History

2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>namespace osgDB</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>namespace <A HREF="#DOC.DOCU">osgDB</A></H2></H2>
<HR>
<P><DL>
<DT>
2003-07-23 19:27:31 +08:00
class OSGDB_EXPORT <B><A HREF="DatabasePager.html">DatabasePager</A></B>: public osg::NodeVisitor::DatabaseRequestHandler, public OpenThreads::Thread
<DD><I>Database paging class which manages the loading of files in a background thread, and syncronizing of loaded models with the main scene graph</I>
<DT>
2003-04-18 00:22:51 +08:00
class OSGDB_EXPORT <B><A HREF="DotOsgWrapper.html">DotOsgWrapper</A></B>: public osg::Referenced
<DD><I>Wrapper class for specifying read and write functions for extending the osg file format.</I>
<DT>
class OSGDB_EXPORT <B><A HREF="DynamicLibrary.html">DynamicLibrary</A></B>: public osg::Referenced
<DD><I>DynamicLibrary - encapsulates the loading and unloading of dynamic libraries, typically used for loading ReaderWriter plug-ins</I>
<DT>
class OSGDB_EXPORT <B><A HREF="Field.html">Field</A></B>
<DT>
class OSGDB_EXPORT <B><A HREF="FieldReader.html">FieldReader</A></B>
<DT>
class OSGDB_EXPORT <B><A HREF="FieldReaderIterator.html">FieldReaderIterator</A></B>
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.7">getFilePath</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.8">getFileExtension</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.9">getLowerCaseFileExtension</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.10">getSimpleFileName</A></B>(const std::string&amp; fileName)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.11">getStrippedName</A></B>(const std::string&amp; fileName)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT bool <B><A HREF="#DOC.2.12">equalCaseInsensitive</A></B>(const std::string&amp; lhs, const std::string&amp; rhs)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT bool <B><A HREF="#DOC.2.13">equalCaseInsensitive</A></B>(const std::string&amp; lhs, const char* rhs)
2003-04-18 00:22:51 +08:00
<DT>
extern OSGDB_EXPORT bool <B><A HREF="fileExists.html">fileExists</A></B>(const std::string&amp; filename)
<DD><I>return true if a file exisits.</I>
<DT>
extern OSGDB_EXPORT std::string <B><A HREF="findFileInPath.html">findFileInPath</A></B>(const std::string&amp; filename, const <!1><A HREF="FilePathList.html">FilePathList</A>&amp; filePath)
<DD><I>find specified file in specified file path</I>
<DT>
extern OSGDB_EXPORT std::string <B><A HREF="findFileInDirectory.html">findFileInDirectory</A></B>(const std::string&amp; fileName, const std::string&amp; dirName, bool caseInsensitive=false)
<DD><I>return the directory/filename of a file if its is contained within specified directory.</I>
<DT>
typedef std::vector&lt;std::string&gt; <B><A HREF="DirectoryContents.html">DirectoryContents</A></B>
<DD><I>simple list of names to represent a directory's contents.</I>
<DT>
extern OSGDB_EXPORT <!1><A HREF="DirectoryContents.html">DirectoryContents</A> <B><A HREF="getDirectoryContents.html">getDirectoryContents</A></B>(const std::string&amp; dirName)
<DD><I>return the contents of a directory.</I>
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.19">setDataFilePathList</A></B>(const <!1><A HREF="FilePathList.html">FilePathList</A>&amp; filepath)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.20">setDataFilePathList</A></B>(const std::string&amp; paths)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="FilePathList.html">FilePathList</A>&amp; <B><A HREF="#DOC.2.21">getDataFilePathList</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.22">findDataFile</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DT>
class <B><A HREF="PushAndPopDataPath.html">PushAndPopDataPath</A></B>
<DD><I>Convinience class for pushing a path on construction, and popping the path and destruction.</I>
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.24">setLibraryFilePathList</A></B>(const <!1><A HREF="FilePathList.html">FilePathList</A>&amp; filepaths)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.25">setLibraryFilePathList</A></B>(const std::string&amp; paths)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="FilePathList.html">FilePathList</A>&amp; <B><A HREF="#DOC.2.26">getLibraryFilePathList</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>extern OSGDB_EXPORT std::string <B><A HREF="#DOC.2.27">findLibraryFile</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DT>
class OSGDB_EXPORT <B><A HREF="Input.html">Input</A></B>: public <!1><A HREF="FieldReaderIterator.html">FieldReaderIterator</A>
<DD><I>Class for managing the reading of ASCII osg files</I>
<DT>
class OSGDB_EXPORT <B><A HREF="Output.html">Output</A></B>: public std::ofstream
<DD><I>ofstream wrapper class for adding support for indenting.</I>
<DT>
class <B><A HREF="ParameterOutput.html">ParameterOutput</A></B>
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>template&lt;class Iterator&gt; void <B><A HREF="#DOC.2.31">writeArray</A></B>(<!1><A HREF="Output.html">Output</A>&amp; fw, Iterator first, Iterator last, int noItemsPerLine=0)
2003-04-18 00:22:51 +08:00
<DT>
2003-07-23 19:27:31 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>template&lt;class Iterator&gt; void <B><A HREF="#DOC.2.32">writeArrayAsInts</A></B>(<!1><A HREF="Output.html">Output</A>&amp; fw, Iterator first, Iterator last, int noItemsPerLine=0)
2003-04-18 00:22:51 +08:00
<DT>
2003-10-02 22:28:30 +08:00
extern OSGDB_EXPORT osg::Object* <B><A HREF="readObjectFile.html">readObjectFile</A></B>(const std::string&amp; filename, bool useObjectCache)
2003-04-18 00:22:51 +08:00
<DD><I>Read an osg::Object from file.</I>
<DT>
2003-10-02 22:28:30 +08:00
inline osg::Object* <B><A HREF="readObjectFile.2.html">readObjectFile</A></B>(const std::string&amp; filename)
<DD><I>Read an osg::Object from file.</I>
<DT>
extern OSGDB_EXPORT osg::Image* <B><A HREF="readImageFile.html">readImageFile</A></B>(const std::string&amp; filename, bool useObjectCache)
<DD><I>Read an osg::Image from file.</I>
<DT>
inline osg::Image* <B><A HREF="readImageFile.2.html">readImageFile</A></B>(const std::string&amp; filename)
2003-04-18 00:22:51 +08:00
<DD><I>Read an osg::Image from file.</I>
<DT>
2003-10-02 22:28:30 +08:00
extern OSGDB_EXPORT osg::Node* <B><A HREF="readNodeFile.html">readNodeFile</A></B>(const std::string&amp; filename, bool useObjectCache)
2003-04-18 00:22:51 +08:00
<DD><I>Read an osg::Node from file.</I>
<DT>
2003-10-02 22:28:30 +08:00
inline osg::Node* <B><A HREF="readNodeFile.2.html">readNodeFile</A></B>(const std::string&amp; filename)
<DD><I>Read an osg::Node from file.</I>
<DT>
extern OSGDB_EXPORT osg::Node* <B><A HREF="readNodeFiles.html">readNodeFiles</A></B>(std::vector&lt;std::string&gt;&amp; commandLine, bool useObjectCache)
<DD><I>Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.</I>
<DT>
inline osg::Node* <B><A HREF="readNodeFiles.2.html">readNodeFiles</A></B>(std::vector&lt;std::string&gt;&amp; commandLine)
2003-04-18 00:22:51 +08:00
<DD><I>Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded</I>
<DT>
2003-10-02 22:28:30 +08:00
extern OSGDB_EXPORT osg::Node* <B><A HREF="readNodeFiles.3.html">readNodeFiles</A></B>(osg::ArgumentParser&amp; parser, bool useObjectCache)
<DD><I>Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded.</I>
<DT>
inline osg::Node* <B><A HREF="readNodeFiles.4.html">readNodeFiles</A></B>(osg::ArgumentParser&amp; parser)
2003-04-18 00:22:51 +08:00
<DD><I>Read an osg::Node subgraph from files, creating a osg::Group to contain the nodes if more than one subgraph has been loaded</I>
<DT>
class OSGDB_EXPORT <B><A HREF="ReaderWriter.html">ReaderWriter</A></B>: public osg::Referenced
<DD><I>pure virtual base class for reading and writing of non native formats.</I>
<DT>
2003-07-23 19:27:31 +08:00
struct <B><A HREF="basic_type_wrapper.html">basic_type_wrapper</A></B>
<DD><I>basic structure for custom runtime inheritance checking </I>
<DT>
template&lt;class T&gt; struct <B><A HREF="type_wrapper.html">type_wrapper</A></B>: <!1><A HREF="basic_type_wrapper.html">basic_type_wrapper</A>
<DD><I>a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T.</I>
<DT>
2003-04-18 00:22:51 +08:00
typedef std::deque&lt;std::string&gt; <B><A HREF="FilePathList.html">FilePathList</A></B>
<DD><I>list of directories to search through which searching for files.</I>
<DT>
class OSGDB_EXPORT <B><A HREF="Registry.html">Registry</A></B>: public osg::Referenced
<DD><I> Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.</I>
<DT>
inline void <B><A HREF="readCommandLine.html">readCommandLine</A></B>(osg::ArgumentParser&amp; parser)
<DD><I>read the command line arguments</I>
<DT>
class <B><A HREF="RegisterDotOsgWrapperProxy.html">RegisterDotOsgWrapperProxy</A></B>
<DD><I>Proxy class for automatic registration of DotOsgWrappers with the Registry</I>
<DT>
template&lt;class T&gt; class <B><A HREF="RegisterReaderWriterProxy.html">RegisterReaderWriterProxy</A></B>
<DD><I>Proxy class for automatic registration of reader/writers with the Registry</I>
<DT>
extern OSGDB_EXPORT bool <B><A HREF="writeObjectFile.html">writeObjectFile</A></B>(const osg::Object&amp; object, const std::string&amp; filename)
<DD><I>Write an osg::Object to file.</I>
<DT>
extern OSGDB_EXPORT bool <B><A HREF="writeImageFile.html">writeImageFile</A></B>(const osg::Image&amp; image, const std::string&amp; filename)
<DD><I>Write an osg::Image to file.</I>
<DT>
extern OSGDB_EXPORT bool <B><A HREF="writeNodeFile.html">writeNodeFile</A></B>(const osg::Node&amp; node, const std::string&amp; filename)
<DD><I>Write an osg::Node to file.</I>
</DL></P>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="getFilePath"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.7"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string getFilePath(const std::string&amp; filename)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFileExtension"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.8"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string getFileExtension(const std::string&amp; filename)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLowerCaseFileExtension"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.9"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string&amp; filename)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getSimpleFileName"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.10"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string getSimpleFileName(const std::string&amp; fileName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getStrippedName"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.11"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string getStrippedName(const std::string&amp; fileName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="equalCaseInsensitive"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.12"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string&amp; lhs, const std::string&amp; rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="equalCaseInsensitive"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.13"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string&amp; lhs, const char* rhs)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setDataFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.19"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setDataFilePathList(const <!1><A HREF="FilePathList.html">FilePathList</A>&amp; filepath)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setDataFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.20"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setDataFilePathList(const std::string&amp; paths)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDataFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.21"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="FilePathList.html">FilePathList</A>&amp; getDataFilePathList()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="findDataFile"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.22"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string findDataFile(const std::string&amp; filename)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLibraryFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.24"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setLibraryFilePathList(const <!1><A HREF="FilePathList.html">FilePathList</A>&amp; filepaths)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLibraryFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.25"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setLibraryFilePathList(const std::string&amp; paths)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLibraryFilePathList"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.26"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="FilePathList.html">FilePathList</A>&amp; getLibraryFilePathList()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="findLibraryFile"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.27"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>extern OSGDB_EXPORT std::string findLibraryFile(const std::string&amp; filename)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="writeArray"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.31"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>template&lt;class Iterator&gt; void writeArray(<!1><A HREF="Output.html">Output</A>&amp; fw, Iterator first, Iterator last, int noItemsPerLine=0)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="writeArrayAsInts"></A>
2003-07-23 19:27:31 +08:00
<A NAME="DOC.2.32"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>template&lt;class Iterator&gt; void writeArrayAsInts(<!1><A HREF="Output.html">Output</A>&amp; fw, Iterator first, Iterator last, int noItemsPerLine=0)</B></TT>
<DL><DT><DD></DL><P></DL>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>