Go to the documentation of this file.
9 #ifndef __TERRALIB_MNT_INTERNAL_TINCALCULATEGRID_H
10 #define __TERRALIB_MNT_INTERNAL_TINCALCULATEGRID_H
16 #include "../../dataaccess/dataset/DataSet.h"
17 #include "../../dataaccess/dataset/DataSetType.h"
18 #include "../../dataaccess/datasource/DataSource.h"
20 #include "../../raster/Raster.h"
50 std::string inDsetName,
51 std::unique_ptr<te::da::DataSetType> inDsetType);
56 void setOutput(std::map<std::string, std::string> &dsinfo);
79 bool FillGridQuintic(int32_t triid, int32_t flin, int32_t llin, int32_t fcol, int32_t lcol,
double *coef);
This file contains a class to define a TIN. Adapted from SPRING.
bool FillGridLinear(int32_t triid, te::gm::Point *p3da, int32_t flin, int32_t llin, int32_t fcol, int32_t lcol)
Class to define TIN strutures.
bool FillGridQuintic(int32_t triid, int32_t flin, int32_t llin, int32_t fcol, int32_t lcol, double *coef)
Method that fills the grid locations, inside a triangle, with a zvalue evaluated by a quintic polynom...
std::unique_ptr< te::da::DataSetType > m_inDsetType
Class to calculate grid from TIN.
std::map< std::string, std::string > m_dsinfo
te::da::DataSourcePtr m_inDsrc
void setInput(te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetType > inDsetType)
It sets the Datasource that is being used to generate TIN.
boost::shared_ptr< DataSource > DataSourcePtr
Proxy configuration file for TerraView (see terraview_config.h).
void setOutput(std::map< std::string, std::string > &dsinfo)
It sets the Datasource that is being used to save TIN.
void setParams(double resx, double resy, Interpolator gt)
It sets the parameters that is being used to save TIN.
#define TEMNTEXPORT
You can use this macro in order to export/import classes and functions from this module.
A point with x and y coordinate values.