#include <CalculateGrid.h>
 
  
 | Public Member Functions | |
| CalculateGrid () | |
| Default constructor.  More... | |
| bool | GenerateGridSplineGrass () | 
| Method to calculate a grid from a vector of samples using a Spline (GRASS) fitting algorithm.  More... | |
| bool | GenerateGridSplineMitasova () | 
| Method to calculate a grid from a vector of samples using a Spline (Mitasova) fitting algorithm.  More... | |
| std::auto_ptr< te::rst::Raster > | Initialize (bool spline, unsigned int &nro_neighb, double &rx1, double &ry2, unsigned int &outputWidth, unsigned int &outputHeight) | 
| void | Interpolation (te::gm::Point &pg, std::vector< te::gm::Point > &points, std::vector< double > &distq) | 
| Interpolates the z value of the pg point3d. \ This method interpolates the z value of the pg point3d using the \ information on the current partition, the dist double vector and.  More... | |
| double | Interpwq (te::gm::Point &pg, std::vector< te::gm::Point > &points, std::vector< double > &distq) | 
| Interpolates the z value of the pg point3d using an weighted average by quadrant. \ Implements the interpolator that uses the average, weighted by the inverse \ square distance, of the nearest neighbours by quadrant.  More... | |
| double | Interpwqz (te::gm::Point &pg, std::vector< te::gm::Point > &points, std::vector< double > &distq) | 
| Interpolates the z value of the pg point3d using an weighted average by quadrant and by z values. \ Implements the interpolator tha uses the average, weighted by the inverse \ square distance, of the nearest neighbours by z values and by quadrant. \ This method accepts no repeated z values in the interpolation.  More... | |
| bool | run () | 
| Calculate GRID \ return true or false.  More... | |
| void | setEnvelope (te::gm::Envelope &env) | 
| void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::auto_ptr< te::da::DataSetType > inDsetType, InputType type) | 
| It sets the Datasource that is being used to generate TIN.  More... | |
| void | setOutput (std::map< std::string, std::string > &dsinfo) | 
| It sets the Datasource that is being used to save TIN.  More... | |
| void | setParams (const std::string &attriso, const std::string &attrpt, double resx, double resy, Interpolator gt, double rad, int pow) | 
| It sets the parameters that is being used to save TIN.  More... | |
| void | setSRID (int srid) | 
| ~CalculateGrid () | |
| Protected Attributes | |
| KD_ADAPTATIVE_TREE * | m_adaptativeTree | 
| std::string | m_atrZ_point | 
| Attribute used to calculate grid.  More... | |
| std::string | m_atrZ_sample | 
| Attribute used to calculate grid.  More... | |
| std::vector< std::pair< te::gm::Coord2D, te::gm::Point > > | m_dataset | 
| std::map< std::string, std::string > | m_dsinfo | 
| te::gm::Envelope | m_env | 
| Attribute used to restrict the area to generate the raster.  More... | |
| std::string | m_inDsetName_point | 
| std::string | m_inDsetName_sample | 
| std::auto_ptr< te::da::DataSetType > | m_inDsetType_point | 
| std::auto_ptr< te::da::DataSetType > | m_inDsetType_sample | 
| te::da::DataSourcePtr | m_inDsrc_point | 
| te::da::DataSourcePtr | m_inDsrc_sample | 
| Interpolator | m_inter | 
| selected interpolation method  More... | |
| double | m_nodatavalue | 
| no data value  More... | |
| int | m_power | 
| power  More... | |
| double | m_radius | 
| radius  More... | |
| double | m_resx | 
| double | m_resy | 
| grid resolution in X and Y  More... | |
| te::rst::Raster * | m_rst | 
| int | m_smoothM | 
| smooth factor used  More... | |
| int | m_srid | 
| Attribute with spatial reference information.  More... | |
| int | m_tension | 
| the tension spline factor considered in the spline fitting process  More... | |
| double | m_tolerance | 
| tolerance used to simplify lines  More... | |
Definition at line 38 of file CalculateGrid.h.
| te::mnt::CalculateGrid::CalculateGrid | ( | ) | 
Default constructor.
| te::mnt::CalculateGrid::~CalculateGrid | ( | ) | 
| bool te::mnt::CalculateGrid::GenerateGridSplineGrass | ( | ) | 
Method to calculate a grid from a vector of samples using a Spline (GRASS) fitting algorithm.
| bool te::mnt::CalculateGrid::GenerateGridSplineMitasova | ( | ) | 
Method to calculate a grid from a vector of samples using a Spline (Mitasova) fitting algorithm.
| std::auto_ptr<te::rst::Raster> te::mnt::CalculateGrid::Initialize | ( | bool | spline, | 
| unsigned int & | nro_neighb, | ||
| double & | rx1, | ||
| double & | ry2, | ||
| unsigned int & | outputWidth, | ||
| unsigned int & | outputHeight | ||
| ) | 
| void te::mnt::CalculateGrid::Interpolation | ( | te::gm::Point & | pg, | 
| std::vector< te::gm::Point > & | points, | ||
| std::vector< double > & | distq | ||
| ) | 
Interpolates the z value of the pg point3d. \ This method interpolates the z value of the pg point3d using the \ information on the current partition, the dist double vector and.
| pg | points to an point3d whose z value must be calculated | 
| points | vector that contains points from point pg to the partition points | 
| distq | points to a double vector that contains distance values from point pg to the partition points. | 
| double te::mnt::CalculateGrid::Interpwq | ( | te::gm::Point & | pg, | 
| std::vector< te::gm::Point > & | points, | ||
| std::vector< double > & | distq | ||
| ) | 
Interpolates the z value of the pg point3d using an weighted average by quadrant. \ Implements the interpolator that uses the average, weighted by the inverse \ square distance, of the nearest neighbours by quadrant.
| double te::mnt::CalculateGrid::Interpwqz | ( | te::gm::Point & | pg, | 
| std::vector< te::gm::Point > & | points, | ||
| std::vector< double > & | distq | ||
| ) | 
Interpolates the z value of the pg point3d using an weighted average by quadrant and by z values. \ Implements the interpolator tha uses the average, weighted by the inverse \ square distance, of the nearest neighbours by z values and by quadrant. \ This method accepts no repeated z values in the interpolation.
| bool te::mnt::CalculateGrid::run | ( | ) | 
Calculate GRID \ return true or false.
| void te::mnt::CalculateGrid::setEnvelope | ( | te::gm::Envelope & | env | ) | 
Function used to set the envelope parameter
| void te::mnt::CalculateGrid::setInput | ( | te::da::DataSourcePtr | inDsrc, | 
| std::string | inDsetName, | ||
| std::auto_ptr< te::da::DataSetType > | inDsetType, | ||
| InputType | type | ||
| ) | 
It sets the Datasource that is being used to generate TIN.
| inDsrc | The datasource being used. | 
| inDsetName | datasource name | 
| inDsetType | input DataSetType | 
| type | Input type: Sample or Isoline | 
| void te::mnt::CalculateGrid::setOutput | ( | std::map< std::string, std::string > & | dsinfo | ) | 
It sets the Datasource that is being used to save TIN.
| void te::mnt::CalculateGrid::setParams | ( | const std::string & | attriso, | 
| const std::string & | attrpt, | ||
| double | resx, | ||
| double | resy, | ||
| Interpolator | gt, | ||
| double | rad, | ||
| int | pow | ||
| ) | 
It sets the parameters that is being used to save TIN.
| resx,resy | resolution X and Y. | 
| gt | interpolator | 
| void te::mnt::CalculateGrid::setSRID | ( | int | srid | ) | 
Function used to set the Spatial Reference System ID
| 
 | protected | 
