te::mnt Namespace Reference

Namespace for DTM Processing module of TerraLib. More...

Classes

class  CalculateGrid
 
class  CreateIsolines
 
class  CreateIsolinesDialog
 
class  ImageGenerationDialog
 
class  LayerSearchDialog
 
class  MNTGenerationDialog
 
class  Profile
 
class  ProfileDialog
 
class  ProfileResultDialog
 
class  ProfileTools
 
class  Shadow
 
class  Slope
 
class  SlopeDialog
 
class  Smooth
 
class  SmoothIsolinesDialog
 
class  SplineInterpolationGrass
 
class  SplineInterpolationGrassMitasova
 
class  Tin
 Class to define TIN strutures. More...
 
class  TINCalculateGrid
 Class to calculate grid from TIN. More...
 
class  TINCreateIsolines
 Class to generate isolines from TIN. More...
 
class  TINGeneration
 Class to generate TIN. More...
 
class  TINGenerationDialog
 
class  TinLine
 
class  TinNode
 
class  TinTriang
 
class  Volume
 
class  VolumeDialog
 
class  VolumeResultDialog
 

Enumerations

enum  Curve { LINEARCURVE, BSPLINECURVE, CATMULLROMCURVE }
 
enum  InputType { Isolines, Samples }
 Input types. More...
 
enum  Interpolator {
  MediaCotaQuad, MediaQuad, MediaPonderada, Media,
  Vizinho, SplineBilinear, SplineBicubico, Mitasova,
  Bilinear, Bicubico, Linear, QuinticoBrkLine,
  Quintico
}
 
enum  Ltype { Deletedline, Normalline, Isoline, Breakline }
 
enum  mntType {
  SAMPLE, TIN, GRID, ISOLINE,
  OTHER
}
 
enum  Ntype {
  Deletednode, Normalnode, First, Last,
  Breaklinenormal, Breaklinefirst, Breaklinelast, Sample,
  Box
}
 
enum  Simplify { AccumulatedDistance, Spline, DouglasPeucker, None }
 
enum  ToolType {
  CreateLine, EditVertex, DeleteLine, InvertLine,
  ToolNone
}
 

Functions

TEMNTEXPORT bool assembLine (std::vector< te::gm::LineString > &linlout, std::vector< te::gm::Point > &vect)
 
TEMNTEXPORT bool convertAngleToPlanar (double &val, te::common::UnitOfMeasurePtr planar, int type)
 
TEMNTEXPORT bool convertPlanarToAngle (double &val, te::common::UnitOfMeasurePtr unit)
 
TEMNTEXPORT double coordToSegmentDistance (te::gm::Coord2D &fseg, te::gm::Coord2D &lseg, te::gm::Coord2D &pt, te::gm::Coord2D *pti)
 
TEMNTEXPORT bool defineInterEdge (std::vector< te::gm::Point > &, te::gm::Point &, te::gm::Point &, double)
 
TEMNTEXPORT bool defineInterTriangle (std::vector< te::gm::Point > &, te::gm::Point *, double)
 
TEMNTEXPORT double Distance (const te::gm::Coord2D &pt1, const te::gm::Coord2D &pt2)
 
TEMNTEXPORT double Distance (const double pt1x, const double pt1y, const double pt2x, const double pt2y)
 
TEMNTEXPORT te::gm::LineStringDouglasPeuckerTA (te::gm::LineString *lineIn, double simpFactor, double Zvalue)
 
TEMNTEXPORT bool Equal (te::gm::Point &p1, te::gm::Point &p2, double &tol)
 
TEMNTEXPORT bool equalFptSpt (te::gm::Point &fpt, te::gm::Point &spt, double scale)
 
TEMNTEXPORT bool extractLines (std::vector< te::gm::Point > &pline, std::vector< te::gm::LineString > &clinlist, double scale)
 
TEMNTEXPORT short findCenter (te::gm::Point *vert, double *pcx, double *pcy)
 
