|
osgEarth 2.1.1
|
Inheritance diagram for FeatureGeomModelSourceDriver:
Collaboration diagram for FeatureGeomModelSourceDriver:Public Member Functions | |
| FeatureGeomModelSourceDriver () | |
| virtual const char * | className () |
| virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
The plugin factory object
Definition at line 75 of file FeatureGeomModelSource.cpp.
| FeatureGeomModelSourceDriver::FeatureGeomModelSourceDriver | ( | ) | [inline] |
Definition at line 78 of file FeatureGeomModelSource.cpp.
{
supportsExtension( "osgearth_model_feature_geom", "osgEarth feature geom plugin" );
}
| virtual const char* FeatureGeomModelSourceDriver::className | ( | ) | [inline, virtual] |
Definition at line 83 of file FeatureGeomModelSource.cpp.
{
return "osgEarth Feature Geom Model Plugin";
}
| virtual ReadResult FeatureGeomModelSourceDriver::readObject | ( | const std::string & | file_name, |
| const Options * | options | ||
| ) | const [inline, virtual] |
Definition at line 88 of file FeatureGeomModelSource.cpp.
{
if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name )))
return ReadResult::FILE_NOT_HANDLED;
return new FeatureGeomModelSource( getModelSourceOptions(options) );
}
1.7.3