te::mnt::Smooth Class Reference

#include <Smooth.h>

Public Member Functions

bool run ()
 
void setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::auto_ptr< te::da::DataSetType > inDsetType)
 
void setOutput (te::da::DataSourcePtr outDsrc, std::string dsname)
 
void setParams (double factor, double max_dist, bool simpl, std::string &attr)
 
void setSRID (int srid)
 
 Smooth ()
 
 ~Smooth ()
 

Protected Attributes

double m_factor
 
std::string m_inDsetName
 
std::auto_ptr< te::da::DataSetTypem_inDsetType
 
te::da::DataSourcePtr m_inDsrc
 
double m_maxdist
 
std::string m_outDsetName
 
te::da::DataSourcePtr m_outDsrc
 
bool m_simpl_out
 
int m_srid
 Attribute with spatial reference information. More...
 
std::string m_Zattr
 

Private Member Functions

bool AdjustCatmullRom (te::gm::LineString &iso)
 
bool middlePointWithSnap (te::gm::Coord2D &pfr, te::gm::Coord2D &pto, te::gm::Coord2D &pt0, te::gm::Coord2D &pt1, double d)
 

Detailed Description

Definition at line 23 of file Smooth.h.

Constructor & Destructor Documentation

te::mnt::Smooth::Smooth ( )
te::mnt::Smooth::~Smooth ( )

Member Function Documentation

bool te::mnt::Smooth::AdjustCatmullRom ( te::gm::LineString iso)
private
bool te::mnt::Smooth::middlePointWithSnap ( te::gm::Coord2D pfr,
te::gm::Coord2D pto,
te::gm::Coord2D pt0,
te::gm::Coord2D pt1,
double  d 
)
private
bool te::mnt::Smooth::run ( )
void te::mnt::Smooth::setInput ( te::da::DataSourcePtr  inDsrc,
std::string  inDsetName,
std::auto_ptr< te::da::DataSetType inDsetType 
)
void te::mnt::Smooth::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  dsname 
)
void te::mnt::Smooth::setParams ( double  factor,
double  max_dist,
bool  simpl,
std::string &  attr 
)
void te::mnt::Smooth::setSRID ( int  srid)
inline

Function used to set the Spatial Reference System ID

Definition at line 38 of file Smooth.h.

Member Data Documentation

double te::mnt::Smooth::m_factor
protected

Definition at line 57 of file Smooth.h.

std::string te::mnt::Smooth::m_inDsetName
protected

Definition at line 50 of file Smooth.h.

std::auto_ptr<te::da::DataSetType> te::mnt::Smooth::m_inDsetType
protected

Definition at line 51 of file Smooth.h.

te::da::DataSourcePtr te::mnt::Smooth::m_inDsrc
protected

Definition at line 49 of file Smooth.h.

double te::mnt::Smooth::m_maxdist
protected

Definition at line 58 of file Smooth.h.

std::string te::mnt::Smooth::m_outDsetName
protected

Definition at line 54 of file Smooth.h.

te::da::DataSourcePtr te::mnt::Smooth::m_outDsrc
protected

Definition at line 53 of file Smooth.h.

bool te::mnt::Smooth::m_simpl_out
protected

Definition at line 59 of file Smooth.h.

int te::mnt::Smooth::m_srid
protected

Attribute with spatial reference information.

Definition at line 56 of file Smooth.h.

std::string te::mnt::Smooth::m_Zattr
protected

Definition at line 60 of file Smooth.h.


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