Inheritance diagram for osgDB::ReaderWriter::Options:
Public Types | |
enum | CacheHintOptions { CACHE_NONE = 0, CACHE_NODES = 1, CACHE_IMAGES = 2, CACHE_HEIGHTFIELDS = 4, CACHE_ARCHIVES = 8, CACHE_OBJECTS = 16, CACHE_ALL } |
bit mask for setting up which object types get cached by readObject/Image/HeightField/Node(filename) calls More... | |
Public Member Functions | |
Options () | |
Options (const std::string &str) | |
Options (const Options &options, const osg::CopyOp copyop=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgDB, Options) | |
void | setOptionString (const std::string &str) |
Set the general Options string. | |
const std::string & | getOptionString () const |
Get the general Options string. | |
void | setDatabasePath (const std::string &str) |
Set the database path to use a hint of where to look when loading models. | |
FilePathList & | getDatabasePathList () |
Get the database path which is used a hint of where to look when loading models. | |
const FilePathList & | getDatabasePathList () const |
Get the const database path which is used a hint of where to look when loading models. | |
void | setObjectCacheHint (CacheHintOptions useObjectCache) |
Set whether the Registry::ObjectCache should be used by default. | |
CacheHintOptions | getObjectCacheHint () const |
Get whether the Registry::ObjectCache should be used by default. | |
Protected Member Functions | |
virtual | ~Options () |
Protected Attributes | |
std::string | _str |
FilePathList | _databasePaths |
CacheHintOptions | _objectCacheHint |
|
|
|
|
|
|
|
|
|
|
Get the const database path which is used a hint of where to look when loading models.
|
|
Get the database path which is used a hint of where to look when loading models.
|
|
Get whether the Registry::ObjectCache should be used by default.
|
|
Get the general Options string.
|
|
|
|
Set the database path to use a hint of where to look when loading models.
|
|
Set whether the Registry::ObjectCache should be used by default.
|
|
Set the general Options string.
|
|
|
|
|
|
|