28 #ifndef __TERRALIB_MNT_INTERNAL_PROFILE_H
29 #define __TERRALIB_MNT_INTERNAL_PROFILE_H
35 #include "../../../../src/terralib/dataaccess.h"
36 #include "../../../../src/terralib/dataaccess/datasource/DataSourceFactory.h"
37 #include "../../../../src/terralib/memory/DataSet.h"
38 #include "../../../../src/terralib/common/Holder.h"
39 #include "../../../../src/terralib/statistics/core/Enums.h"
49 namespace da {
class DataSetType; }
50 namespace gm {
class Geometry; }
51 namespace map {
class AbstractLayer; }
52 namespace mem {
class DataSet; }
78 bool runRasterProfile(std::vector<te::gm::LineString*> visadas, std::vector<te::gm::LineString*>& profileSet);
81 bool runIsolinesProfile(std::vector<te::gm::LineString*> visadas, std::vector<te::gm::LineString*>& profileSet);
84 bool runTINProfile(std::vector<te::gm::LineString*> visadas, std::vector<te::gm::LineString*>& profileSet);
LineString is a curve with linear interpolation between points.
double m_dummy
Nodata value.
Profile()
Default constructor.
te::da::DataSourcePtr m_inDsrc
Input Datasource.
void setInput(te::da::DataSourcePtr inDsrc, std::string inName, std::unique_ptr< te::da::DataSetType > inDsetType, double dummy, std::string zattr)
Sets input parameters to calculate profile.
std::unique_ptr< te::rst::Raster > getPrepareRaster()
Reads raster.
std::string m_attrZ
Z attribute name.
std::string m_inName
Input data name.
void setSRID(int srid)
Sets SRID.
bool runTINProfile(std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet)
Calculate Profile from TIN.
~Profile()
Virtual destructor.
bool runRasterProfile(std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet)
Calculate Profile from raster.
std::unique_ptr< te::da::DataSetType > m_inDsType
Input datasettype.
int m_srid
Attribute with spatial reference information.
bool runIsolinesProfile(std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet)
Calculate Profile from isolines.
te::gm::LineString * calculateProfile(std::vector< te::gm::Geometry * > &isolines, te::gm::LineString &trajectory)
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).