User Tools

Site Tools


api:dk11:python:tatukgis_pdk.igis_viewer3d

Table of Contents

IGIS_Viewer3D class

Common API for 3D viewing operations.

Syntax

# Python
class IGIS_Viewer3D:

Methods

Inherited Overrides Protected
Name Visibility Description
ControlRepaint public Issue control repainting action (shallow refresh).
DoGesture public Performs a gesture operation.
DoMouseDown public Performs the interactive action for a mouse-down message according to the current Mode.
DoMouseMove public Performs the interactive action for a mouse-move message according to the current Mode.
DoMouseUp public Performs the interactive action for a mouse-up message according to the current Mode.
Drag public Drags the scene left, right, forward, or backward by delta values in map units.
DragEx public Drags the scene left, right, forward and up, or backward and down by delta values in map units.
Draw public Draws the scene.
FullExtent public Set view to initial state.
GestureBegin public Start gesture.
GestureEnd public Finish gesture.
GetDemLevelAtReferencePointer public Gets the height where the reference pointer crosses the DEM.
GetFps public Gets the rendering speed in frames per second.
InitialRedraw public Performs the initial redraw of the 3D viewer.
Locate public Selects an object in 3D, similarly to 2D mode.
Locate3D public Select object in 3D
Lock public Stops rendering and waits for GeneralUnlock.
LockUpdates public Prepare navigate operation - for example set draft mode.
MarkShape public Mark shape with color
Move public Moves the scene along the XY axis by delta values expressed in map units.
PrintBegin public Gets the tile size used for tiled printing.
PrintBmp public Dumps the requested screen rectangle to a bitmap.
PrintEnd public Close printing using tiles.
PrintTile public Dumps the visible screen rectangle to a bitmap tile.
RayIntersectDem public Gets the intersection point between a ray and a DEM.
ResetView public Set view to initial state (like FullExtent in 2D).
Rotate public Rotates the view by delta values expressed in radians.
ScreenToMap public Gets the mouse position on the reference level in map units.
ScreenToMap3D public Gets map coordinates for a screen pixel.
StoreMousePos public Stores the mouse position, used in zoom mode only.
Unlock public Cancels GeneralLock and continues rendering.
UnlockUpdates public Finalize navigate operation.
UnMarkShape public Cancel previously marked shape with color
UpdateAllSelectedObjects public Redraw all selected objects.
UpdateTopmost public Issue control update action (topmost refresh).
UpdateWholeMap public Issue control update action (deep refresh).
ZoomBy public Zooms the view by a factor, using the screen center when AdvNavigation is False or the mouse position when it is True.

Properties

Inherited Protected
Name Visibility Description
AdvNavigation public Switches between standard and advanced navigation.
AllowDemTransparency public Gets or sets whether DEM transparency is allowed.
BasePlane public Base plane parameters including active state, level, and colors.
CameraPosition public Camera position expressed in radians relative to the view center.
CameraPositionEx public Camera position in XYZ map units.
CameraRotation public Camera rotation in radians, with focal length stored in the M value.
CutAbove public Sets the cut value for DEM cells with Z greater than CutAbove.
CutBelow public Sets the cut value for DEM cells with Z less than CutBelow.
DemCachedSize public Grid size used to display regular DEMs and images.
DemDetailExtentFactor public Extent in which DEM is displayed in max LevelOfDetail (must be >= 0.5, 1 means screen width).
DemDraftExtentFactor public Extent in which DEM is displayed in lower LevelOfDetail (must be >= 1.0, 4 means 4 times screen width).
DemGridSize public Current grid size setting.
DemIsolineColor public Color used to draw DEM isolines.
DemIsolineGap public Gap between DEM isolines.
DemWalls public DEM wall display mode.
EdgesColor public Color used to draw vector edges.
ErrorMessage public Gets the current error message text.
FastMode public Blocks scene redrawing when set to True and redraws immediately when set to False.
Flood public Flood parameters including active state, level, color, and transparency.
HideLabelsUponNavigation public Hides labels while the scene is being navigated.
IgnoreAbove public Sets the no-data value for DEM cells with Z greater than IgnoreAbove.
IgnoreBelow public Sets the no-data value for DEM cells with Z less than IgnoreBelow.
IgnoreEllipsoidHeight public If set to True, differences in Z value caused by different ellipsoids will be ignored
IsBusy public Flag. If True, Viewer is busy in painting.
KeepSunCamera public Check for keeping sun and camera positions relative.
LightVector public Reverses the light normal vector.
Mode public 3D viewer working mode, such as camera, sun, zoom, or selection.
OrthoView public Switches orthogonal view on or off.
PixelSize public Gets the pixel size at the reference point in map units.
ReferencePoint public Reference point in map units, usually the screen center.
ReferencePointMode public Sets the reference rotation point mode, such as Base, Zero, OnDem, Lowest, Highest, or FlyOnDem.
ReferencePointOffsetZ public Set reference (rotation) point Z value offset.
Scale public Gets or sets the 3D scale factor.
ScaleAsText public Gets or sets the 3D scale factor as text in the format '1:10000'.
ScaleM public M scaling; default is 1.
ScaleZ public Z scaling; default is 1.
ShadowsLevel public Shadow intensity level in the range 0..100, where 0 means deep shadows and 100 means light shadows.
ShowDemTexture public Turns DEM texture display on or off.
ShowLabels public Turns label display on or off.
ShowLights public Turns scene lighting on or off.
ShowReferencePoint public Turns reference point drawing on or off.
ShowVectorEdges public Turn VectorEdges drawing on/off.
ShowWireframe public Turns wireframe mode on or off.
SunPosition public Sun position in radians relative to natural north.
TransparencyPriority public Transparency priority.
UniverseColor public Color of the 3D viewer area outside the map extent.
VectorExtentFactor public Extent from which vector is displayed (must be >= 1.0, 2 means 2 times screen width).
VectorSimplification public Enable/disable vector simplification process.
VectorSmartSize public Shape size in pixels, less or equal will not be displayed ( must be >= 0 )
ViewRestriction public Current 3D view restrictions.
VisibleExtent public Gets or sets the 2D extent currently visible in the 3D window.
VisibleExtent3D public Gets the 3D extent currently visible in the 3D window.
WallsColor public Color used to draw DEM walls.
Zoom public Gets the 3D zoom value.

2026/07/10 23:47

Page Tools