DK for .NET | TatukGIS.NDK.TGIS_TopoTool | Classes | Constructors | Methods | Properties | Events
Main topology editing and management tool for viewer-based GIS applications.
// C# public class TGIS_TopoTool : TGIS_Object { }
' VisualBasic Public Class TGIS_TopoTool Inherits TGIS_Object End Class
// Oxygene type TGIS_TopoTool = public class( TGIS_Object ) end;
→ TGIS_Object
| Name | Visibility | Description | |
|---|---|---|---|
| TGIS_TopoTool(Object, Object, Object, Object) | public | Creates a topology tool bound to generic object references for the GIS viewer, legend, and attributes controls. | |
| TGIS_TopoTool(Object, TGIS_PvlViewerWnd, TGIS_PvlControlLegend, TGIS_PvlControlAttributes) | public | Creates a topology tool bound to GIS viewer, legend, and attributes controls. | |
| Name | Visibility | Description | |
|---|---|---|---|
| ClearSelection | public | Clears the selection on the TopoTool helper layer. | |
| CopyFields | public | Copies field definitions from the source layer to the target layer. | |
| FillComboWithBaseFeatureLayers | public | Populates the ComboBox with names of topological base feature layers opened in the GIS viewer. | |
| FillComboWithChildLayers | public | Populates the ComboBox with child layer names for the specified topological layer opened in the GIS viewer. | |
| FillComboWithFeatureElements | public | Populates the ComboBox with feature element identifiers (TTKID) belonging to the specified topological feature. | |
| FillComboWithShapeNeighbors | public | Populates the ComboBox with identifiers of neighbors for the specified topological shape. | |
| FillComboWithTopoLayers | public | Populates the ComboBox with all viewer layer names associated with the specified topology. | |
| FillComboWithTopologies | public | Populates the ComboBox with all topologies opened in the GIS viewer. | |
| FillComboWithTopoShapes | public | Populates the ComboBox with shape identifiers (TTKID) belonging to the specified topological feature layer. | |
| FillComboWithVectorLayers | public | Populates the ComboBox with all non-topology vector layers opened in the GIS viewer. | |
| Flash | public | Causes the specified shape to flash. | |
| GetBaseFeatureLayerNames | public | Populates the specified list with the names of topological base feature layers opened in the GIS viewer. | |
| GetGisLayerAsTopo | public | Gets a topological layer from the GIS viewer by name. | |
| GetGisLayerAsTopoFeature | public | Gets a topological base feature layer from the GIS viewer by name. | |
| GetGisLayerAsVector | public | Gets a vector layer from the GIS viewer by name. | |
| GetLegendLayerAsTopo | public | Gets the active topological layer from the GIS legend. | |
| GetLegendLayerAsTopoFeature | public | Gets the active topological feature layer from the GIS legend. | |
| GetLegendLayerAsVector | public | Gets the active vector layer from the GIS legend. | |
| GetShapeTtkId | public | Gets the topology identifier (TTKID) of the specified shape. | |
| GetTopoLayer | public | Gets the TGIS_TopoLayer equivalent of the specified topological layer. | |
| Initialize | public | Initializes the topology tool and connects it to viewer-integrated topology workflows. | |
| IsBaseFeatureLayer | public | Indicates whether the specified topological layer is a base feature layer. | |
| OpenSettingsForm | public | Opens the topology settings form. | |
| ProjectHasTopology | public | Checks whether the viewer's project contains the specified topology type. | |
| Rollback | public | Cancels all topology edits made since the last commit. | |
| RunTool | public | Runs the specified topology tool. | |
| SaveAll | public | Saves all topology changes. | |
| Shutdown | public | Finalizes the topology tool and disconnects viewer-integrated topology workflows. | |
| TryGetTopoLayer | public | Tries to get the TGIS_TopoLayer equivalent of the specified topological layer. | |
| TryLocateShapeOnLayer | public | Tries to locate a shape on the specified layer. | |
| Zoom | public | Zooms the GIS viewer to the specified shape. | |
| ZoomAndFlash | public | Zooms the GIS viewer to the specified shape and causes it to flash. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Legend | public | The injected GIS legend instance. | |
| SelectionEnabled | public | Gets or sets whether the viewer is in Select mode or Drag mode. | |
| TopoEditUtils | public | Topology edit utility helper instance used by the topology tool. | |
| TopoSettings | public | Topology settings used by the topology editing workflow. | |
| Viewer | public | The injected GIS viewer instance. | |
| Name | Visibility | Description | |
|---|---|---|---|
| CustomSelectionEvent | public | Custom selection event that replaces the default TopoTool selection behavior. | |
PURPOSE: Provides a central coordinator for topology creation, import, editing, selection, save/rollback operations, and helper workflows that connect the viewer, legend, and attributes controls with topological layers and feature layers.
BEHAVIOR: Integrates with TGIS_TopoEditUtils and active viewer state to execute topology tools, resolve topological and vector layers, manage selection behavior, and navigate to shapes. Many helper methods return nil or False when a matching layer, shape, or topology object cannot be found.
CONSTRAINTS: Requires valid viewer, legend, and attributes objects for UI-integrated workflows. Initialize and Shutdown are intended to be used together.