CubeTwister 2.0alpha141 2011-10-13

idx3d
Class idx3d_Camera

java.lang.Object
  extended by idx3d.idx3d_Camera

public class idx3d_Camera
extends java.lang.Object


Field Summary
 idx3d_Vector lookat
           
 idx3d_Matrix matrix
           
 idx3d_Matrix normalmatrix
           
 idx3d_Vector pos
           
 float roll
           
 
Constructor Summary
idx3d_Camera()
           
idx3d_Camera(float fov)
           
 
Method Summary
static idx3d_Camera FRONT()
           
 float getFOVFact()
           
 int getScreenHeight()
           
 int getScreenScale()
           
 int getScreenWidth()
           
static idx3d_Camera LEFT()
           
 void lookAt(float px, float py, float pz)
           
 void lookAt(idx3d_Vector p)
           
static idx3d_Camera RIGHT()
           
 void roll(float angle)
           
 void rotate(float dx, float dy, float dz)
           
 void rotate(idx3d_Vector v)
           
 void setFov(float fov)
           
 void setPos(float px, float py, float pz)
           
 void setPos(idx3d_Vector p)
           
 void setScreensize(int w, int h)
           
 void shift(float dx, float dy, float dz)
           
 void shift(idx3d_Vector v)
           
static idx3d_Camera TOP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matrix

public idx3d_Matrix matrix

normalmatrix

public idx3d_Matrix normalmatrix

pos

public idx3d_Vector pos

lookat

public idx3d_Vector lookat

roll

public float roll
Constructor Detail

idx3d_Camera

public idx3d_Camera()

idx3d_Camera

public idx3d_Camera(float fov)
Method Detail

getScreenScale

public int getScreenScale()

getScreenWidth

public int getScreenWidth()

getScreenHeight

public int getScreenHeight()

getFOVFact

public float getFOVFact()

setFov

public void setFov(float fov)

roll

public void roll(float angle)

setPos

public void setPos(float px,
                   float py,
                   float pz)

setPos

public void setPos(idx3d_Vector p)

lookAt

public void lookAt(float px,
                   float py,
                   float pz)

lookAt

public void lookAt(idx3d_Vector p)

setScreensize

public void setScreensize(int w,
                          int h)

shift

public final void shift(float dx,
                        float dy,
                        float dz)

shift

public final void shift(idx3d_Vector v)

rotate

public final void rotate(float dx,
                         float dy,
                         float dz)

rotate

public final void rotate(idx3d_Vector v)

FRONT

public static idx3d_Camera FRONT()

LEFT

public static idx3d_Camera LEFT()

RIGHT

public static idx3d_Camera RIGHT()

TOP

public static idx3d_Camera TOP()

(c) Werner Randelshofer.
All rights reserved.