Manipulation of point of view
Position and orientation of the current point of view is determined by Viewing Frame. Programmatically
the viewing frame can be accessed and manipulated with the help of IFrame_DG
interface obtained on path: DG Kernel > GetView()
> IView_DG
> IFrame_DG.
For example to display y, z projection to the viewer obtain IFrame_DG
as above and call IFrame_DG.Reset
(will set point of view at end of z axis) and IFrame_DG.Rotate(-0.5*pi,
1,0,0).
IView_DG has methods for simplified point of view and current zoom manipulation.
See also Concepts of 3D Graphics, Viewing Interfaces.
|