osgEarth 2.1.1
Public Member Functions

AGGLiteRasterizerTileSourceDriver Class Reference

Inheritance diagram for AGGLiteRasterizerTileSourceDriver:
Collaboration diagram for AGGLiteRasterizerTileSourceDriver:

List of all members.

Public Member Functions

 AGGLiteRasterizerTileSourceDriver ()
virtual const char * className ()
virtual bool acceptsExtension (const std::string &extension) const
virtual ReadResult readObject (const std::string &file_name, const Options *options) const

Detailed Description

Definition at line 345 of file AGGLiteRasterizerTileSource.cpp.


Constructor & Destructor Documentation

AGGLiteRasterizerTileSourceDriver::AGGLiteRasterizerTileSourceDriver ( ) [inline]

Definition at line 348 of file AGGLiteRasterizerTileSource.cpp.

{}

Member Function Documentation

virtual bool AGGLiteRasterizerTileSourceDriver::acceptsExtension ( const std::string &  extension) const [inline, virtual]

Definition at line 355 of file AGGLiteRasterizerTileSource.cpp.

        {
            return osgDB::equalCaseInsensitive( extension, "osgearth_agglite" );
        }
virtual const char* AGGLiteRasterizerTileSourceDriver::className ( ) [inline, virtual]

Definition at line 350 of file AGGLiteRasterizerTileSource.cpp.

        {
            return "AGG-Lite feature rasterizer";
        }
virtual ReadResult AGGLiteRasterizerTileSourceDriver::readObject ( const std::string &  file_name,
const Options *  options 
) const [inline, virtual]

Definition at line 360 of file AGGLiteRasterizerTileSource.cpp.

        {
            std::string ext = osgDB::getFileExtension( file_name );
            if ( !acceptsExtension( ext ) )
            {
                return ReadResult::FILE_NOT_HANDLED;
            }

            return new AGGLiteRasterizerTileSource( getTileSourceOptions(options) );
        }

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