TEMNTEXPORT bool Gauss_elimination (short m, short n, double mat[6][6])
 
TEMNTEXPORT te::gm::LineStringGEOS_DouglasPeucker (te::gm::LineString *ls, double snap, double Zvalue)
 
TEMNTEXPORT void getMinMax (te::rst::Raster *inputRst, double &vmin, double &vmax)
 
TEMNTEXPORT te::mnt::mntType getMNTType (const te::da::DataSetType *dt)
 
TEMNTEXPORT bool initLineVector (std::vector< te::gm::Point > &pline, std::vector< te::gm::Point > &vect)
 
TEMNTEXPORT bool Least_square_fitting (double *vectx, double *vecty, short np, short deg, double *coef)
 
TEMNTEXPORT te::gm::Point Max (te::gm::Point &p1, te::gm::Point &p2)
 
TEMNTEXPORT te::gm::Point Min (te::gm::Point &p1, te::gm::Point &p2)
 
TEMNTEXPORT bool normalizeVector (double *)
 
TEMNTEXPORT int onSameSide (te::gm::Coord2D pt1, te::gm::Coord2D pt2, te::gm::Coord2D fseg, te::gm::Coord2D lseg)
 
TEMNTEXPORT bool onSegment (te::gm::Point &pt, te::gm::Point &fseg, te::gm::Point &lseg, double tol)
 
TEMNTEXPORT double PerpendicularDistance (te::gm::Coord2D &first, te::gm::Coord2D &last, te::gm::Coord2D &pin, te::gm::Coord2D &pinter)
 
TEMNTEXPORT bool point3dListFilter (std::vector< te::gm::Point > &p3dl, std::vector< bool > &fixed, double tol)
 
TEMNTEXPORT te::gm::LineStringpointListSimplify (te::gm::LineString *ls, double snap, double maxdist, double Zvalue)
 
TEMNTEXPORT double pointToSegmentDistance (te::gm::Point &fseg, te::gm::Point &lseg, te::gm::Point &pt, te::gm::Point *pti)
 
TEMNTEXPORT size_t ReadPoints (std::string &inDsetName, te::da::DataSourcePtr &inDsrc, std::string &atrZ, double tol, te::gm::MultiPoint &mpt, std::string &geostype, te::gm::Envelope &env)
 
TEMNTEXPORT size_t ReadSamples (std::string &inDsetName, te::da::DataSourcePtr &inDsrc, std::string &atrZ, double tol, double max, Simplify alg, te::gm::MultiPoint &mpt, te::gm::MultiLineString &isolines, std::string &geostype, te::gm::Envelope &env, int srid=0)
 
TEMNTEXPORT void Save (te::da::DataSource *source, te::da::DataSet *result, te::da::DataSetType *outDsType)
 
TEMNTEXPORT bool SaveIso (std::string &outDsetName, te::da::DataSourcePtr &outDsrc, std::vector< te::gm::LineString > &isolist, std::vector< double > &guidevalues, int srid)
 
TEMNTEXPORT bool segInterPoint (te::gm::Point &pfr, te::gm::Point &pto, te::gm::Point &lfr, te::gm::Point &lto, te::gm::Point *pt)
 
TEMNTEXPORT short segIntersect (te::gm::Point &pfr, te::gm::Point &pto, te::gm::Point &lfr, te::gm::Point &lto)
 
TEMNTEXPORT double SegmentDistance (double fx, double fy, double lx, double ly, double ptx, double pty, double *pix, double *piy)
 
TEMNTEXPORT bool testVertexValues (double, te::gm::Point *)
 
TEMNTEXPORT bool triangleNormalVector (te::gm::Point *, double *)
 

Detailed Description

Namespace for DTM Processing module of TerraLib.

Enumeration Type Documentation

Enumerator
LINEARCURVE 
BSPLINECURVE 
CATMULLROMCURVE 

Definition at line 71 of file Enums.h.

Input types.

Enumerator
Isolines 
Samples 

