osgEarth 2.1.1

/home/cube/sources/osgearth/src/osgEarth/Mercator

Go to the documentation of this file.
00001 
00002 
00003 // * Copyright 2008-2009 Pelican Ventures, Inc.
00004 // * http://osgearth.org
00005 // *
00006 // * osgEarth is free software; you can redistribute it and/or modify
00007 // * it under the terms of the GNU Lesser General Public License as published by
00008 // * the Free Software Foundation; either version 2 of the License, or
00009 // * (at your option) any later version.
00010 // *
00011 // * This program is distributed in the hope that it will be useful,
00012 // * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // * GNU Lesser General Public License for more details.
00015 // *
00016 // * You should have received a copy of the GNU Lesser General Public License
00017 // * along with this program.  If not, see <http://www.gnu.org/licenses/>
00018 // */
00019 //
00020 //#ifndef OSGEARTH_MERCATOR_H
00021 //#define OSGEARTH_MERCATOR_H 1
00022 //
00023 //#include <osgEarth/Common>
00024 //#include <osgEarth/TileKey>
00025 //#include <osgEarth/TileSource>
00026 //#include <osgTerrain/Locator>
00027 //#include <osgTerrain/TerrainTechnique>
00028 //#include <osgDB/ReaderWriter>
00029 //#include <string>
00030 //
00031 //namespace osgEarth
00032 //{
00033 //    class MercatorLocator : public osgTerrain::Locator
00034 //    {
00035 //    public:
00036 //        MercatorLocator( const osgTerrain::Locator& prototype, const GeoExtent& image_extent );
00037 //
00038 //        bool convertLocalToModel(const osg::Vec3d& local, osg::Vec3d& model) const;
00039 //        bool convertModelToLocal(const osg::Vec3d& world, osg::Vec3d& local) const;
00040 //
00041 //    private:
00042 //        GeoExtent _image_ext;
00043 //    };
00044 //}
00045 //
00046 //#endif // OSGEARTH_MERCATOR_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines