| 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/TeProjectiveGT.h
Go to the documentation of this file.

    00001 /*
    00002 TerraLib - a library for developing GIS applications.
    00003 Copyright  2001, 2002, 2003 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
    00017 purpose. The library provided hereunder is on an "as is" basis, and the
    00018 authors have no obligation to provide maintenance, support, updates,
    00019 enhancements, or modifications.
    00020 In no event shall INPE be held liable to any party
    00021 for direct, indirect, special, incidental, or consequential damages arising
    00022 out of the use of this library and its documentation.
    00023 */
    00024
    00025 #ifndef TEPROJECTIVEGT_H
    00026 #define TEPROJECTIVEGT_H
    00027
    00028 #include "TeGeometricTransformation.h"
    00029
    00036 class TL_DLL TeProjectiveGT : public TeGeometricTransformation {
    00037 public :
    00038
    00042   TeProjectiveGT();
    00043
    00047   ~TeProjectiveGT();
    00048
    00056   unsigned int getMinRequiredTiePoints() const;
    00057
    00058 protected :
    00059
    00067     void directMap( const TeGTParams& params, const TeCoord2D& pt1,
    00068       TeCoord2D& pt2 ) const;
    00069
    00077     void inverseMap( const TeGTParams& params, const TeCoord2D& pt2,
    00078       TeCoord2D& pt1 ) const;
    00079
    00087     bool computeParameters( TeGTParams& params ) const;
    00088
    00096     bool isTransDefined( const TeGTParams& params ) const;
    00097
    00098 private:
    00099
    00103   bool useAdjustment( TeGTParams& params,
    00104     bool isDirectMapping ) const;
    00105
    00109   bool useDeterministic( TeGTParams& params,
    00110     bool isDirectMapping ) const;
    00111
    00117   void setAdaptativeParameters(
    00118     const std::vector< TeCoordPair >& tiepoints,
    00119     TeGTParams& params ) const;
    00120 };
    00121
    00122 #endif // TEPROJECTIVEGT_H
    00123

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines