osgEarth 2.1.1
Public Member Functions

FeatureLabelModelSourceDriver Class Reference

Inheritance diagram for FeatureLabelModelSourceDriver:
Collaboration diagram for FeatureLabelModelSourceDriver:

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 138 of file FeatureLabelModelSource.cpp.


Constructor & Destructor Documentation

FeatureLabelModelSourceDriver::FeatureLabelModelSourceDriver ( ) [inline]

Definition at line 141 of file FeatureLabelModelSource.cpp.

    {
        supportsExtension( "osgearth_model_feature_label", "osgEarth feature label plugin" );
    }

Member Function Documentation

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

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