de.beamertool.viewer.gui.opengl.gl
Class Camera

java.lang.Object
  extended by de.beamertool.viewer.gui.opengl.gl.Camera

public class Camera
extends Object

A simple representation of a camera, which allows the user to easily position the viewpoint in 3D space and to aim the viewpoint at a specific target.

Author:
Chris Campbell

Constructor Summary
Camera()
           
 
Method Summary
 Point3f getLocation()
           
 Point3f getTarget()
           
 void setLocation(Point3f location)
           
 void setTarget(Point3f target)
           
 void setup(GL gl, GLU glu)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Camera

public Camera()
Method Detail

getLocation

public Point3f getLocation()

getTarget

public Point3f getTarget()

setLocation

public void setLocation(Point3f location)

setTarget

public void setTarget(Point3f target)

setup

public void setup(GL gl,
                  GLU glu)