#include <Profile.h>
Public Member Functions | |
std::auto_ptr< te::rst::Raster > | getPrepareRaster () |
Reads raster. More... | |
Profile () | |
Default constructor. More... | |
bool | runIsolinesProfile (std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet) |
Calculate Profile from isolines. More... | |
bool | runRasterProfile (std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet) |
Calculate Profile from raster. More... | |
bool | runTINProfile (std::vector< te::gm::LineString * > visadas, std::vector< te::gm::LineString * > &profileSet) |
Calculate Profile from TIN. More... | |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inName, std::auto_ptr< te::da::DataSetType > inDsetType, double dummy, std::string zattr) |
Sets input parameters to calculate profile. More... | |
void | setSRID (int srid) |
Sets SRID. More... | |
~Profile () | |
Virtual destructor. More... | |
Private Member Functions | |
te::gm::LineString * | calculateProfile (std::vector< te::gm::Geometry * > &isolines, te::gm::LineString &trajectory) |
Private Attributes | |
std::string | m_attrZ |
Z attribute name. More... | |
double | m_dummy |
Nodata value. More... | |
te::da::DataSourcePtr | m_inDsrc |
Input Datasource. More... | |
std::auto_ptr< te::da::DataSetType > | m_inDsType |
Input datasettype. More... | |
std::string | m_inName |
Input data name. More... | |
int | m_srid |
Attribute with spatial reference information. More... | |
te::mnt::Profile::Profile | ( | ) |
Default constructor.
te::mnt::Profile::~Profile | ( | ) |
Virtual destructor.
|
private |
std::auto_ptr<te::rst::Raster> te::mnt::Profile::getPrepareRaster | ( | ) |
Reads raster.
bool te::mnt::Profile::runIsolinesProfile | ( | std::vector< te::gm::LineString * > | visadas, |
std::vector< te::gm::LineString * > & | profileSet | ||
) |
Calculate Profile from isolines.
bool te::mnt::Profile::runRasterProfile | ( | std::vector< te::gm::LineString * > | visadas, |
std::vector< te::gm::LineString * > & | profileSet | ||
) |
Calculate Profile from raster.
bool te::mnt::Profile::runTINProfile | ( | std::vector< te::gm::LineString * > | visadas, |
std::vector< te::gm::LineString * > & | profileSet | ||
) |
Calculate Profile from TIN.
void te::mnt::Profile::setInput | ( | te::da::DataSourcePtr | inDsrc, |
std::string | inName, | ||
std::auto_ptr< te::da::DataSetType > | inDsetType, | ||
double | dummy, | ||
std::string | zattr | ||
) |
Sets input parameters to calculate profile.
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |