osgEarth 2.1.1
|
Public Member Functions | |
ReaderWriterTMS () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Private Types | |
typedef std::map< std::string, osg::ref_ptr< TileMap > > | TileMapCache |
Private Attributes | |
TileMapCache | _tileMapCache |
Definition at line 185 of file ReaderWriterTMS.cpp.
typedef std::map< std::string,osg::ref_ptr<TileMap> > ReaderWriterTMS::TileMapCache [private] |
Definition at line 188 of file ReaderWriterTMS.cpp.
ReaderWriterTMS::ReaderWriterTMS | ( | ) | [inline] |
Definition at line 192 of file ReaderWriterTMS.cpp.
{ supportsExtension( "osgearth_tms", "Tile Map Service" ); }
virtual const char* ReaderWriterTMS::className | ( | ) | [inline, virtual] |
Definition at line 197 of file ReaderWriterTMS.cpp.
{ return "Tile Map Service ReaderWriter"; }
virtual ReadResult ReaderWriterTMS::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 202 of file ReaderWriterTMS.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return new TMSSource( getTileSourceOptions(options) ); }
TileMapCache ReaderWriterTMS::_tileMapCache [private] |
Definition at line 189 of file ReaderWriterTMS.cpp.