jarp
Class CameraController

java.lang.Object
  extended by jarp.CameraController

public class CameraController
extends java.lang.Object

The standard external mouse-driven camera-controller for a JA avatar view.


Constructor Summary
CameraController(View view)
          Constructs a new external mouse-driven camera controller, and attaches it to the given view.
 
Method Summary
 void getCameraSettings(float[] cam)
          Delivers the current camera settings data in the given array, whose length should be CameraDataManager.SZ_CAM_DATA.
 void reinitialiseCameraControl(View view)
          Reinitialises the camera controller, and attaches it to a new View if necessary.
 void resetCamera()
          Resets this controller's settings to their standard values and propagates these settings to the controlled JA View.
 void setCamera(float[] cam)
          Updates this controller's settings from the given array of settings values, and propagates these settings to the controlled JA View.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CameraController

public CameraController(View view)
Constructs a new external mouse-driven camera controller, and attaches it to the given view.

Method Detail

reinitialiseCameraControl

public void reinitialiseCameraControl(View view)
Reinitialises the camera controller, and attaches it to a new View if necessary.


setCamera

public void setCamera(float[] cam)
Updates this controller's settings from the given array of settings values, and propagates these settings to the controlled JA View.


resetCamera

public void resetCamera()
Resets this controller's settings to their standard values and propagates these settings to the controlled JA View.


getCameraSettings

public void getCameraSettings(float[] cam)
Delivers the current camera settings data in the given array, whose length should be CameraDataManager.SZ_CAM_DATA.