*** empty log message ***
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
namespace osgDB {
|
||||
|
||||
|
||||
/** Wrapper class for specifing read and write functions for extending
|
||||
/** Wrapper class for specifying read and write functions for extending
|
||||
* the .osg file format. */
|
||||
class OSGDB_EXPORT DotOsgWrapper : public osg::Referenced
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@ class OSGDB_EXPORT FieldReader
|
||||
bool readField(Field& fieldPtr);
|
||||
void ignoreField();
|
||||
|
||||
/** no of unmatched `{' encounterd so far in file*/
|
||||
/** no of unmatched `{' encountered so far in file*/
|
||||
int getNoNestedBrackets() const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,8 +37,8 @@ class OSGDB_EXPORT FieldReaderIterator
|
||||
FieldReaderIterator& operator ++ ();
|
||||
FieldReaderIterator& operator += (int no);
|
||||
|
||||
/** increments the itetor of the next simple field or
|
||||
whole block if the current field[0] is an open bracket */
|
||||
/** increments the iterator of the next simple field or
|
||||
* whole block if the current field[0] is an open bracket */
|
||||
void advanceOverCurrentFieldOrBlock();
|
||||
void advanceToEndOfCurrentBlock();
|
||||
void advanceToEndOfBlock(int noNestBrackets);
|
||||
|
||||
@@ -31,7 +31,7 @@ typedef std::vector<std::string> DirectoryContents;
|
||||
|
||||
/** return the directory/filename of a file if its is contained within specified directory.
|
||||
* return "" if directory does not contain file. If caseInsensitive is set to true then
|
||||
* a case insenstive comparision is used to compare fileName to directory contents.
|
||||
* a case insensitive comparison is used to compare fileName to directory contents.
|
||||
* This is useful when unix programs attempt read case insentive windows filenames.
|
||||
*/
|
||||
OSGDB_EXPORT extern std::string findFileInDirectory(const std::string& fileName,const std::string& dirName,bool caseInsensitive=false);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
namespace osgDB {
|
||||
|
||||
/** Read an osg::Object from file.
|
||||
* Return valid osg::Object on sucess,
|
||||
* Return valid osg::Object on success,
|
||||
* return NULL on failure.
|
||||
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
|
||||
* for the filename extension, and this plugin then handles the request
|
||||
@@ -19,7 +19,7 @@ namespace osgDB {
|
||||
OSGDB_EXPORT extern osg::Object* readObjectFile(const std::string& filename);
|
||||
|
||||
/** Read an osg::Image from file.
|
||||
* Return valid osg::Image on sucess,
|
||||
* Return valid osg::Image on success,
|
||||
* return NULL on failure.
|
||||
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
|
||||
* for the filename extension, and this plugin then handles the request
|
||||
@@ -27,7 +27,7 @@ OSGDB_EXPORT extern osg::Object* readObjectFile(const std::string& filename);
|
||||
OSGDB_EXPORT extern osg::Image* readImageFile(const std::string& filename);
|
||||
|
||||
/** Read an osg::Node from file.
|
||||
* Return valid osg::Node on sucess,
|
||||
* Return valid osg::Node on success,
|
||||
* return NULL on failure.
|
||||
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
|
||||
* for the filename extension, and this plugin then handles the request
|
||||
|
||||
@@ -15,12 +15,12 @@ namespace osgDB {
|
||||
|
||||
/**
|
||||
Registry is a singleton factory which stores
|
||||
the Objects types available at runtime for loading,
|
||||
and any Object reader or writers which are linked in
|
||||
the reader/writers which are linked in
|
||||
at runtime for reading non-native file formats.
|
||||
|
||||
The RegisterObjectProxy can be used to automatically register
|
||||
at runtime a Object with the Registry.
|
||||
The RegisterDotOsgWrapperProxy can be used to automatically register
|
||||
DotOsgWrappers, at runtime with the Registry. A DotOsgWrapper encapsulates
|
||||
the functions that can read and write to the .osg for each osg::Object.
|
||||
|
||||
The RegisterReaderWriterProxy can be used to automatically
|
||||
register at runtime a reader/writer with the Registry.
|
||||
|
||||
@@ -7,9 +7,9 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* osgDBGetVersion() returns the library version number.
|
||||
* Numbering conventon : osg_src-0.8.31 will return 0.8.31 from getVersion_osg.
|
||||
* Numbering convention : osg_src-0.8.31 will return 0.8.31 from getVersion_osg.
|
||||
*
|
||||
* This C function can be also used to check for the existance of the OpenSceneGraph
|
||||
* This C function can be also used to check for the existence of the OpenSceneGraph
|
||||
* library using autoconf and its m4 macro AC_CHECK_LIB.
|
||||
*
|
||||
* Here is the code to add to your configure.in:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
namespace osgDB {
|
||||
|
||||
/** Write an osg::Object to file.
|
||||
* Return true on sucess,
|
||||
* 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
|
||||
@@ -20,7 +20,7 @@ namespace osgDB {
|
||||
OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::string& filename);
|
||||
|
||||
/** Write an osg::Image to file.
|
||||
* Return true on sucess,
|
||||
* 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
|
||||
@@ -28,7 +28,7 @@ OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::s
|
||||
OSGDB_EXPORT extern bool writeImageFile(const osg::Image& image, const std::string& filename);
|
||||
|
||||
/** Write an osg::Node to file.
|
||||
* Return true on sucess,
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user