te::edit Namespace Reference

Classes

class  AddCommand
 Undo/Redo for add one components. More...
 
class  AggregateAreaTool
 
class  CreateLineTool
 This class implements a concrete tool to create lines. More...
 
class  CreatePointTool
 This class implements a concrete tool to create points. More...
 
class  CreatePolygonTool
 This class implements a concrete tool to create polygons. More...
 
class  DeleteGeometryByAreaTool
 
class  DeleteGeometryTool
 This class implements a concrete tool to remove geometries. More...
 
class  DeletePartTool
 This class implements a concrete tool to delete parts of multi features (deleting polygons of a multi feature polygons for example). More...
 
class  EditInfoTool
 
class  Feature
 
class  GeometriesUpdateTool
 
class  MergeGeometriesTool
 
class  Module
 This singleton defines the TerraLib Edit module entry. 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  RotateGeometryTool
 
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
 
struct  VertexIndex
 
class  VertexTool
 This class implements a concrete tool for vertex operations (move, add, etc.). More...
 

Enumerations

enum  OperationType {
  SELECT, INSERT, UPDATE, DELETE,
  DROP, CREATE, ALTER
}
 

Functions

TEEDITEXPORT void AddVertex (std::vector< te::gm::LineString * > &lines, const double &x, const double &y, const te::gm::Envelope &env, int srid)
 
TEEDITEXPORT te::gm::GeometryConvert2LayerGeomType (const te::map::AbstractLayerPtr &layer, te::gm::Geometry *geom, int srid)
 
TEEDITQTEXPORT te::map::AbstractLayerPtr CreateShapeFileLayer (const te::gm::GeomType &type, const int &srid)
 
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)
 
TEEDITEXPORT FeaturePickFeature (const te::map::AbstractLayer *layer, const te::gm::Envelope &env, int srid)
 
TEEDITEXPORT void RemoveVertex (std::vector< te::gm::LineString * > &lines, const VertexIndex &index)
 
TEEDITEXPORT void Rotate (te::gm::Geometry *geom, double angle)
 
TEEDITEXPORT void TrySnap (te::gm::Coord2D &coord, int srid)
 

Enumeration Type Documentation

Enumerator
SELECT 
INSERT 
UPDATE 
DELETE 
DROP 
CREATE 
ALTER 

Definition at line 38 of file Enums.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 
)
TEEDITEXPORT te::gm::Geometry* te::edit::Convert2LayerGeomType ( const te::map::AbstractLayerPtr layer,
te::gm::Geometry geom,
int  srid 
)
TEEDITQTEXPORT te::map::AbstractLayerPtr te::edit::CreateShapeFileLayer ( const te::gm::GeomType type,
const int &  srid 
)
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 
)
TEEDITEXPORT Feature* te::edit::PickFeature ( const te::map::AbstractLayer layer,
const te::gm::Envelope env,
int  srid 
)
TEEDITEXPORT void te::edit::RemoveVertex ( std::vector< te::gm::LineString * > &  lines,
const VertexIndex index 
)
TEEDITEXPORT void te::edit::Rotate ( te::gm::Geometry geom,
double  angle 
)
TEEDITEXPORT void te::edit::TrySnap ( te::gm::Coord2D coord,
int  srid 
)