osgEarth 2.1.1
|
Public Member Functions | |
FeatureLabelModelSourceDriver () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 138 of file FeatureLabelModelSource.cpp.
FeatureLabelModelSourceDriver::FeatureLabelModelSourceDriver | ( | ) | [inline] |
Definition at line 141 of file FeatureLabelModelSource.cpp.
{ supportsExtension( "osgearth_model_feature_label", "osgEarth feature label plugin" ); }
virtual const char* FeatureLabelModelSourceDriver::className | ( | ) | [inline, virtual] |
Definition at line 146 of file FeatureLabelModelSource.cpp.
{ return "osgEarth Feature Label Model Plugin"; }
virtual ReadResult FeatureLabelModelSourceDriver::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 151 of file FeatureLabelModelSource.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return new FeatureLabelModelSource( getModelSourceOptions(options) ); }