Home > Working with SGWorld > Window (IWindow6)

Window (IWindow6)

The window property of the SGWorld interface is a wrapper for all the functionality that represents interaction with the 3D Window, such as snapshots, dimensions and query pixel information.

 

 

Properties

 

Rect

An IScreenRect6 representing the size and position of the SGWorld window.

 

Methods

 

CenterPixelToWorld

Returns the real world coordinates on the terrain, behind the center pixel on the window.

GetControls

Returns the currently shown navigation controls.

GetInputMode

Returns the current input mode of the mouse.

GetMouseInfo

Returns information about the pointer position.

GetPopupByCaption

Returns the properties of the popup specified by caption.

GetSnapShot

Returns a snapshot of the window

HideMessageBarText

Hides the text message in the Message Bar container.

PixelFromWorld

Returns an indication of whether a specified terrain coordinate falls in the 3D Window.

PixelToWorld

Returns the real world coordinates on the terrain, behind a specified pixel on the window.

RemovePopup

Removes the popup window

RemovePopupByCaption

Specifies a popup to be removed by its caption.

SetHUDLayer

Displays a complete Head Up Display in a graphic form. It

SetInputMode

Determines the input mode of the mouse.

ShowControls

Shows navigation controls and/or graphical and textual information in the 3D Window.

ShowMessageBarText

Displays the text message in the Message Bar container.

ShowPopup

Displays a popup window.