|
osgEarth 2.1.1
|
Inheritance diagram for OverlayLabelSourceDriver:
Collaboration diagram for OverlayLabelSourceDriver:Public Member Functions | |
| OverlayLabelSourceDriver () | |
| virtual const char * | className () |
| virtual ReadResult | readObject (const std::string &file_name, const Options *options) const |
Definition at line 136 of file OverlayLabelSource.cpp.
| OverlayLabelSourceDriver::OverlayLabelSourceDriver | ( | ) | [inline] |
Definition at line 139 of file OverlayLabelSource.cpp.
{
supportsExtension( "osgearth_label_overlay", "osgEarth overlay label plugin" );
}
| virtual const char* OverlayLabelSourceDriver::className | ( | ) | [inline, virtual] |
Definition at line 144 of file OverlayLabelSource.cpp.
{
return "osgEarth Overlay Label Plugin";
}
| virtual ReadResult OverlayLabelSourceDriver::readObject | ( | const std::string & | file_name, |
| const Options * | options | ||
| ) | const [inline, virtual] |
Definition at line 149 of file OverlayLabelSource.cpp.
{
if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name )))
return ReadResult::FILE_NOT_HANDLED;
return new OverlayLabelSource( getLabelSourceOptions(options) );
}
1.7.3