Classes | |
| 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 | EditionLayer | 
| This class represents a layer being created from user-edition.  More... | |
| class | Feature | 
| class | FeatureAttributesDialog | 
| A widget used to show and setup feature attributes.  More... | |
| 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 | 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... | |
| struct | VertexIndex | 
| class | VertexTool | 
| This class implements a concrete tool for vertex operations (move, add, etc.).  More... | |
Typedefs | |
| typedef boost::intrusive_ptr < EditionLayer >  | EditionLayerPtr | 
| typedef boost::intrusive_ptr<EditionLayer> te::edit::EditionLayerPtr | 
Definition at line 122 of file EditionLayer.h.
| void te::edit::AddVertex | ( | std::vector< te::gm::LineString * > & | lines, | 
| const double & | x, | ||
| const double & | y, | ||
| const te::gm::Envelope & | env, | ||
| int | srid | ||
| ) | 
Definition at line 208 of file Utils.cpp.
References FindSegment(), te::edit::VertexIndex::isValid(), te::edit::VertexIndex::m_line, te::edit::VertexIndex::m_pos, and te::gm::LineString::setPoint().
Referenced by te::edit::VertexTool::mouseDoubleClickEvent().
| te::edit::VertexIndex te::edit::FindSegment | ( | std::vector< te::gm::LineString * > & | lines, | 
| const te::gm::Envelope & | env, | ||
| int | srid | ||
| ) | 
Definition at line 237 of file Utils.cpp.
References te::gm::GetGeomFromEnvelope(), te::gm::Geometry::getGeomTypeId(), te::gm::LineString::getNPoints(), te::gm::Geometry::getSRID(), te::gm::LineString::getX(), te::gm::LineString::getY(), te::edit::VertexIndex::m_line, te::edit::VertexIndex::m_pos, and te::edit::VertexIndex::makeInvalid().
Referenced by AddVertex().
| te::da::ObjectId * te::edit::GenerateId | ( | ) | 
Definition at line 361 of file Utils.cpp.
References te::da::ObjectId::addValue().
Referenced by te::edit::Repository::add(), and te::edit::Feature::Feature().
| void te::edit::GetCoordinates | ( | te::gm::Geometry * | geom, | 
| std::vector< te::gm::Coord2D > & | coords | ||
| ) | 
Definition at line 300 of file Utils.cpp.
References te::gm::GeometryCollection::getGeometryN(), te::gm::Geometry::getGeomTypeId(), GetLines(), te::gm::LineString::getNPoints(), te::gm::GeometryCollection::getNumGeometries(), te::gm::AbstractPoint::getX(), te::gm::LineString::getX(), te::gm::AbstractPoint::getY(), te::gm::LineString::getY(), and te::gm::MultiPointType.
Referenced by te::edit::SnapVertex::add().
| double te::edit::GetDistance | ( | const te::gm::Coord2D & | c1, | 
| const te::gm::Coord2D & | c2 | ||
| ) | 
Definition at line 295 of file Utils.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::edit::SnapVertex::search().
| void te::edit::GetLines | ( | te::gm::Geometry * | geom, | 
| std::vector< te::gm::LineString * > & | lines | ||
| ) | 
Definition at line 109 of file Utils.cpp.
References te::gm::Geometry::getGeomTypeId(), te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPolygonType, and te::gm::PolygonType.
Referenced by te::edit::Renderer::drawVertexes(), GetCoordinates(), GetLines(), MoveGeometry(), and te::edit::VertexTool::pickFeature().
| void te::edit::GetLines | ( | te::gm::GeometryCollection * | gc, | 
| std::vector< te::gm::LineString * > & | lines | ||
| ) | 
Definition at line 134 of file Utils.cpp.
References te::gm::GeometryCollection::getGeometryN(), GetLines(), and te::gm::GeometryCollection::getNumGeometries().
| void te::edit::GetLines | ( | te::gm::Polygon * | p, | 
| std::vector< te::gm::LineString * > & | lines | ||
| ) | 
Definition at line 142 of file Utils.cpp.
References GetLines(), and te::gm::CurvePolygon::getRings().
| void te::edit::GetLines | ( | te::gm::LineString * | l, | 
| std::vector< te::gm::LineString * > & | lines | ||
| ) | 
| QPointF te::edit::GetPosition | ( | QMouseEvent * | e | ) | 
Definition at line 42 of file Utils.cpp.
Referenced by te::edit::VertexTool::mouseDoubleClickEvent(), te::edit::MoveGeometryTool::mouseMoveEvent(), te::edit::CreatePolygonTool::mouseMoveEvent(), te::edit::CreateLineTool::mouseMoveEvent(), te::edit::VertexTool::mouseMoveEvent(), te::edit::MoveGeometryTool::mousePressEvent(), te::edit::CreateLineTool::mousePressEvent(), te::edit::CreatePolygonTool::mousePressEvent(), and te::edit::VertexTool::mouseReleaseEvent().
| bool te::edit::IsSpecialRingVertex | ( | te::gm::LineString * | l, | 
| const VertexIndex & | index | ||
| ) | 
Definition at line 290 of file Utils.cpp.
References te::gm::LineString::getNPoints(), te::gm::LineString::isClosed(), and te::edit::VertexIndex::m_pos.
Referenced by MoveVertex(), and RemoveVertex().
| void te::edit::MoveGeometry | ( | te::gm::Geometry * | geom, | 
| const double & | deltax, | ||
| const double & | deltay | ||
| ) | 
Definition at line 273 of file Utils.cpp.
References GetLines(), te::gm::LineString::getNPoints(), te::gm::LineString::getX(), te::gm::LineString::getY(), and te::gm::LineString::setPoint().
Referenced by te::edit::MoveGeometryTool::mouseMoveEvent().
| void te::edit::MoveVertex | ( | std::vector< te::gm::LineString * > & | lines, | 
| const VertexIndex & | index, | ||
| const double & | x, | ||
| const double & | y | ||
| ) | 
Definition at line 158 of file Utils.cpp.
References IsSpecialRingVertex(), te::edit::VertexIndex::isValid(), te::edit::VertexIndex::m_line, te::edit::VertexIndex::m_pos, and te::gm::LineString::setPoint().
Referenced by te::edit::VertexTool::mouseMoveEvent().
| te::edit::Feature * te::edit::PickFeature | ( | const te::map::AbstractLayerPtr & | layer, | 
| const te::gm::Envelope & | env, | ||
| int | srid | ||
| ) | 
Definition at line 55 of file Utils.cpp.
References te::edit::Feature::clone(), te::da::GenerateOID(), te::gm::Envelope::getCenter(), te::da::GetFirstGeomProperty(), te::gm::GetGeomFromEnvelope(), te::da::GetOIDPropertyNames(), te::gm::INTERSECTS, te::gm::Envelope::intersects(), TE_UNKNOWN_SRS, te::gm::Envelope::transform(), te::map::VISIBLE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::edit::MoveGeometryTool::pickFeature(), and te::edit::VertexTool::pickFeature().
| void te::edit::RemoveVertex | ( | std::vector< te::gm::LineString * > & | lines, | 
| const VertexIndex & | index | ||
| ) | 
Definition at line 176 of file Utils.cpp.
References te::gm::LineString::getX(), te::gm::LineString::getY(), IsSpecialRingVertex(), te::edit::VertexIndex::isValid(), te::edit::VertexIndex::m_line, te::edit::VertexIndex::m_pos, te::gm::LineString::setPoint(), and te::gm::LineString::size().
Referenced by te::edit::VertexTool::mousePressEvent().
| void te::edit::TrySnap | ( | te::gm::Coord2D & | coord, | 
| int | srid | ||
| ) | 
Definition at line 343 of file Utils.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::edit::CreateLineTool::mouseMoveEvent(), te::edit::CreatePolygonTool::mouseMoveEvent(), te::edit::CreatePolygonTool::mousePressEvent(), and te::edit::CreateLineTool::mousePressEvent().