26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_AFFINEGT_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_AFFINEGT_H 
   34 #include <boost/concept_check.hpp> 
   35 #include <boost/numeric/ublas/matrix.hpp> 
  111         static bool decompose(
const std::vector< double >& transfParams,
 
  112                               double& translationX, 
double& translationY,
 
  113                               double& scalingFactorX, 
double& scalingFactorY, 
double& skew,
 
  114                               double& squeeze, 
double& scaling, 
double& rotation);
 
2D Affine Geometric transformation.
 
boost::numeric::ublas::matrix< double > m_computeParameters_XExpandedInv
 
boost::numeric::ublas::matrix< double > m_computeParameters_A
 
boost::numeric::ublas::matrix< double > m_computeParameters_N
 
unsigned int m_computeParameters_tiepointsSize
 
AffineGT()
Default constructor.
 
bool computeParameters(GTParameters ¶ms) const
Calculate the transformation parameters following the new supplied tie-points.
 
boost::numeric::ublas::matrix< double > m_computeParameters_XExpanded
 
boost::numeric::ublas::matrix< double > m_computeParameters_X
 
unsigned int m_computeParameters_index2
 
boost::numeric::ublas::matrix< double > m_computeParameters_N_inv
 
static bool decompose(const std::vector< double > &transfParams, double &translationX, double &translationY, double &scalingFactorX, double &scalingFactorY, double &skew, double &squeeze, double &scaling, double &rotation)
Returns the basic set of transform parameters given by the decomposition of a given affine transforma...
 
unsigned int m_computeParameters_index1
 
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current transformation.
 
boost::numeric::ublas::matrix< double > m_computeParameters_L
 
boost::numeric::ublas::matrix< double > m_computeParameters_U
 
void directMap(const GTParameters ¶ms, const double &pt1X, const double &pt1Y, double &pt2X, double &pt2Y) const
Direct mapping (from pt1 space into pt2 space).
 
GeometricTransformation * clone() const
Creat a clone copy of this instance.
 
void inverseMap(const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const
Inverse mapping (from pt2 space into pt1 space).
 
boost::numeric::ublas::matrix< double > m_computeParameters_At
 
bool isValid(const GTParameters ¶ms) const
Verifies if the supplied parameters already has a valid transformation.
 
unsigned int m_computeParameters_tpIdx
 
const std::string & getName() const
Returns the current transformation name.
 
2D Geometric transformation parameters.
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Proxy configuration file for TerraView (see terraview_config.h).