📄 registry.cpp
字号:
""); I_Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive, Properties::NON_VIRTUAL, __void__addToArchiveCache__C5_std_string_R1__osgDB_Archive_P1, "Add archive to archive cache so that future calls reference this archive. ", ""); I_Method1(void, removeFromArchiveCache, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __void__removeFromArchiveCache__C5_std_string_R1, "Remove archive from cache. ", ""); I_Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __osgDB_Archive_P1__getFromArchiveCache__C5_std_string_R1, "Get an archive from the archive cache. ", ""); I_Method0(void, clearArchiveCache, Properties::NON_VIRTUAL, __void__clearArchiveCache, "Remove all archives from the archive cache. ", ""); I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, Properties::NON_VIRTUAL, __void__releaseGLObjects__osg_State_P1, "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", "Otherwise, releases OpenGL objexts for all graphics contexts. "); I_Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __DynamicLibrary_P1__getLibrary__C5_std_string_R1, "get the attached library with specified name. ", ""); I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager, Properties::NON_VIRTUAL, __void__setSharedStateManager__SharedStateManager_P1, "Set the SharedStateManager. ", ""); I_Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager, Properties::NON_VIRTUAL, __SharedStateManager_P1__getOrCreateSharedStateManager, "Get the SharedStateManager, creating one if one is not already created. ", ""); I_Method0(osgDB::SharedStateManager *, getSharedStateManager, Properties::NON_VIRTUAL, __SharedStateManager_P1__getSharedStateManager, "Get the SharedStateManager. ", "Return 0 if no SharedStateManager has been assigned. "); I_Method1(void, addArchiveExtension, IN, const std::string, ext, Properties::NON_VIRTUAL, __void__addArchiveExtension__C5_std_string, "Add an Archive extension. ", ""); I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false, __Registry_P1__instance__bool_S, "", ""); I_ProtectedConstructor0(____Registry, "constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed ", ""); I_ProtectedMethod0(void, destruct, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__destruct, "", ""); I_ProtectedMethod1(osgDB::ReaderWriter::ReadResult, read, IN, const osgDB::Registry::ReadFunctor &, readFunctor, Properties::NON_VIRTUAL, Properties::NON_CONST, __ReaderWriter_ReadResult__read__C5_ReadFunctor_R1, "", ""); I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, bool, useObjectCache, Properties::NON_VIRTUAL, Properties::NON_CONST, __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__bool, "", ""); I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, __AuthenticationMap_P1__getAuthenticationMap, __void__setAuthenticationMap__AuthenticationMap_P1); I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint, __ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint, __void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint); I_SimpleProperty(bool, CreateNodeFromImage, __bool__getCreateNodeFromImage, __void__setCreateNodeFromImage__bool); I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList, __C5_FilePathList_R1__getDataFilePathList, __void__setDataFilePathList__C5_FilePathList_R1); I_SimpleProperty(osgDB::FileCache *, FileCache, __FileCache_P1__getFileCache, __void__setFileCache__FileCache_P1); I_SimpleProperty(osg::KdTreeBuilder *, KdTreeBuilder, __osg_KdTreeBuilder_P1__getKdTreeBuilder, __void__setKdTreeBuilder__osg_KdTreeBuilder_P1); I_SimpleProperty(const osgDB::FilePathList &, LibraryFilePathList, __C5_FilePathList_R1__getLibraryFilePathList, __void__setLibraryFilePathList__C5_FilePathList_R1); I_SimpleProperty(osgDB::ReaderWriter::Options *, Options, __ReaderWriter_Options_P1__getOptions, __void__setOptions__ReaderWriter_Options_P1); I_SimpleProperty(osgDB::Registry::ReadFileCallback *, ReadFileCallback, __ReadFileCallback_P1__getReadFileCallback, __void__setReadFileCallback__ReadFileCallback_P1); I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList, __ReaderWriterList_R1__getReaderWriterList, 0); I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager, __SharedStateManager_P1__getSharedStateManager, __void__setSharedStateManager__SharedStateManager_P1); I_SimpleProperty(osgDB::Registry::WriteFileCallback *, WriteFileCallback, __WriteFileCallback_P1__getWriteFileCallback, __void__setWriteFileCallback__WriteFileCallback_P1);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osgDB::Registry::ReadFileCallback) I_DeclaringFile("osgDB/Registry"); I_VirtualBaseType(osg::Referenced); I_Constructor0(____ReadFileCallback, "", ""); I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, filename, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, useObjectCache, Properties::VIRTUAL, __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", "");END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor) I_DeclaringFile("osgDB/Registry"); I_Constructor2(IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, ____ReadFunctor__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw, Properties::PURE_VIRTUAL, __ReaderWriter_ReadResult__doRead__ReaderWriter_R1, "", ""); I_Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult, Properties::PURE_VIRTUAL, __bool__isValid__ReaderWriter_ReadResult_R1, "", ""); I_Method1(bool, isValid, IN, osg::Object *, object, Properties::PURE_VIRTUAL, __bool__isValid__osg_Object_P1, "", ""); I_PublicMemberProperty(std::string, _filename);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback) I_DeclaringFile("osgDB/Registry"); I_VirtualBaseType(osg::Referenced); I_Constructor0(____WriteFileCallback, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", "");END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >) I_DeclaringFile("osg/ref_ptr"); I_Constructor0(____ref_ptr, "", ""); I_Constructor1(IN, osgDB::ReaderWriter *, ptr, Properties::NON_EXPLICIT, ____ref_ptr__T_P1, "", ""); I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp, Properties::NON_EXPLICIT, ____ref_ptr__C5_ref_ptr_R1, "", ""); I_Method0(osgDB::ReaderWriter *, get, Properties::NON_VIRTUAL, __T_P1__get, "", ""); I_Method0(bool, valid, Properties::NON_VIRTUAL, __bool__valid, "", ""); I_Method0(osgDB::ReaderWriter *, release, Properties::NON_VIRTUAL, __T_P1__release, "", ""); I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp, Properties::NON_VIRTUAL, __void__swap__ref_ptr_R1, "", ""); I_SimpleProperty(osgDB::ReaderWriter *, , __T_P1__get, 0);END_REFLECTORSTD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -