![]() |
VR-Forces 5.0.3 Developer's Guide
|

Classes | |
| class | Creator |
Public Member Functions | |
| bool | needsShaderGeneration (const std::string &filename, const LoadFileOptions &options) const |
| void | encodeOptionsString (const LoadFileOptions &loadFileOptions, osgDB::ReaderWriter::Options &options) const |
| void | decodeOptions (const osgDB::ReaderWriter::Options &options, LoadFileOptions &loadFileOptions) const |
| osg::ref_ptr< osg::Image > | ts_readImageFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions) |
Public Member Functions inherited from makVrv::DtOsgFileCache | |
| virtual | ~DtOsgFileCache () |
| virtual void | initSingletonDependencies () |
| virtual void | releaseResources () |
| virtual void | releaseResources (osg::State *state) |
| virtual void | setFromRecord (const makArchives::DtCacheSettingsRecord &rec) |
| osg::Node * | readNodeFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions) |
| osg::ref_ptr< osg::Node > | findNodeFile (const std::string &inputFilename) |
| osg::Image * | readImageFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions) |
| virtual osg::Texture * | getTextureInstance (const std::string &filePath, osg::Texture::FilterMode minFilter, osg::Texture::FilterMode magFilter, osg::Texture::WrapMode s, osg::Texture::WrapMode t, const LoadFileOptions &loadFileOptions) |
| virtual void | ts_getTextureInstance (const std::string &filePath, osg::Texture::FilterMode minFilter, osg::Texture::FilterMode magFilter, osg::Texture::WrapMode s, osg::Texture::WrapMode t, const LoadFileOptions &loadFileOptions, osg::ref_ptr< osg::Texture > &texture) |
| virtual void | runMergeDuplicateTextureVisitor (osg::Node &node) |
| DtMetaFileManager * | metaFileManager () |
| void | cleanDataFilePathList (FilePathList &fileList) |
| virtual const DtOsgShaderFilesCache & | shaderFilesCache (void) const |
| virtual const std::string & | loadShaderSource (const std::string &shaderFile) const |
| virtual std::string | ts_getTextureFilePathAndSetNameIfNotSet (const osg::Texture *baseTexture) const |
| virtual void | ts_setEffectTextureName (osg::ref_ptr< osg::Texture > &effectTexture, const std::string &validFile) const |
| virtual void | ts_setEffectTextureFilterAndHardwareMipMapGen (osg::Texture *effectTexture, osg::Texture::FilterMode minFilter, osg::Texture::FilterMode magFilter, bool hardwareMipMapGen) const |
| virtual void | ts_compareAndSwapIgnoreHint (osg::Texture *effectTexture, bool oldVal, bool newVal) const |
| virtual bool | ts_checkAndSetIgnoreHint (osg::Object *obj, bool val, const char *hint) const |
| virtual bool | ts_ignore (osg::Object *obj, const char *hint) const |
| virtual const DtEffectControllerShaderCache & | effectControllerShaderCache (void) const |
| virtual void | setNumActivePagerThreads (int active) |
| virtual int | numActivePagerThreads () |
| virtual int | numImageProcessingTasks () const |
| virtual void | setNumDiguyWorkerThreads (int num) |
| virtual void | incrementNumSleepingPagerThreads () |
| virtual void | decrementNumSleepingPagerThreads () |
| virtual DtOsgShaderManager & | shaderManager (void) |
| virtual const DtOsgShaderManager & | shaderManager (void) const |
| virtual void | ts_flushInstancingCache (bool multipass, bool flushNodes, bool flushTextures, bool flushImages) |
| virtual int | numNodes () const |
| virtual int | numTextures () const |
| virtual int | numImages () const |
| virtual void | addImguiTextureUI (unsigned int contextID) |
| virtual void | connectImguiSignal () |
Public Member Functions inherited from makVrv::DtFileCache | |
| virtual | ~DtFileCache () |
| virtual void | init () |
| LoadFileOptions | defaultOptions () const |
| virtual bool | getCachedNodeFile (const std::string &filePathIn, const FilePathList &paths, std::string &cachedFilePathOut, bool emitError) |
| virtual bool | getCachedImageFile (const std::string &filePathIn, const FilePathList &paths, std::string &cachedFilePathOut, bool emitError) |
| virtual void | setCachingEnabled (bool flag) |
| virtual bool | acceleratedCachingEnabled () const |
| virtual void | setCompressTextures (bool compress) |
| virtual bool | compressTexturesEnabled () const |
| virtual void | clearAccelerationCache () |
| virtual void | setInstancingEnabled (bool enabled) |
| virtual bool | instancingEnabled () const |
| bool | clearInstancesOnNewScene () const |
| void | setClearInstancesOnNewScene (bool clearInstances) |
| void | clearInstancingCache () |
| void | flushInstanceCache (bool multipass, bool flushNodes, bool flushTextures, bool flushImages) |
| unsigned int | flushCycleCount () |
| virtual void | getRecord (makArchives::DtCacheSettingsRecord &rec) |
| virtual void | getSplitRecord (std::vector< makArchives::DtCacheSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| virtual void | addRecords (makArchives::DtCacheSettingsRecord &recs, makArchives::DtCacheSettingsRecord &combinedRec) |
| void | loadDefaults (bool loadOnlyFactorySettings=false) |
| void | saveAsDefaults () |
| void | exportSettings (const std::string &fileName) |
| void | importSettings (const std::string &fileName) |
| virtual ExcludedExtensions & | excludedExtensions () |
| bool | isExcludedExtension (const std::string &ext) const |
| const DtRecordSettingsBackupInterface * | settingsBackup () const |
| DtRecordSettingsBackupInterface * | settingsBackup () |
| DtDe & | getDe () |
Protected Member Functions | |
| DtVrfSingletonFileCache (makVrv::DtDe &de) | |
Protected Member Functions inherited from makVrv::DtOsgFileCache | |
| virtual osg::ref_ptr< osg::Node > | ts_readNodeFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions, const osg::UserDataContainer *optionsUserData) |
| virtual osg::ref_ptr< osg::Node > | ts_readCdbNodeFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions, const osg::UserDataContainer *optionsUserData) |
| virtual osg::ref_ptr< osg::Node > | ts_findNodeFile (const std::string &inputFilename) |
| virtual osg::ref_ptr< osg::Image > | ts_readImageFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions, const osg::UserDataContainer *optionsUserData=0L) |
| virtual osg::ref_ptr< osg::Image > | ts_readCdbImageFile (const std::string &inputFilename, const LoadFileOptions &loadFileOptions, const osg::UserDataContainer *optionsUserData=0L) |
| virtual osg::ref_ptr< osg::Object > | ts_readObject (const std::string &filename, const osgDB::ReaderWriter::Options *options) |
| void | ts_encryptImage (const std::string &inputFileName, const std::string &outputFilename, const osgDB::ReaderWriter::Options *options, bool printToConsole) |
| bool | ts_resolveRelativeFilename (const LoadFileOptions &loadFileOptions, std::string &absoluteInputFilename) |
| virtual void | ts_clearInstancingCache () |
| virtual void | applyEffectTexture (osg::Node *node, const std::string &extension, bool isCdb, osgDB::ReaderWriter::Options *option) |
| DtOsgFileCache (DtDe &de) | |
| virtual bool | save (const std::string &origFilename, const std::string &cachedFilename, bool optimize) |
| bool | saveToAcceleratedFile (const std::string &origFileName, osg::Node *nodeRef, const std::string &cachedFilename, bool writeExternalReferences) |
| virtual void | addMetaFlightOptions (std::string &optionsString) |
| virtual void | updateGlobalOptions () |
| virtual void | slot_onDdsFlipChanged (bool flip) |
| virtual void | slot_instancingChanged (bool enabled) |
| virtual bool | getAttrFromLocalCache (const std::string &filename, osg::Object **attrData) |
| virtual void | writeCacheFile (osg::ref_ptr< osg::Node > node, const std::string &acceleratedFileLocation, DtCVMarkerSeries &series) |
| virtual void | shadersGeneration (osg::ref_ptr< osg::Node > node, const std::string &fileToLoad) |
| virtual void | squishImage (const std::string &fileToLoad, const std::string &acceleratedFilename, DtCVMarkerSeries &objectCreation, osg::ref_ptr< osg::Image > image, bool writeAcceleratedFile, bool isCDB) |
| virtual void | saveImageFilename (const std::string &absoluteInputFilename, osg::Image *image) |
| virtual osg::ref_ptr< osg::Image > | getCachedImage (const std::string &cacheKey, const std::string &inputExtension, const LoadFileOptions &loadFileOptions) |
Protected Member Functions inherited from makVrv::DtFileCache | |
| virtual void | autoSaveDefaultsIfNeeded () |
| virtual bool | ts_isExcludedExtension (const std::string &ext) const |
| virtual void | addExcludedExtension (const std::string &ext) |
| virtual void | removeExcludedExtension (const std::string &ext) |
| DtFileCache (DtDe &de) | |
Friends | |
| class | Creator |
Additional Inherited Members | |
Public Types inherited from makVrv::DtFileCache | |
| typedef boost::unordered_set < std::string > | ExcludedExtensions |
| typedef std::deque< std::string > | FilePathList |
Static Public Member Functions inherited from makVrv::DtOsgFileCache | |
| static void | optimizeNodeGeometry (osg::Node *node) |
Public Attributes inherited from makVrv::DtOsgFileCache | |
| boost::signalslib::signal < void(osg::Node *, const std::string &origFileName, const std::string &actualFileName)> | signal_nodeFileLoaded |
| boost::signalslib::signal < void(osg::Image *, const std::string &origFileName, const std::string &actualFileName)> | signal_imageFileLoaded |
| boost::signalslib::signal < void(osg::Object *, const std::string &origFileName, const std::string &actualFileName)> | signal_objectFileLoaded |
| boost::signalslib::signal < void(const std::string &filename, osgDB::ReaderWriter::ReadResult &, const osgDB::ReaderWriter::Options *)> | signal_readNodeCallback |
| boost::signalslib::signal < void(const std::string &filename, osgDB::ReaderWriter::ReadResult &, const osgDB::ReaderWriter::Options *)> | signal_readImageCallback |
| boost::signalslib::signal < void(const std::string &filename, osgDB::ReaderWriter::ReadResult &, const osgDB::ReaderWriter::Options *)> | signal_readObjectCallback |
Public Attributes inherited from makVrv::DtFileCache | |
| boost::signalslib::signal< void()> | signal_clearInstanceCache |
Protected Types inherited from makVrv::DtOsgFileCache | |
| typedef boost::unordered_map < std::string, std::string > | RelativePathCache |
| typedef std::map< std::string, osg::ref_ptr< osg::Object > > | AttrCacheMap |
Protected Attributes inherited from makVrv::DtOsgFileCache | |
| DtOsgReferencedCollection < osg::Node > | myNodeCollection |
| DtOsgReferencedCollection < DtTextureCollection > | myTextureCollection |
| DtOsgReferencedCollection < osg::Image > | myImageCollection |
| AttrCacheMap | myAttrCacheMap |
| tbb::spin_rw_mutex | myRelativePathMutex |
| RelativePathCache | myRelativePathCache |
| DtMeifConverter * | myImageCompressor |
| DtMetaFileManager * | myMetaFileManager |
| DtOsgShaderManager & | myShaderManager |
| DtOsgShaderFilesCache & | myShaderFilesCache |
| DtEffectControllerFactory & | myEffectControllerFactory |
| DtEffectControllerShaderCache | myEffectControllerShaderCache |
| osg::ref_ptr< DtReadFileCallback > | myReadFileCallback |
| DtSignalConnectionManager | myConnections |
| int | myNumActivePagerThreads |
| tbb::atomic< int > | myNumSleepingPagerThreads |
| tbb::atomic< int > | myNumDiguyWorkerThreads |
| osgDB::ReaderWriter * | myFltDriver |
| osgDB::ReaderWriter * | myFltCdbDriver |
| osgDB::ReaderWriter * | myMedfDriver |
| osgDB::ReaderWriter * | myRgbDriver |
| osgDB::ReaderWriter * | myMeifDriver |
| osgDB::ReaderWriter * | myCDBZipDriver |
Protected Attributes inherited from makVrv::DtFileCache | |
| DtDe & | myDe |
| bool | myCachingEnabled |
| bool | myCompressTextureFlag |
| bool | myClearInstancesOnNewSceneFlag |
| bool | myInstancingEnabled |
| unsigned int | myFlushCycleCount |
| DtSignalConnectionManager | myConnectionManager |
| ExcludedExtensions | myExcludedExtensionMap |
| DtRecordSettingsBackupInterface * | mySettingsBackup |
|
explicitprotected |
|
virtual |
Returns TRUE if we should run the shader generator on the node.
Reimplemented from makVrv::DtOsgFileCache.
|
virtual |
Encode load file options into reader write options.
Reimplemented from makVrv::DtOsgFileCache.
|
virtual |
Decode reader write options into load file options.
Reimplemented from makVrv::DtOsgFileCache.
| osg::ref_ptr<osg::Image> DtVrfSingletonFileCache::ts_readImageFile | ( | const std::string & | inputFilename, |
| const LoadFileOptions & | loadFileOptions | ||
| ) |
|
friend |