osgEarth 2.1.1
Public Member Functions

OverlayLabelSourceDriver Class Reference

Inheritance diagram for OverlayLabelSourceDriver:
Collaboration diagram for OverlayLabelSourceDriver:

List of all members.

Public Member Functions

 OverlayLabelSourceDriver ()
virtual const char * className ()
virtual ReadResult readObject (const std::string &file_name, const Options *options) const

Detailed Description

Definition at line 136 of file OverlayLabelSource.cpp.


Constructor & Destructor Documentation

OverlayLabelSourceDriver::OverlayLabelSourceDriver ( ) [inline]

Definition at line 139 of file OverlayLabelSource.cpp.

    {
        supportsExtension( "osgearth_label_overlay", "osgEarth overlay label plugin" );
    }

Member Function Documentation

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) );
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines