Lock the view to one or a set of selected objects.
If selected when a view orientation change occurs, the ViewCube uses the selected objects to calculate the center of the view. Then it zooms to the extents of the selected objects. When cleared, the ViewCube uses the selected objects to calculate the center of the view, and zooms to the extents of the model.
Clear the lock on a view
or