te::mnt::Profile Class Reference

#include <Profile.h>

Public Member Functions

std::auto_ptr< te::rst::RastergetPrepareRaster ()
 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::LineStringcalculateProfile (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::DataSetTypem_inDsType
 Input datasettype. More...
 
std::string m_inName
 Input data name. More...
 
int m_srid
 Attribute with spatial reference information. More...
 

Detailed Description

Definition at line 60 of file Profile.h.

Constructor & Destructor Documentation

te::mnt::Profile::Profile ( )

Default constructor.

te::mnt::Profile::~Profile ( )

Virtual destructor.

Member Function Documentation

te::gm::LineString* te::mnt::Profile::calculateProfile ( std::vector< te::gm::Geometry * > &  isolines,
te::gm::LineString trajectory 
)
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.

void te::mnt::Profile::setSRID ( int  srid)
inline

Sets SRID.

Definition at line 93 of file Profile.h.

Member Data Documentation

std::string te::mnt::Profile::m_attrZ
private

Z attribute name.

Definition at line 103 of file Profile.h.

double te::mnt::Profile::m_dummy
private

Nodata value.

Definition at line 99 of file Profile.h.

te::da::DataSourcePtr te::mnt::Profile::m_inDsrc
private

Input Datasource.

Definition at line 100 of file Profile.h.

std::auto_ptr<te::da::DataSetType> te::mnt::Profile::m_inDsType
private

Input datasettype.

Definition at line 102 of file Profile.h.

std::string te::mnt::Profile::m_inName
private

Input data name.

Definition at line 101 of file Profile.h.

int te::mnt::Profile::m_srid
private

Attribute with spatial reference information.

Definition at line 98 of file Profile.h.


The documentation for this class was generated from the following file: