te::edit Namespace Reference

Classes

class  AddCommand
 Undo/Redo for add one components. More...
 
class  AddContinuosCommand
 Undo/Redo for add one components. More...
 
class  AggregateAreaTool
 
class  CreateContinuosPolygonTool
 This class implements a concrete tool to create polygons. More...
 
class  CreateLineTool
 This class implements a concrete tool to create lines. More...
 
class  CreatePolygonTool
 This class implements a concrete tool to create polygons. More...
 
class  DeleteGeometryTool
 This class implements a concrete tool to move geometries. More...
 
class  EditInfoTool
 
class  Feature
 
class  GeometriesUpdateTool
 
class  MergeGeometriesTool
 
class  Module
 This singleton defines the TerraLib Edit module entry. More...
 
class  MoveCommand
 Undo/Redo for add one components. More...
 
class  MoveGeometryTool
 This class implements a concrete tool to move geometries. More...
 
class  Renderer
 This is a singleton for rendering geometries and features. More...
 
class  Repository
 This class represents a repository of geometries and features. More...
 
class  RepositoryManager
 This is a singleton for managing edit repositories. More...
 
class  Snap
 This class implements geometry snap concept. More...
 
class  SnapManager
 This is a singleton for managing geometries snap. More...
 
class  SnapOptionsDialog
 A dialog used to configure geometry snap options. More...
 
class  SnapVertex
 This class implements a vertex search snap. More...
 
class  SplitPolygonTool
 This class implements a concrete tool to split polygons. More...
 
class  SubtractAreaTool
 
class  UndoStackManager
 
class  UpdateCommand
 Undo/Redo for Update one components. More...
 
struct  VertexIndex
 
class  VertexTool
 This class implements a concrete tool for vertex operations (move, add, etc.). More...
 

Enumerations

enum  OperationType {
  GEOMETRY_CREATE, GEOMETRY_UPDATE, GEOMETRY_DELETE, GEOMETRY_UPDATE_ATTRIBUTES,
  NumberOfOperationTypes
}
 

Functions

TEEDITEXPORT void AddVertex (std::vector< te::gm::LineString * > &lines, const double &x, const double &y, const te::gm::Envelope &env, int srid)
 
TEEDITQTEXPORT te::gm::GeometryconvertGeomType (const te::map::AbstractLayerPtr &layer, te::gm::Geometry *geom)
 
TEEDITEXPORT VertexIndex FindSegment (std::vector< te::gm::LineString * > &lines, const te::gm::Envelope &env, int srid)
 
TEEDITEXPORT te::da::ObjectIdGenerateId ()
 
TEEDITEXPORT void GetCoordinates (te::gm::Geometry *geom, std::vector< te::gm::Coord2D > &coords)
 
TEEDITEXPORT double GetDistance (const te::gm::Coord2D &c1, const te::gm::Coord2D &c2)
 
TEEDITEXPORT void GetLines (te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void GetLines (te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void GetLines (te::gm::Polygon *p, std::vector< te::gm::LineString * > &lines)
 
TEEDITEXPORT void GetLines (te::gm::LineString *l, std::vector< te::gm::LineString * > &lines)
 
TEEDITQTEXPORT QPointF GetPosition (QMouseEvent *e)
 
TEEDITEXPORT bool IsSpecialRingVertex (te::gm::LineString *l, const VertexIndex &index)
 
TEEDITEXPORT void MoveGeometry (te::gm::Geometry *geom, const double &deltax, const double &deltay)
 
TEEDITEXPORT void MoveVertex (std::vector< te::gm::LineString * > &lines, const VertexIndex &index, const double &x, const double &y)
 
TEEDITEXPORT FeaturePickFeature (const te::map::AbstractLayerPtr &layer, const te::gm::Envelope &env, int srid, OperationType operation)
 
TEEDITEXPORT FeaturePickFeature (const te::map::AbstractLayer *layer, const te::gm::Envelope &env, int srid, OperationType operation)
 
TEEDITEXPORT void RemoveVertex (std::vector< te::gm::LineString * > &lines, const VertexIndex &index)
 
TEEDITEXPORT void TrySnap (te::gm::Coord2D &coord, int srid)
 

Enumeration Type Documentation

Enumerator
GEOMETRY_CREATE 

New Features

GEOMETRY_UPDATE 

Features to update.

GEOMETRY_DELETE 

Features to delete.

GEOMETRY_UPDATE_ATTRIBUTES 

Features to update attributes.

NumberOfOperationTypes 

Size of Enum

Definition at line 88 of file Utils.h.

Function Documentation

TEEDITEXPORT void te::edit::AddVertex ( std::vector< te::gm::LineString * > &  lines,
const double &  x,
const double &  y,
const te::gm::Envelope env,
int  srid 
)
TEEDITQTEXPORT te::gm::Geometry* te::edit::convertGeomType ( const te::map::AbstractLayerPtr layer,
te::gm::Geometry geom 
)
TEEDITEXPORT VertexIndex te::edit::FindSegment ( std::vector< te::gm::LineString * > &  lines,
const te::gm::Envelope env,
int  srid 
)
TEEDITEXPORT te::da::ObjectId* te::edit::GenerateId ( )
TEEDITEXPORT void te::edit::GetCoordinates ( te::gm::Geometry geom,
std::vector< te::gm::Coord2D > &  coords 
)
TEEDITEXPORT double te::edit::GetDistance ( const te::gm::Coord2D c1,
const te::gm::Coord2D c2 
)
TEEDITEXPORT void te::edit::GetLines ( te::gm::Geometry geom,
std::vector< te::gm::LineString * > &  lines 
)
TEEDITEXPORT void te::edit::GetLines ( te::gm::GeometryCollection gc,
std::vector< te::gm::LineString * > &  lines 
)
TEEDITEXPORT void te::edit::GetLines ( te::gm::Polygon p,
std::vector< te::gm::LineString * > &  lines 
)
TEEDITEXPORT void te::edit::GetLines ( te::gm::LineString l,
std::vector< te::gm::LineString * > &  lines 
)
TEEDITQTEXPORT QPointF te::edit::GetPosition ( QMouseEvent *  e)
TEEDITEXPORT bool te::edit::IsSpecialRingVertex ( te::gm::LineString l,
const VertexIndex index 
)
TEEDITEXPORT void te::edit::MoveGeometry ( te::gm::Geometry geom,
const double &  deltax,
const double &  deltay 
)
TEEDITEXPORT void te::edit::MoveVertex ( std::vector< te::gm::LineString * > &  lines,
const VertexIndex index,
const double &  x,
const double &  y 
)
TEEDITEXPORT Feature* te::edit::PickFeature ( const te::map::AbstractLayerPtr layer,
const te::gm::Envelope env,
int  srid,
OperationType  operation 
)
TEEDITEXPORT Feature* te::edit::PickFeature ( const te::map::AbstractLayer layer,
const te::gm::Envelope env,
int  srid,
OperationType  operation 
)
TEEDITEXPORT void te::edit::RemoveVertex ( std::vector< te::gm::LineString * > &  lines,
const VertexIndex index 
)
TEEDITEXPORT void te::edit::TrySnap ( te::gm::Coord2D coord,
int  srid 
)