com.croftsoft.core.media.jogl.camera
Class JoglCameraImp

java.lang.Object
  extended by com.croftsoft.core.media.jogl.camera.JoglCameraImp
All Implemented Interfaces:
JoglCamera, JoglCameraMut

public final class JoglCameraImp
extends Object
implements JoglCameraMut

Implementation.

Since:
2008-05-09
Version:
$Id: JoglCameraImp.java,v 1.5 2008/05/16 20:25:34 croft Exp $
Author:
David Wallace Croft

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.croftsoft.core.media.jogl.camera.JoglCamera
JoglCamera.Axis, JoglCamera.Rotation, JoglCamera.Translation
 
Constructor Summary
JoglCameraImp()
           
JoglCameraImp(AxisAngle axisAngle, double x, double y, double z)
           
 
Method Summary
 AxisAngle getAxisAngle()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 void rotate(AxisAngle axisAngle)
           
 void rotate(JoglCamera.Axis axis, double degrees)
           
 void rotate(JoglCamera.Rotation rotation, double degrees)
           
 void setAxisAngle(AxisAngle axisAngle)
           
 void setX(double x)
           
 void setY(double y)
           
 void setZ(double z)
           
 void translate(JoglCamera.Axis axis, double distance)
           
 void translate(JoglCamera.Translation translation, double distance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglCameraImp

public JoglCameraImp(AxisAngle axisAngle,
                     double x,
                     double y,
                     double z)

JoglCameraImp

public JoglCameraImp()
Method Detail

getAxisAngle

public AxisAngle getAxisAngle()
Specified by:
getAxisAngle in interface JoglCamera

getX

public double getX()
Specified by:
getX in interface JoglCamera

getY

public double getY()
Specified by:
getY in interface JoglCamera

getZ

public double getZ()
Specified by:
getZ in interface JoglCamera

setAxisAngle

public void setAxisAngle(AxisAngle axisAngle)
Specified by:
setAxisAngle in interface JoglCameraMut

setX

public void setX(double x)
Specified by:
setX in interface JoglCameraMut

setY

public void setY(double y)
Specified by:
setY in interface JoglCameraMut

setZ

public void setZ(double z)
Specified by:
setZ in interface JoglCameraMut

rotate

public void rotate(AxisAngle axisAngle)
Specified by:
rotate in interface JoglCameraMut

rotate

public void rotate(JoglCamera.Axis axis,
                   double degrees)
Specified by:
rotate in interface JoglCameraMut

rotate

public void rotate(JoglCamera.Rotation rotation,
                   double degrees)
Specified by:
rotate in interface JoglCameraMut

translate

public void translate(JoglCamera.Axis axis,
                      double distance)
Specified by:
translate in interface JoglCameraMut

translate

public void translate(JoglCamera.Translation translation,
                      double distance)
Specified by:
translate in interface JoglCameraMut

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)