/** Company: Eyematic Interfaces Project: Shout3D 2.0 Sample Code Class: Viewer Date: April 26, 1999 Description: Class for Viewer (C) Copyright Eyematic Interfaces, Inc. - 1997-2000 - All rights reserved */ package applets; import shout3d.*; /** * Shout3D viewer * * @author Jim Stewartson * @author Paul Isaacs * @author Dave Westwood */ public class ExamineApplet extends Shout3DApplet{ public void initShout3DPanel(){ panel = new ExaminePanel(this); } /** * call this whenever you want to go reset the camera. * Result is that camera goes back to its initial orientation, * * Position is chosen to look at the current center of rotation. In the * case where objects are moving, this may be different than it was * when the scene was first loaded. */ public void resetCamera(){ ((ExaminePanel)panel).resetCamera(); } }