DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Expand API ReferenceAPI Reference
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > DG Kernel Controls > Interactive Functionality > Modes of DG Kernel Go to DGKC docs Search Documentation


Modes of DG Kernel controls

DG Kernel components support an additional "Modify" mode as opposed to "View" mode.

Modes are different with respect to how user input using the mouse or keys is processed. "View" is the default mode. In View mode mouse strokes allow changing point of view by Pan/Zoom/Rotate viewing transformations. In "Modify"  mode mouse moves change position and orientation of the selected objects relatively to other objects and the global axes.

In modify mode, similar to viewing transformations, mouse strokes with Shift key down will perform translations of the object. If Shift key is not down, rotations of the object will be performed. 

IView_DG.ViewMode property allows switching between two "View" and "Modify" modes.

Constraints, allow restriction of object movements in Modify mode in different ways. For example, rotational constrains can restrain rotations of the object, the user can perform, to rotations around a certain axis in 3D space.

See also Interface List