Loading...
Searching...
No Matches
TINCreateIsolines.h
Go to the documentation of this file.
1/*!
2\file terralib/mnt/core/TINCreateIsolines.h
3
4\brief This file contains a class to generate isolines from a TIN.
5Adapted from SPRING
6
7*/
8
9#ifndef __TERRALIB_MNT_INTERNAL_TINCREATEISOLINES_H
10#define __TERRALIB_MNT_INTERNAL_TINCREATEISOLINES_H
11
12// Terralib Includes
13#include "Config.h"
14#include "Tin.h"
15
16#include "../../dataaccess/dataset/DataSet.h"
17#include "../../dataaccess/dataset/DataSetType.h"
18#include "../../dataaccess/datasource/DataSource.h"
19
20namespace te
21{
22 namespace mnt
23 {
24
25 /*!
26 \class TINCreateIsolines
27
28 \brief Class to generate isolines from TIN.
29
30 \ingroup mnt
31
32 */
34 {
35 public:
37
38 bool run();
39
41 std::string inDsetName,
42 std::unique_ptr<te::da::DataSetType> inDsetType);
43
44 void setOutput(te::da::DataSourcePtr outDsrc, std::string dsname);
45
46 void setParams(std::vector<double> &val, std::vector<double> &gval, double tol);
47
48 protected:
49
51 std::string m_inDsetName;
52 std::unique_ptr<te::da::DataSetType> m_inDsetType;
53
55 std::string m_outDsetName;
56
57 std::vector<double> m_values;
58 std::vector<double> m_guidevalues;
59
60 std::vector<std::unique_ptr< te::gm::LineString > > m_isolist;
61
62 double m_tol;
63
64 };
65 }
66}
67
68#endif
This file contains a class to define a TIN. Adapted from SPRING.
Class to generate isolines from TIN.
std::vector< std::unique_ptr< te::gm::LineString > > m_isolist
te::da::DataSourcePtr m_inDsrc
std::unique_ptr< te::da::DataSetType > m_inDsetType
void setInput(te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetType > inDsetType)
std::vector< double > m_values
void setOutput(te::da::DataSourcePtr outDsrc, std::string dsname)
void setParams(std::vector< double > &val, std::vector< double > &gval, double tol)
std::vector< double > m_guidevalues
te::da::DataSourcePtr m_outDsrc
Class to define TIN strutures.
Definition Tin.h:277
boost::shared_ptr< DataSource > DataSourcePtr
TerraLib.
#define TEMNTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition Config.h:41
Proxy configuration file for TerraView (see terraview_config.h).