Definition at line 48 of file Enums.h.

Enumerator
MediaCotaQuad 

Weighted Average/Z Value/Quadrant

MediaQuad 

Weighted Average/Quadrant

MediaPonderada 

Weighted Average

Media 

Simple Average

Vizinho 

Nearest Neighbor

SplineBilinear 

Bilinear Spline

SplineBicubico 

Bicubic Spline

Mitasova 

Mitasova Spline

Bilinear 

Bilinear

Bicubico 

Bicubic

Linear 

Linear

QuinticoBrkLine 

Quintic with breaklines

Quintico 

Quintic without breaklines

Definition at line 54 of file Enums.h.

Enumerator
Deletedline 
Normalline 
Isoline 
Breakline 

Definition at line 20 of file Enums.h.

Enumerator
SAMPLE 
TIN 
GRID 
ISOLINE 
OTHER 

Definition at line 78 of file Enums.h.

Enumerator
Deletednode 
Normalnode 
First 
Last 
Breaklinenormal 
Breaklinefirst 
Breaklinelast 
Sample 
Box 

Definition at line 31 of file Enums.h.

Enumerator
AccumulatedDistance 
Spline 
DouglasPeucker 
None 

Definition at line 87 of file Enums.h.

Enumerator
CreateLine 
EditVertex 
DeleteLine 
InvertLine 
ToolNone 

Definition at line 53 of file ProfileDialog.h.

Function Documentation

TEMNTEXPORT bool te::mnt::assembLine ( std::vector< te::gm::LineString > &  linlout,
std::vector< te::gm::Point > &  vect 
)
TEMNTEXPORT bool te::mnt::convertAngleToPlanar ( double &  val,
te::common::UnitOfMeasurePtr  planar,
int  type 
)
TEMNTEXPORT bool te::mnt::convertPlanarToAngle ( double &  val,
te::common::UnitOfMeasurePtr  unit 
)
TEMNTEXPORT double te::mnt::coordToSegmentDistance ( te::gm::Coord2D fseg,
te::gm::Coord2D lseg,
te::gm::Coord2D pt,
te::gm::Coord2D pti 
)
TEMNTEXPORT bool te::mnt::defineInterEdge ( std::vector< te::gm::Point > &  ,
te::gm::Point ,
te::gm::Point ,
double   
)
TEMNTEXPORT bool te::mnt::defineInterTriangle ( std::vector< te::gm::Point > &  ,
te::gm::Point ,
double   
)
TEMNTEXPORT double te::mnt::Distance ( const te::gm::Coord2D pt1,
const te::gm::Coord2D pt2 
)
TEMNTEXPORT double te::mnt::Distance ( const double  pt1x,
const double  pt1y,
const double  pt2x,
const double  pt2y 
)
TEMNTEXPORT te::gm::LineString* te::mnt::DouglasPeuckerTA ( te::gm::LineString lineIn,
double  simpFactor,
double  Zvalue 
)
TEMNTEXPORT bool te::mnt::Equal ( te::gm::Point p1,
te::gm::Point p2,
double &  tol 
)
TEMNTEXPORT bool te::mnt::equalFptSpt ( te::gm::Point fpt,
te::gm::Point spt,
double  scale 
)
TEMNTEXPORT bool te::mnt::extractLines ( std::vector< te::gm::Point > &  pline,
std::vector< te::gm::LineString > &  clinlist,
double  scale 
)
TEMNTEXPORT short te::mnt::findCenter ( te::gm::Point vert,
double *  pcx,
double *  pcy 
)
TEMNTEXPORT bool te::mnt::Gauss_elimination ( short  m,
short  n,
double  mat[6][6] 
)
TEMNTEXPORT te::gm::LineString* te::mnt::GEOS_DouglasPeucker ( te::gm::LineString ls,
double  snap,
double  Zvalue 
)
TEMNTEXPORT void te::mnt::getMinMax ( te::rst::Raster inputRst,
double &  vmin,
double &  vmax 
)
TEMNTEXPORT te::mnt::mntType te::mnt::getMNTType ( const te::da::DataSetType dt)
TEMNTEXPORT bool te::mnt::initLineVector ( std::vector< te::gm::Point > &  pline,
std::vector< te::gm::Point > &  vect 
)
TEMNTEXPORT bool te::mnt::Least_square_fitting ( double *  vectx,
double *  vecty,
short  np,
short  deg,
double *  coef 
)
TEMNTEXPORT te::gm::Point te::mnt::Max ( te::gm::Point p1,
te::gm::Point p2 
)