Definition at line 152 of file CalculateGrid.h.
| 
 | protected | 
Attribute used to calculate grid.
Definition at line 136 of file CalculateGrid.h.
| 
 | protected | 
Attribute used to calculate grid.
Definition at line 135 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 153 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 138 of file CalculateGrid.h.
| 
 | protected | 
Attribute used to restrict the area to generate the raster.
Definition at line 125 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 132 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 128 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 133 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 129 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 131 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 127 of file CalculateGrid.h.
| 
 | protected | 
selected interpolation method
Definition at line 141 of file CalculateGrid.h.
| 
 | protected | 
no data value
Definition at line 150 of file CalculateGrid.h.
| 
 | protected | 
power
Definition at line 143 of file CalculateGrid.h.
| 
 | protected | 
radius
Definition at line 142 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 140 of file CalculateGrid.h.
| 
 | protected | 
grid resolution in X and Y
Definition at line 140 of file CalculateGrid.h.
| 
 | protected | 
Definition at line 147 of file CalculateGrid.h.
| 
 | protected | 
smooth factor used
Definition at line 145 of file CalculateGrid.h.
| 
 | protected | 
Attribute with spatial reference information.
Definition at line 124 of file CalculateGrid.h.
| 
 | protected | 
the tension spline factor considered in the spline fitting process
Definition at line 144 of file CalculateGrid.h.
| 
 | protected | 
tolerance used to simplify lines
Definition at line 149 of file CalculateGrid.h.