DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
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 Go to DGKC docs Search Documentation


DIView Sample

DIView is a simple application, which displays a DInsight model in a resizable view. It demonstrates how DG Kernel control can be integrated into a resizable window. It also demonstrates implementation of Save and Open model file functionality, changing between surface and wireframe rendering and programming various styles of gradient background.

Running the application

Observe behaviour of the component on resizing and maximizing the window.

The File menu offers Save As and Open commands.

Tools > Options menu command opens dialogue, which allows changing between surface and wireframe rendering. The background group of controls offers options of flat or gradient background. In gradient mode colors can be modified with the provided edit boxes. Style radio buttons offer selection between horizontal, vertical, corner and curtain layouts. These layouts can be customized in implementation to an unlimited set styles.

Tools > Grid dialogue allows enabling and modify in properties of the Mesurement Grid. This dialogue is identical to one displayed form the View submenu of the context menu

See also: All samples