/** * Returns a new simple frame with an image panel group. * * @param ipg an image panel group. * @return the simple frame. */ public static RSFFrame asImagePanels(ImagePanelGroup ipg) { RSFFrame sf = new RSFFrame(); sf.addImagePanels(ipg); sf.getOrbitView().setWorldSphere(ipg.getBoundingSphere(true)); return sf; }