Show
Ignore:
Timestamp:
05/11/09 13:39:12 (5 years ago)
Author:
robert
Message:

Moved Registry::ReadFileCallback? + WriteFileCallback?, and osgDB::ReaderWriter::Options into their own separate Options file and into the osgDB namespace.

Introduced a new callback osgDB::FindFileCallback? that overrides the default behavior of findDataFile/findLibraryFile.

Introduced support for assigning ReaderWriter::Options directory to PagedLOD.

Introduced new osgDB::FileLocationCallback? for assistancing the DatabasePager? to know when a file is hosted on a local or remote file system.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/PagedLOD

    r8994 r10174  
    4343 
    4444        virtual bool removeChildren(unsigned int pos,unsigned int numChildrenToRemove=1); 
    45          
     45 
     46 
     47        /** Set the optional database osgDB::Options object to use when loaded children.*/ 
     48        void setDatabaseOptions(osg::Referenced* options) { _databaseOptions = options; } 
     49 
     50        /** Get the optional database osgDB::Options object used when loaded children.*/ 
     51        osg::Referenced* getDatabaseOptions() { return _databaseOptions.get(); } 
     52 
     53        /** Get the optional database osgDB::Options object used when loaded children.*/ 
     54        const osg::Referenced* getDatabaseOptions() const { return _databaseOptions.get(); } 
    4655 
    4756 
     
    134143        void expandPerRangeDataTo(unsigned int pos); 
    135144 
     145        ref_ptr<Referenced> _databaseOptions; 
    136146        std::string         _databasePath; 
    137147