libpcidsk
pcidsk_georef.h
00001 /******************************************************************************
00002  *
00003  * Purpose:  PCIDSK Georeferencing information storage class. Declaration.
00004  * 
00005  ******************************************************************************
00006  * Copyright (c) 2009
00007  * PCI Geomatics, 50 West Wilmot Street, Richmond Hill, Ont, Canada
00008  *
00009  * Permission is hereby granted, free of charge, to any person obtaining a
00010  * copy of this software and associated documentation files (the "Software"),
00011  * to deal in the Software without restriction, including without limitation
00012  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00013  * and/or sell copies of the Software, and to permit persons to whom the
00014  * Software is furnished to do so, subject to the following conditions:
00015  *
00016  * The above copyright notice and this permission notice shall be included
00017  * in all copies or substantial portions of the Software.
00018  *
00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00020  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00021  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
00022  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00023  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00024  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00025  * DEALINGS IN THE SOFTWARE.
00026  ****************************************************************************/
00027 #ifndef __INCLUDE_PCIDSK_GEOREF_H
00028 #define __INCLUDE_PCIDSK_GEOREF_H
00029 
00030 #include <string>
00031 #include <vector>
00032 
00033 namespace PCIDSK
00034 {
00035     typedef enum {
00036         UNIT_US_FOOT = 1,
00037         UNIT_METER = 2,
00038         UNIT_DEGREE = 4,
00039         UNIT_INTL_FOOT = 5
00040     } UnitCode;
00041 
00042 /************************************************************************/
00043 /*                             PCIDSKGeoref                             */
00044 /************************************************************************/
00045 
00047 
00048     class PCIDSK_DLL PCIDSKGeoref
00049     {
00050     public:
00051         virtual ~PCIDSKGeoref() {}
00052 
00077         virtual void GetTransform( double &a1, double &a2, double &xrot, 
00078             double &b1, double &yrot, double &b3 ) = 0;
00079 
00091         virtual std::string GetGeosys() = 0;
00092 
00128         virtual std::vector<double> GetParameters() = 0;
00129 
00144         virtual void WriteSimple( std::string geosys, 
00145             double a1, double a2, double xrot, 
00146             double b1, double yrot, double b3 ) = 0;
00147 
00157         virtual void WriteParameters( std::vector<double> &parameters ) = 0;
00158     };
00159 } // end namespace PCIDSK
00160 
00161 #endif // __INCLUDE_PCIDSK_GEOREF_H

Generated for GDAL by doxygen 1.7.4.