osgEarth 2.1.1
|
Public Member Functions | |
SimpleModelSourceFactory () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 69 of file SimpleModelSource.cpp.
SimpleModelSourceFactory::SimpleModelSourceFactory | ( | ) | [inline] |
Definition at line 72 of file SimpleModelSource.cpp.
{ supportsExtension( "osgearth_model_simple", "osgEarth simple model plugin" ); }
virtual const char* SimpleModelSourceFactory::className | ( | ) | [inline, virtual] |
Definition at line 77 of file SimpleModelSource.cpp.
{ return "osgEarth Simple Model Plugin"; }
virtual ReadResult SimpleModelSourceFactory::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 82 of file SimpleModelSource.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return ReadResult( new SimpleModelSource( getModelSourceOptions(options) ) ); }