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


Capture Sample

Capture sample demonstrates usage of IVirtualView for off-screen rendering DG Kernel models.

The application

Apply some viewing manipulations zoom in, pan etc to modify the initial point of view. Press Capture button. Snapshot of the 3D view will appear on the left as a bitmap picture. The operation can be repeated.

Save button test and demonstrates saving the captured image as a .bmp file. Make sure that C:/Temp folder exists on your computer.

Copy to demonstrates memory access to data of the captured 2D image.

Implementation

Please select your programming language:

C#

Visual Basic 6

C++