osgEarth 2.1.1
Public Member Functions

FeatureGeomModelSourceDriver Class Reference

Inheritance diagram for FeatureGeomModelSourceDriver:
Collaboration diagram for FeatureGeomModelSourceDriver:

List of all members.

Public Member Functions

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

Detailed Description

The plugin factory object

Definition at line 75 of file FeatureGeomModelSource.cpp.


Constructor & Destructor Documentation

FeatureGeomModelSourceDriver::FeatureGeomModelSourceDriver ( ) [inline]

Definition at line 78 of file FeatureGeomModelSource.cpp.

    {
        supportsExtension( "osgearth_model_feature_geom", "osgEarth feature geom plugin" );
    }

Member Function Documentation

virtual const char* FeatureGeomModelSourceDriver::className ( ) [inline, virtual]

Definition at line 83 of file FeatureGeomModelSource.cpp.

    {
        return "osgEarth Feature Geom Model Plugin";
    }
virtual ReadResult FeatureGeomModelSourceDriver::readObject ( const std::string &  file_name,
const Options *  options 
) const [inline, virtual]

Definition at line 88 of file FeatureGeomModelSource.cpp.

    {
        if ( !acceptsExtension(osgDB::getLowerCaseFileExtension( file_name )))
            return ReadResult::FILE_NOT_HANDLED;

        return new FeatureGeomModelSource( getModelSourceOptions(options) );
    }

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