C++ View Point Sample
View Point Sample
C++ Implementation details
All view manipulations are performed with the help of IFrame
interface. This interface is obtained in CViewPointDlg::OnInitDialog()
from IView
and stored in _iViewFrame class member.
OnApply() handler calls
IFrame::Reset
method to align the view frame with the global frame and
uses
IFrame::RotateStd to rotate by Azimuth
and Altitude.
QueryParams() methods obtains the current coordinates
of the line of view using _iViewFrame->GetAxis(2,...) call and
displays them on the form.
See also General description, Viewing Interfaces,
Visual C++ Samples, All samples.
|