COpenGL::FitSelected

void FitSelected( void );

Remarks

The FitSelected method function sets the view projection to fit a selected graphic data range into the object window. The selected graphic data range information needs to be set by the SetFitSelectedInfo method function prior to using the FitSelected function. The IsFitSelectedInfo method function can be used to determine whether a selected graphic data range information is set. The FitSelected function moves the reference point to the center of the provided range and moves the eye point to fit selected graphic data into the object window. The current looking direction and up direction vectors will be kept.

See Also

FitAll, SetFitSelectedInfo, IsFitSelectedInfo