es.ucm.look.ar.ar3D.core.camera
Class Camera3D

java.lang.Object
  extended by es.ucm.look.ar.ar3D.core.camera.Camera3D
Direct Known Subclasses:
OrientedCamera

public class Camera3D
extends java.lang.Object


Field Summary
 Point3 eye
          Point pointed by the camera
 Vector3 look
           
static Vector3 NORTH
          Represents a vector pointing to the north in the scene.
static Vector3 UP
          Represents a vector pointing towards the sky, and perpendicular to it
 
Constructor Summary
Camera3D()
           
 
Method Summary
 void calcVectors()
           
 void pitch(float angle)
           
 void roll(float angle)
           
 void setCamera(GL10 gl)
           
 void setPosition(Point3 p)
           
 void yaw(float angle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eye

public Point3 eye
Point pointed by the camera


look

public Vector3 look

NORTH

public static final Vector3 NORTH
Represents a vector pointing to the north in the scene. This vector will be take as reference for some calculations


UP

public static final Vector3 UP
Represents a vector pointing towards the sky, and perpendicular to it

Constructor Detail

Camera3D

public Camera3D()
Method Detail

calcVectors

public void calcVectors()

pitch

public void pitch(float angle)

roll

public void roll(float angle)

setCamera

public void setCamera(GL10 gl)

setPosition

public void setPosition(Point3 p)

yaw

public void yaw(float angle)