8 #ifndef __TERRALIB_MNT_INTERNAL_SLOPE_H
9 #define __TERRALIB_MNT_INTERNAL_SLOPE_H
17 #include "../../dataaccess/dataset/DataSet.h"
18 #include "../../dataaccess/dataset/DataSetType.h"
19 #include "../../dataaccess/datasource/DataSource.h"
32 std::string inDsetName,
33 std::unique_ptr<te::da::DataSetType> inDsetType);
35 void setOutput(std::map<std::string, std::string> &dsinfo);
37 void setParams(
double resx,
double resy,
char gradtype,
char slopetype,
int srid,
double dummy);
60 bool CalcGradientRst(std::unique_ptr<te::rst::Raster> &raster,
unsigned l,
unsigned c,
double& dzdx,
double& dzdy);
This file contains a class to define a TIN. Adapted from SPRING.
bool CalcGradientRst(std::unique_ptr< te::rst::Raster > &raster, unsigned l, unsigned c, double &dzdx, double &dzdy)
METHOD TO CALCULATE GRADIENT VECTOR COMPONENTS IN THE POINT L,C OF THE GRID.
double TriangleGradient(int32_t *nodesid, char gradtype, char slopetype)
Method that calculates a gradient value (slope or aspect) in a given triangle.
mntType m_inputType
Input type (TIN, GRID)
void setInput(te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetType > inDsetType)
std::unique_ptr< te::da::DataSetType > m_inDsetType
void setParams(double resx, double resy, char gradtype, char slopetype, int srid, double dummy)
void setOutput(std::map< std::string, std::string > &dsinfo)
te::da::DataSourcePtr m_inDsrc
std::map< std::string, std::string > m_dsinfo
Class to define TIN strutures.
boost::shared_ptr< DataSource > DataSourcePtr
#define TEMNTEXPORT
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).
Enumerations of XML module.