de.javagl.swogl.scene
Interface Camera

All Known Subinterfaces:
MutableCamera
All Known Implementing Classes:
DefaultCamera

public interface Camera

Interface describing a camera. All methods may be assumed to return a copy of the internal state.


Method Summary
 void addCameraListener(CameraListener cameraListener)
          Add the given listener which will be notified when a property of this camera changes
 javax.vecmath.Point3f getEyePoint()
          Return the eye point of the camera
 float getFovY()
          Return the angle of the field-of-view (FOV) of the camera (in y-direction), in degrees
 javax.vecmath.Vector3f getUpVector()
          Return the up vector of the camera
 javax.vecmath.Point3f getViewPoint()
          Return the view point of the camera
 void removeCameraListener(CameraListener cameraListener)
          Remove the given listener from this camera
 

Method Detail

getEyePoint

javax.vecmath.Point3f getEyePoint()
Return the eye point of the camera

Returns:
The eye point of the camera

getViewPoint

javax.vecmath.Point3f getViewPoint()
Return the view point of the camera

Returns:
The view point of the camera

getUpVector

javax.vecmath.Vector3f getUpVector()
Return the up vector of the camera

Returns:
The up vector of the camera

getFovY

float getFovY()
Return the angle of the field-of-view (FOV) of the camera (in y-direction), in degrees

Returns:
The FOV, in degrees

addCameraListener

void addCameraListener(CameraListener cameraListener)
Add the given listener which will be notified when a property of this camera changes

Parameters:
cameraListener - The listener to add

removeCameraListener

void removeCameraListener(CameraListener cameraListener)
Remove the given listener from this camera

Parameters:
cameraListener - The listener to remove