DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


View Point Sample

C# Implementation details

All view manipulations are performed with the help of IFrame interface. This interface is obtained in OnFormLoad() from IView and stored in _iViewFrame field.

OnApply() handler calls IFrame.Reset  method to align the view frame with the global frame and uses IFrame.RotateStd to rotate by Azimuth and Altitude.

QueryParams() methods obtains the current coordinates of the line of view using _iViewFrame.GetAxis(2,...) call and displays them on the form.

See also General description, Viewing InterfacesC# Samples,   All samples.