User Tools

Site Tools


api:dk11:python:tatukgis.pdk.igis_viewer_methods

IGIS_Viewer methods

Methods

Inherited Overrides Protected
Name Visibility Description
Add public Add a layer to the Viewer.
AddHierarchy public Read hierarchy and build groups with layers.
AttachLayer public Attach layer to the viewer by re-parenting.
BeginPaintInternal public Notify viewer about entering of a paint mode.
BusyPrepare public Prepare BusyEvent for long-term operation.
BusyRelease public Release Busy state.
BusyShake public Shake Busy state.
CenterViewport public Set viewport to the vale when _ptg will be visible on the center of the screen.
ChangeHash public Change hash.
Close public Close a project.
Delete public Delete the layer identified by a name.
Draw public Draw all layers on a current renderer.
EndPaintInternal public Notify viewer about leaving of a paint mode.
FullExtent public Calculate the screen origin, zoom, and viewport to place the whole map in the window.
FullExtentZoom public Calculates a zoom which places the whole map inside the window
Get public Retrieve the layer identified by a name.
GetGrid public Fills provided _grid array with values defined by _extent.
GetRenderContext public Return current context object.
HourglassActive public Test is hourglass is active.
HourglassPrepare public Prepare Hourglass cursor for timely operation.
HourglassRelease public Release Hourglass.
HourglassRestart public Restart hourglass timing used for progressive updates.
HourglassShake public Shake Hourglass.
Interrupt public Will terminate timely operation as soon as possible.
Interrupted public Test if any pending operation must be aborted.
InvalidateBasemap public Invalidate only basemap layers.
InvalidateEditor public Invalidate editor.
InvalidateExtent(TGIS_Extent) public Invalidate an extent for full map redraw
InvalidateExtent(TGIS_Extent, bool) public Invalidate an extent.
InvalidateSelection public Invalidate selection.
InvalidateTopmost public Invalidate only topmost layers.
InvalidateWholeMap public Invalidate whole map.
Locate(TGIS_Point, float) public Locate a shape that is near _ptg, but is closer than _prec distance.
Locate(TGIS_Point, float, bool) public Locate a shape that is near _ptg, but is closer than _prec distance.
Locate(TPoint, int) public Locate a shape that is near _pt, but is closer than _prec distance.
LocateEx public Locate shapes on layers that are near _ptg, but closer than _prec distance.
Lock public Lock viewer.
MapToScreen public Converts point coordinates from map related to screen related.
MapToScreen3D public Converts 3D point coordinates from map related to screen related.
MapToScreenEx public Converts point coordinates from map related to screen related, but result will be in TGIS_Point.
MapToScreenRect public Converts rectangle coordinates from map related to screen related.
MarkModified public Mark viewer upon some modifications.
MoveViewport public Move the screen origin of the map by delta values.
MoveViewportEx public Move the screen origin of the map by delta values.
MustSave public Check if any layer or the project file was modified by editing.
NotifySubscribers public Send notification to subscribers.
Open(str) public Open project.
Open(str, bool) public Open project.
OpenEx(TGIS_ConfigAbstract, str) public Open project file from the memory.
OpenEx(TGIS_ConfigAbstract, str, bool) public Open project file from the memory.
PixelsToTwips public Convert size from device dependent pixels to device independent Twips (1/1440 inch).
RaiseBusyEvent public Fire Busy event of a viewer.
RaiseHelpEvent public Fire Busy event of a viewer.
ReadConfig public Read all configuration data from project.
RecalcExtent public Calculates a common extent.
ReParent public Set a new parent for the viewer.
Reposition public Reposition the map within the component window.
RereadConfig public Reread all configuration data from project and layer configuration files.
RestorePaintState public Restore and free the current paint state.
RevertAll public Revert all layers to a file-based original.
RotatedExtent public Compute extent (encompassing area of the extent) after the viewer rotation.
RotatedPoint public Compute position of the point after the viewer rotation.
RotatedPoint3D public Compute position of the 3D point after the viewer rotation.
RotatedPoint3D_ref public Compute position of the 3D point after the viewer rotation.
SaveAll public Save all layers (parameters and data)
SaveData public Save all changes to the data.
SaveProject public Save current project.
SaveProject(bool) public Save current project.
SaveProjectAs(str) public Save current project under new name.
SaveProjectAs(str, bool) public Save current project under new name.
SaveProjectAsEx(TGIS_ConfigAbstract, str) public Save current project under new name.
SaveProjectAsEx(TGIS_ConfigAbstract, str, bool) public Save current project under new name.
ScreenToMap public Converts point coordinates from screen related to map related.
ScreenToMap3D public Converts point coordinates from screen related to map related.
ScreenToMapEx public Converts point coordinates from screen related to map related, but source will be in TGIS_Point.
ScreenToMapRect public Converts rectangle coordinates from screen related to map related.
SetCSByEPSG public Setup Coordinate System to a coordinate system provided by EPSG code.
SetCSByWKT public Setup Coordinate System to a coordinate system provided by WKT string (GEOGCS or PROJCS).
SetCSByWKTFile public Setup Coordinate System to a coordinate system provided by file which contains WKT string (GEOGCS or PROJCS).
SetViewport public Set viewport to a given position.
StorePaintState public Store the current paint state.
Subscribe public Add provided control to the notification subscription list.
SynchronizePaint public Wait for pending paint operation to be finalized.
TwipsToPixels public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels.
TwipsToPoints public Convert the size from to device independent Twips (1/1440 inch) to device points.
Unlock public Unlock viewer.
Unlock(bool) public Unlock the viewer but do not redraw
UnrotatedExtent public Compute original extent of the rotated extent.
UnrotatedPoint public Compute original position of the rotated point.
UnrotatedPoint3D public Compute original position of the rotated 3D point.
UnrotatedPoint3D_ref public Compute original position of the rotated 3D point.
UnSubscribe public Remove provided control from the notification subscription list.
WaitForBackgroundProcesses public Wait for any pending background processes that must be finalized before app can continue.
WaitForNotBusy public Call _proc when viewer will fully end painting procees.
WriteConfig public Write all configuration data to the project or layer ini file.

2024/10/18 01:15

Page Tools