| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeAffineGT.h
Go to the documentation of this file.

    00001 /************************************************************************************
    00002 TerraLib - a library for developing GIS applications.
    00003 Copyright � 2001-2007 INPE and Tecgraf/PUC-Rio.
    00004
    00005 This code is part of the TerraLib library.
    00006 This library is free software; you can redistribute it and/or
    00007 modify it under the terms of the GNU Lesser General Public
    00008 License as published by the Free Software Foundation; either
    00009 version 2.1 of the License, or (at your option) any later version.
    00010
    00011 You should have received a copy of the GNU Lesser General Public
    00012 License along with this library.
    00013
    00014 The authors reassure the license terms regarding the warranties.
    00015 They specifically disclaim any warranties, including, but not limited to,
    00016 the implied warranties of merchantability and fitness for a particular purpose.
    00017 The library provided hereunder is on an "as is" basis, and the authors have no
    00018 obligation to provide maintenance, support, updates, enhancements, or modifications.
    00019 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
    00020 indirect, special, incidental, or consequential damages arising out of the use
    00021 of this library and its documentation.
    00022 *************************************************************************************/
    00028 #ifndef TEAFFINEGT_H
    00029   #define TEAFFINEGT_H
    00030
    00031   #include "TeDefines.h"
    00032   #include "TeGeometricTransformation.h"
    00033
    00039   class TL_DLL TeAffineGT : public TeGeometricTransformation {
    00040     public :
    00041
    00045       TeAffineGT();
    00046
    00050       ~TeAffineGT();
    00051
    00059       unsigned int getMinRequiredTiePoints() const;
    00060
    00075       static bool decompose( const TeMatrix& inputMtx,
    00076         double& translationX, double& translationY,
    00077         double& scalingFactorX, double& scalingFactorY, double& skew,
    00078         double& squeeze, double& scaling, double& rotation );
    00079
    00080     protected :
    00081
    00089       void directMap( const TeGTParams& params, const TeCoord2D& pt1,
    00090         TeCoord2D& pt2 ) const;
    00091
    00099       void inverseMap( const TeGTParams& params, const TeCoord2D& pt2,
    00100         TeCoord2D& pt1 ) const;
    00101
    00109       bool computeParameters( TeGTParams& params ) const;
    00110
    00118       bool isTransDefined( const TeGTParams& params ) const;
    00119   };
    00120
    00121 #endif
    00122

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines