fr.inria.zvtm.event
Interface CameraListener

All Known Implementing Classes:
SceneManager

public interface CameraListener

Listen to camera events.


Method Summary
 void cameraMoved(Camera cam, Point2D.Double coord, double alt)
          Called back when a Camera is moved.
 

Method Detail

cameraMoved

void cameraMoved(Camera cam,
                 Point2D.Double coord,
                 double alt)
Called back when a Camera is moved. Callback handlers are expected to be thread-safe. Do not perform blocking or time consuming tasks within the handler. It is a bad idea to move the target Camera in a handler (infinite loop). Moving other Cameras is also probably a bad idea. To receive notifications, clients should register themselves using Camera.addListener

Parameters:
cam - camera which was moved
coord - camera xy coordinates after the move
alt - camera altitude after the move
See Also:
Camera.addListener(fr.inria.zvtm.event.CameraListener), Camera.removeListener(fr.inria.zvtm.event.CameraListener)


Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2011 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.