DGKC Control Documentation


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


Modes of DGKC 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