Referenced by te::da::Max::Max().

TEMNTEXPORT te::gm::Point te::mnt::Min ( te::gm::Point p1,
te::gm::Point p2 
)

Referenced by te::da::Min::Min().

TEMNTEXPORT bool te::mnt::normalizeVector ( double *  )
TEMNTEXPORT int te::mnt::onSameSide ( te::gm::Coord2D  pt1,
te::gm::Coord2D  pt2,
te::gm::Coord2D  fseg,
te::gm::Coord2D  lseg 
)
TEMNTEXPORT bool te::mnt::onSegment ( te::gm::Point pt,
te::gm::Point fseg,
te::gm::Point lseg,
double  tol 
)
TEMNTEXPORT double te::mnt::PerpendicularDistance ( te::gm::Coord2D first,
te::gm::Coord2D last,
te::gm::Coord2D pin,
te::gm::Coord2D pinter 
)
TEMNTEXPORT bool te::mnt::point3dListFilter ( std::vector< te::gm::Point > &  p3dl,
std::vector< bool > &  fixed,
double  tol 
)
TEMNTEXPORT te::gm::LineString* te::mnt::pointListSimplify ( te::gm::LineString ls,
double  snap,
double  maxdist,
double  Zvalue 
)
TEMNTEXPORT double te::mnt::pointToSegmentDistance ( te::gm::Point fseg,
te::gm::Point lseg,
te::gm::Point pt,
te::gm::Point pti 
)
TEMNTEXPORT size_t te::mnt::ReadPoints ( std::string &  inDsetName,
te::da::DataSourcePtr inDsrc,
std::string &  atrZ,
double  tol,
te::gm::MultiPoint mpt,
std::string &  geostype,
te::gm::Envelope env 
)
TEMNTEXPORT size_t te::mnt::ReadSamples ( std::string &  inDsetName,
te::da::DataSourcePtr inDsrc,
std::string &  atrZ,
double  tol,
double  max,
Simplify  alg,
te::gm::MultiPoint mpt,
te::gm::MultiLineString isolines,
std::string &  geostype,
te::gm::Envelope env,
int  srid = 0 
)
TEMNTEXPORT void te::mnt::Save ( te::da::DataSource source,
te::da::DataSet result,
te::da::DataSetType outDsType 
)
TEMNTEXPORT bool te::mnt::SaveIso ( std::string &  outDsetName,
te::da::DataSourcePtr outDsrc,
std::vector< te::gm::LineString > &  isolist,
std::vector< double > &  guidevalues,
int  srid 
)
TEMNTEXPORT bool te::mnt::segInterPoint ( te::gm::Point pfr,
te::gm::Point pto,
te::gm::Point lfr,
te::gm::Point lto,
te::gm::Point pt 
)
TEMNTEXPORT short te::mnt::segIntersect ( te::gm::Point pfr,
te::gm::Point pto,
te::gm::Point lfr,
te::gm::Point lto 
)
TEMNTEXPORT double te::mnt::SegmentDistance ( double  fx,
double  fy,
double  lx,
double  ly,
double  ptx,
double  pty,
double *  pix,
double *  piy 
)
TEMNTEXPORT bool te::mnt::testVertexValues ( double  ,
te::gm::Point  
)
TEMNTEXPORT bool te::mnt::triangleNormalVector ( te::gm::Point ,
double *   
)