|
| void | readCommandLine (osg::ArgumentParser &commandLine) |
| |
| void | addFileExtensionAlias (const std::string mapExt, const std::string toExt) |
| |
| bool | readPluginAliasConfigurationFile (const std::string &file) |
| |
| void | addMimeTypeExtensionMapping (const std::string fromMimeType, const std::string toExt) |
| |
| MimeTypeExtensionMap & | getMimeTypeExtensionMap () |
| |
| const MimeTypeExtensionMap & | getMimeTypeExtensionMap () const |
| |
| void | addReaderWriter (ReaderWriter *rw) |
| |
| void | removeReaderWriter (ReaderWriter *rw) |
| |
| void | addImageProcessor (ImageProcessor *ip) |
| |
| void | removeImageProcessor (ImageProcessor *ip) |
| |
| std::string | createLibraryNameForFile (const std::string &fileName) |
| |
| std::string | createLibraryNameForExtension (const std::string &ext) |
| |
| std::string | createLibraryNameForNodeKit (const std::string &name) |
| |
| LoadStatus | loadLibrary (const std::string &fileName) |
| |
| bool | closeLibrary (const std::string &fileName) |
| |
| void | closeAllLibraries () |
| |
| ReaderWriter * | getReaderWriterForExtension (const std::string &ext) |
| |
| ReaderWriter * | getReaderWriterForMimeType (const std::string &mimeType) |
| |
| ReaderWriterList & | getReaderWriterList () |
| |
| const ReaderWriterList & | getReaderWriterList () const |
| |
| void | getReaderWriterListForProtocol (const std::string &protocol, ReaderWriterList &results) const |
| |
| ReaderWriter * | getReaderWriterForProtocolAndExtension (const std::string &protocol, const std::string &extension) |
| |
| ImageProcessor * | getImageProcessor () |
| |
| ImageProcessor * | getImageProcessorForExtension (const std::string &ext) |
| |
| ImageProcessorList & | getImageProcessorList () |
| |
| const ImageProcessorList & | getImageProcessorList () const |
| |
| void | setFindFileCallback (FindFileCallback *cb) |
| |
| FindFileCallback * | getFindFileCallback () |
| |
| const FindFileCallback * | getFindFileCallback () const |
| |
| std::string | findDataFile (const std::string &fileName, const Options *options, CaseSensitivity caseSensitivity) |
| |
| std::string | findDataFileImplementation (const std::string &fileName, const Options *options, CaseSensitivity caseSensitivity) |
| |
| std::string | findLibraryFile (const std::string &fileName, const Options *options, CaseSensitivity caseSensitivity) |
| |
| std::string | findLibraryFileImplementation (const std::string &fileName, const Options *options, CaseSensitivity caseSensitivity) |
| |
| void | setReadFileCallback (ReadFileCallback *cb) |
| |
| ReadFileCallback * | getReadFileCallback () |
| |
| const ReadFileCallback * | getReadFileCallback () const |
| |
| ReaderWriter::ReadResult | openArchive (const std::string &fileName, ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint, const Options *options) |
| |
| ReaderWriter::ReadResult | openArchiveImplementation (const std::string &fileName, ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint, const Options *options) |
| |
| ReaderWriter::ReadResult | readObject (const std::string &fileName, const Options *options, bool buildKdTreeIfRequired=true) |
| |
| ReaderWriter::ReadResult | readObjectImplementation (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readImage (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readImageImplementation (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readHeightField (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readHeightFieldImplementation (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readNode (const std::string &fileName, const Options *options, bool buildKdTreeIfRequired=true) |
| |
| ReaderWriter::ReadResult | readNodeImplementation (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readShader (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readShaderImplementation (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readScript (const std::string &fileName, const Options *options) |
| |
| ReaderWriter::ReadResult | readScriptImplementation (const std::string &fileName, const Options *options) |
| |
| void | setWriteFileCallback (WriteFileCallback *cb) |
| |
| WriteFileCallback * | getWriteFileCallback () |
| |
| const WriteFileCallback * | getWriteFileCallback () const |
| |
| ReaderWriter::WriteResult | writeObject (const osg::Object &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeObjectImplementation (const osg::Object &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeImage (const osg::Image &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeImageImplementation (const osg::Image &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeHeightField (const osg::HeightField &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeHeightFieldImplementation (const osg::HeightField &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeNode (const osg::Node &node, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeNodeImplementation (const osg::Node &node, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeShader (const osg::Shader &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeShaderImplementation (const osg::Shader &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeScript (const osg::Script &obj, const std::string &fileName, const Options *options) |
| |
| ReaderWriter::WriteResult | writeScriptImplementation (const osg::Script &obj, const std::string &fileName, const Options *options) |
| |
| void | _buildKdTreeIfRequired (ReaderWriter::ReadResult &result, const Options *options) |
| |
| void | setFileLocationCallback (FileLocationCallback *cb) |
| |
| FileLocationCallback * | getFileLocationCallback () const |
| |
| void | setBuildKdTreesHint (Options::BuildKdTreesHint hint) |
| |
| Options::BuildKdTreesHint | getBuildKdTreesHint () const |
| |
| void | setKdTreeBuilder (osg::KdTreeBuilder *builder) |
| |
| osg::KdTreeBuilder * | getKdTreeBuilder () |
| |
| void | setFileCache (FileCache *fileCache) |
| |
| FileCache * | getFileCache () |
| |
| const FileCache * | getFileCache () const |
| |
| void | setAuthenticationMap (AuthenticationMap *authenticationMap) |
| |
| AuthenticationMap * | getOrCreateAuthenticationMap () |
| |
| AuthenticationMap * | getAuthenticationMap () |
| |
| const AuthenticationMap * | getAuthenticationMap () const |
| |
| void | setCreateNodeFromImage (bool flag) |
| |
| bool | getCreateNodeFromImage () const |
| |
| void | setOptions (Options *opt) |
| |
| Options * | getOptions () |
| |
| const Options * | getOptions () const |
| |
| void | initFilePathLists () |
| |
| void | initDataFilePathList () |
| |
| void | setDataFilePathList (const FilePathList &filepath) |
| |
| void | setDataFilePathList (const std::string &paths) |
| |
| FilePathList & | getDataFilePathList () |
| |
| const FilePathList & | getDataFilePathList () const |
| |
| void | initLibraryFilePathList () |
| |
| void | setLibraryFilePathList (const FilePathList &filepath) |
| |
| void | setLibraryFilePathList (const std::string &paths) |
| |
| FilePathList & | getLibraryFilePathList () |
| |
| const FilePathList & | getLibraryFilePathList () const |
| |
| void | setObjectCache (ObjectCache *objectCache) |
| |
| ObjectCache * | getObjectCache () |
| |
| const ObjectCache * | getObjectCache () const |
| |
| void | setExpiryDelay (double expiryDelay) |
| |
| double | getExpiryDelay () const |
| |
| void | updateTimeStampOfObjectsInCacheWithExternalReferences (const osg::FrameStamp &frameStamp) |
| |
| void | removeExpiredObjectsInCache (const osg::FrameStamp &frameStamp) |
| |
| void | clearObjectCache () |
| |
| void | addEntryToObjectCache (const std::string &filename, osg::Object *object, double timestamp=0.0, Options *options=NULL) |
| |
| void | removeFromObjectCache (const std::string &fileName, Options *options=NULL) |
| |
| osg::Object * | getFromObjectCache (const std::string &fileName, Options *options=NULL) |
| |
| osg::ref_ptr< osg::Object > | getRefFromObjectCache (const std::string &fileName, Options *options=NULL) |
| |
| void | addToArchiveCache (const std::string &fileName, osgDB::Archive *archive) |
| |
| void | removeFromArchiveCache (const std::string &fileName) |
| |
| osgDB::Archive * | getFromArchiveCache (const std::string &fileName) |
| |
| osg::ref_ptr< osgDB::Archive > | getRefFromArchiveCache (const std::string &fileName) |
| |
| void | clearArchiveCache () |
| |
| void | releaseGLObjects (osg::State *state=0) |
| |
| DynamicLibrary * | getLibrary (const std::string &fileName) |
| |
| void | setSharedStateManager (SharedStateManager *SharedStateManager) |
| |
| SharedStateManager * | getOrCreateSharedStateManager () |
| |
| SharedStateManager * | getSharedStateManager () |
| |
| void | addArchiveExtension (const std::string ext) |
| |
| void | registerProtocol (const std::string &protocol) |
| |
| bool | isProtocolRegistered (const std::string &protocol) |
| |
| ObjectWrapperManager * | getObjectWrapperManager () |
| |
| DeprecatedDotOsgWrapperManager * | getDeprecatedDotOsgObjectWrapperManager () |
| |
| const ArchiveExtensionList & | getArchiveExtensions () const |
| |
| | Referenced () |
| |
| | Referenced (bool threadSafeRefUnref) |
| |
| | Referenced (const Referenced &) |
| |
| Referenced & | operator= (const Referenced &) |
| |
| virtual void | setThreadSafeRefUnref (bool) |
| |
| bool | getThreadSafeRefUnref () const |
| |
| OpenThreads::Mutex * | getRefMutex () const |
| |
| int | ref () const |
| |
| int | unref () const |
| |
| int | unref_nodelete () const |
| |
| int | referenceCount () const |
| |
| ObserverSet * | getObserverSet () const |
| |
| ObserverSet * | getOrCreateObserverSet () const |
| |
| void | addObserver (Observer *observer) const |
| |
| void | removeObserver (Observer *observer) const |
| |
Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.
The RegisterReaderWriterProxy can be used to automatically register at runtime a reader/writer with the Registry.