osgEarth 2.1.1
|
Public Member Functions | |
FeatureMaskDriver () | |
virtual const char * | className () |
virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 134 of file FeatureMaskSource.cpp.
FeatureMaskDriver::FeatureMaskDriver | ( | ) | [inline] |
Definition at line 137 of file FeatureMaskSource.cpp.
{ supportsExtension( "osgearth_mask_feature", "osgEarth feature mask plugin" ); }
virtual const char* FeatureMaskDriver::className | ( | ) | [inline, virtual] |
Definition at line 142 of file FeatureMaskSource.cpp.
{ return "osgEarth Feature Mask Plugin"; }
virtual ReadResult FeatureMaskDriver::readObject | ( | const std::string & | file_name, |
const Options * | options | ||
) | const [inline, virtual] |
Definition at line 147 of file FeatureMaskSource.cpp.
{ if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name ))) return ReadResult::FILE_NOT_HANDLED; return new FeatureMaskSource( getMaskSourceOptions(options) ); }