OpenSceneGraph/include/osgDB
Robert Osfield 4914d3974a From Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS.
To set up extension aliases using a config file, an app calls:
osgDB::Registry::instance()->readPluginAliasConfigurationFile(), passing in the file name as the parameter. (Of course this should be done before loading any files whose names depend on the mapping.) osgDB will search for the file using OSG_FILE_PATH.

The file should contain a line for each mapping, with the "map" extension first, followed by a space or tab, then the plugin identifier. For example, a file containing this line:

flt OpenFlight

would map the ".flt" extension to the OpenFlight plugin."
2007-02-05 10:44:10 +00:00
..
Archive Updated copyright years. 2006-07-18 15:21:48 +00:00
DatabasePager From Bryan Thrall, "Currently, the DatabasePager always loads requested Nodes using the 2006-12-05 14:50:46 +00:00
DotOsgWrapper Updated copyright years. 2006-07-18 15:21:48 +00:00
DynamicLibrary Updated copyright years. 2006-07-18 15:21:48 +00:00
Export Updated copyright years. 2006-07-18 15:21:48 +00:00
Field Updated copyright years. 2006-07-18 15:21:48 +00:00
FieldReader Updated copyright years. 2006-07-18 15:21:48 +00:00
FieldReaderIterator Updated copyright years. 2006-07-18 15:21:48 +00:00
FileNameUtils From Joakim Simonsson, added osgDB::concateFile and osgDB::getRealPath. 2007-01-17 15:59:29 +00:00
FileUtils Updated copyright years. 2006-07-18 15:21:48 +00:00
ImageOptions Updated copyright years. 2006-07-18 15:21:48 +00:00
Input Updated copyright years. 2006-07-18 15:21:48 +00:00
Output Updated copyright years. 2006-07-18 15:21:48 +00:00
ParameterOutput Updated copyright years. 2006-07-18 15:21:48 +00:00
ReaderWriter From Bryan Thrall, "The osgDB::ReaderWriter and osgDB::ReaderWriter::Options classes have 2007-01-30 14:18:39 +00:00
ReadFile Updated copyright years. 2006-07-18 15:21:48 +00:00
ReentrantMutex Changed the ReadWriteMutex to use standard OpenThreads::Mutex to fix 2007-01-04 21:14:29 +00:00
Registry From Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS. 2007-02-05 10:44:10 +00:00
SharedStateManager Updated copyright years. 2006-07-18 15:21:48 +00:00
Version Updated copyright years. 2006-07-18 15:21:48 +00:00
WriteFile Updated copyright years. 2006-07-18 15:21:48 +00:00