User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_viewer3ddirectx

Table of Contents

TGIS_Viewer3DDirectX class

DK11 for ActiveX | TatukGIS_XDK11.TGIS_Viewer3DDirectX | Classes | Methods | Properties

DirectX9 3D Viewer.

Available also on: Delphi | .NET WinForms.

Syntax

// C#
public class TGIS_Viewer3DDirectX : ITGIS_Viewer3DDirectX, ITGIS_Viewer3DBaseEvents 
{
}
' VisualBasic
Public Class TGIS_Viewer3DDirectX
  Implements ITGIS_Viewer3DDirectX
  Implements ITGIS_Viewer3DBaseEvents
End Class
// Oxygene
type
  TGIS_Viewer3DDirectX = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
ControlRepaint public Issue control repainting action (shallow refresh).
(Inherited from ITGIS_Viewer3DBase)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
DoMouseDown public Perform interactive action on mouse message defined by current Mode.
(Inherited from ITGIS_Viewer3DBase)
DoMouseMove public Perform interactive action on mouse message defined by current Mode.
(Inherited from ITGIS_Viewer3DBase)
DoMouseUp public Perform interactive action on mouse message defined by current Mode.
(Inherited from ITGIS_Viewer3DBase)
Drag public Drag scene left, right, forward or backward by delta in map units
(Inherited from ITGIS_Viewer3DBase)
DragEx public Drag scene left, right, forward+up or backward+down by delta in map units
(Inherited from ITGIS_Viewer3DBase)
Draw public Draw scene
(Inherited from ITGIS_Viewer3DBase)
FullExtent public Set view to initial state.
(Inherited from ITGIS_Viewer3DBase)
GetDemLevelAtReferencePointer public Get height where reference pointer crosses DEM
(Inherited from ITGIS_Viewer3DBase)
GetFps public Get rendering speed in frames-per-second
(Inherited from ITGIS_Viewer3DBase)
InitialRedraw public Construct an instance of 3D Viewer
(Inherited from ITGIS_Viewer3DBase)
Locate public Select object in 3D (as in 2D mode)
(Inherited from ITGIS_Viewer3DBase)
Locate3D public Select object in 3D
(Inherited from ITGIS_Viewer3DBase)
Lock public Stop rendering and wait for GeneralUnlock Must be paired with Unlock.
(Inherited from ITGIS_Viewer3DBase)
LockUpdates public Prepare navigate operation - for example set draft mode.
(Inherited from ITGIS_Viewer3DBase)
MarkShape public Mark shape with color
(Inherited from ITGIS_Viewer3DBase)
Move public Move scene along XY axis by delta values expressed in map units
(Inherited from ITGIS_Viewer3DBase)
PrintBegin public Get size of tile used while tiling.
(Inherited from ITGIS_Viewer3DBase)
PrintBmp public Dump required screen rectangle to a bitmap
(Inherited from ITGIS_Viewer3DBase)
PrintEnd public Close printing using tiles.
(Inherited from ITGIS_Viewer3DBase)
PrintTile public Dump visible screen rectangle to a bitmap
(Inherited from ITGIS_Viewer3DBase)
ResetView public Set view to initial state (like FullExtent in 2D).
(Inherited from ITGIS_Viewer3DBase)
Rotate public Rotate view by delta values expressed in radians
(Inherited from ITGIS_Viewer3DBase)
ScreenToMap public Get the mouse position on ReferenceLevel in map units
(Inherited from ITGIS_Viewer3DBase)
ScreenToMap3D public Get map coordinates of screen pixel
(Inherited from ITGIS_Viewer3DBase)
StoreMousePos public Mouse position (necessary in ZoomMode only)
(Inherited from ITGIS_Viewer3DBase)
Unlock public Cancels GeneralLock, continue rendering Must be paired with Lock.
(Inherited from ITGIS_Viewer3DBase)
UnlockUpdates public Finalize navigate operation.
(Inherited from ITGIS_Viewer3DBase)
UnMarkShape public Cancel previously marked shape with color
(Inherited from ITGIS_Viewer3DBase)
UpdateAllSelectedObjects public Redraw all selected objects.
(Inherited from ITGIS_Viewer3DBase)
UpdateEvent public
(Inherited from ITGIS_Viewer3DBaseEvents)
UpdateTopmost public Issue control update action (topmost refresh).
(Inherited from ITGIS_Viewer3DBase)
UpdateWholeMap public Issue control update action (deep refresh).
(Inherited from ITGIS_Viewer3DBase)
ZoomBy public Zoom view by factor (screen center if AdvNavigation = False, mouse position if AdvNavigation = True.
(Inherited from ITGIS_Viewer3DBase)

Properties

Inherited Protected
Name Visibility Description
AdvNavigation public Standard / AdvanceNavigation switch if True mouse location become a rotation point if False screen center is a rotation point
(Inherited from ITGIS_Viewer3DBase)
AllowDemTransparency public Get AllowDemTransparency status.
(Inherited from ITGIS_Viewer3DBase)
BasePlane public BasePlane parameters, active, level & colors
(Inherited from ITGIS_Viewer3DBase)
CameraPosition public Camera position in radians; Changes of CameraPosition settings change CameraRotation settings; Camera always points to the central point of the visible area; * X height of the camera above horizon, range 0 - Pi/2 rad; * Y azimuth to the camera from natural north, range 0 - 2Pi rad; * Z distance to the camera in map units; * M optional parameter, for future use.
(Inherited from ITGIS_Viewer3DBase)
CameraPositionEx public Camera position in XYZ in map units Changes of CameraPositionEx settings do not change CameraRotation settings; * X x coordinate; * Y y coordinate; * Z z coordinate; * M optional parameter, for future use.
(Inherited from ITGIS_Viewer3DBase)
CameraRotation public Camera rotation in radians; * X x rotation, vertical , range +- Pi/2 rad; * Y y rotation, inclination, range +- Pi/2 rad; * Z z rotation, horizontal , range 0 - 2Pi rad; * M camera focal length in millimeters, range 20 - 500 mm (default 50).
(Inherited from ITGIS_Viewer3DBase)
CutAbove public Set CutAbove value for DEM cells with z > CutAbove
(Inherited from ITGIS_Viewer3DBase)
CutBelow public Set CutBelow value for DEM cells with z < CutBelow
(Inherited from ITGIS_Viewer3DBase)
DemCachedSize public Grid size used to display regular DEMs & IMAGEs
(Inherited from ITGIS_Viewer3DBase)
DemDetailExtentFactor public Extent in which DEM is displayed in max LevelOfDetail (must be >= 0.5, 1 means screen width).
(Inherited from ITGIS_Viewer3DBase)
DemDraftExtentFactor public Extent in which DEM is displayed in lower LevelOfDetail (must be >= 1.0, 4 means 4 times screen width).
(Inherited from ITGIS_Viewer3DBase)
DemGridSize public Current grid size setting.
(Inherited from ITGIS_Viewer3DBase)
DemIsolineColor public Isoline color
(Inherited from ITGIS_Viewer3DBase)
DemIsolineGap public Isoline gap
(Inherited from ITGIS_Viewer3DBase)
DemWalls public DEM wall types
(Inherited from ITGIS_Viewer3DBase)
EdgesColor public Vector edges color
(Inherited from ITGIS_Viewer3DBase)
ErrorMessage public Get error message String.
(Inherited from ITGIS_Viewer3DBase)
FastMode public Block scene redrawing when set to True, immediately redraws scene when set to False
(Inherited from ITGIS_Viewer3DBase)
Flood public Flood parameters, active, level & color, transparency
(Inherited from ITGIS_Viewer3DBase)
HideLabelsUponNavigation public Labels not drawn during scene navigation etc.
(Inherited from ITGIS_Viewer3DBase)
IgnoreAbove public Set noDataValue for DEM cells with z > IgnoreAbove value
(Inherited from ITGIS_Viewer3DBase)
IgnoreBelow public Set noDataValue for DEM cells with z < IgnoreBelow value
(Inherited from ITGIS_Viewer3DBase)
IgnoreEllipsoidHeight public If set to True, differences in Z value caused by different ellipsoids will be ignored
(Inherited from ITGIS_Viewer3DBase)
IsBusy public Flag. If True, Viewer is busy in painting.
(Inherited from ITGIS_Viewer3DBase)
LightVector public Revers Light normal Vector
(Inherited from ITGIS_Viewer3DBase)
Mode public Viewer3D mode working mode (camera mode, sun, zoom, select ...).
(Inherited from ITGIS_Viewer3DBase)
OrthoView public Orthogonal View switch, if, True camera looks orthogonally, camera can be moved only in XY plane, zoom is allowed
(Inherited from ITGIS_Viewer3DBase)
PixelSize public Get the pixel size (xsize & ysize) at reference point in map units
(Inherited from ITGIS_Viewer3DBase)
ReferencePoint public ReferencePoint in map units, usually screen center.
(Inherited from ITGIS_Viewer3DBase)
ReferencePointMode public Set reference (rotation) point to one of GIS_3DReferencePoint type: Base, Zero, OnDem, Lowest, Highest, FlyOnDem
(Inherited from ITGIS_Viewer3DBase)
ReferencePointOffsetZ public Set reference (rotation) point Z value offset.
(Inherited from ITGIS_Viewer3DBase)
Scale public Setting up and reading the 3D scale factor.
(Inherited from ITGIS_Viewer3DBase)
ScaleAsText public Setting up and reading the 3D scale factor as text in format '1:10000'.
(Inherited from ITGIS_Viewer3DBase)
ScaleM public M scaling; default is 1.
(Inherited from ITGIS_Viewer3DBase)
ScaleZ public Z scaling; default is 1.
(Inherited from ITGIS_Viewer3DBase)
ShadowsLevel public Shadows level; 0..100; 0-deep shadows, 100-light shadows
(Inherited from ITGIS_Viewer3DBase)
ShowDemTexture public Turn Texture on/off.
(Inherited from ITGIS_Viewer3DBase)
ShowLabels public Labels mode on/off.
(Inherited from ITGIS_Viewer3DBase)
ShowLights public Turn Lights on/off.
(Inherited from ITGIS_Viewer3DBase)
ShowReferencePoint public Turn ReferencePoint drawing on/off.
(Inherited from ITGIS_Viewer3DBase)
ShowVectorEdges public Turn VectorEdges drawing on/off.
(Inherited from ITGIS_Viewer3DBase)
ShowWireframe public Wire frame mode on/off.
(Inherited from ITGIS_Viewer3DBase)
SunPosition public Sun position in radian; natural north * X height of the sun above horizon, range +- Pi/2 rad; initial Pi/4 (45 deg) * Y azimuth to the sun from natural north, range 0 - 2Pi rad; initial 3Pi/4 (225 deg)
(Inherited from ITGIS_Viewer3DBase)
TransparencyPriority public Transparency priority.
(Inherited from ITGIS_Viewer3DBase)
UniverseColor public 3D viewer color of area which exceeds map extent
(Inherited from ITGIS_Viewer3DBase)
VectorExtentFactor public Extent from which vector is displayed (must be >= 1.0, 2 means 2 times screen width).
(Inherited from ITGIS_Viewer3DBase)
VectorSimplification public Enable/disable vector simplification process.
(Inherited from ITGIS_Viewer3DBase)
VectorSmartSize public Shape size in pixels, less or equal will not be displayed ( must be >= 0 )
(Inherited from ITGIS_Viewer3DBase)
ViewRestriction public Current 3D view restrictions.
(Inherited from ITGIS_Viewer3DBase)
VisibleExtent public Get/set 2D extent visible in 3D window.
(Inherited from ITGIS_Viewer3DBase)
VisibleExtent3D public Get 3D extent visible in 3D window.
(Inherited from ITGIS_Viewer3DBase)
WallsColor public DEM wall color
(Inherited from ITGIS_Viewer3DBase)
Zoom public Get 3D zoom, same as TGIS_Viewer.Zoom
(Inherited from ITGIS_Viewer3DBase)

2020/11/27 01:03

Page Tools