osgEarth 2.1.1
Public Member Functions

FeatureMaskDriver Class Reference

Inheritance diagram for FeatureMaskDriver:
Collaboration diagram for FeatureMaskDriver:

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 134 of file FeatureMaskSource.cpp.


Constructor & Destructor Documentation

FeatureMaskDriver::FeatureMaskDriver ( ) [inline]

Definition at line 137 of file FeatureMaskSource.cpp.

    {
        supportsExtension( "osgearth_mask_feature", "osgEarth feature mask plugin" );
    }

Member Function Documentation

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

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