8#ifndef __TERRALIB_MNT_INTERNAL_SLOPE_H
9#define __TERRALIB_MNT_INTERNAL_SLOPE_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);
A class that models the description of a dataset.
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
A dataset is the unit of information manipulated by the data access module of TerraLib.
An abstract class for data providers like a DBMS, Web Services or a regular file.
boost::shared_ptr< DataSource > DataSourcePtr
Namespace for DTM Processing module of TerraLib.
#define TEMNTEXPORT
You can use this macro in order to export/import classes and functions from this module.