com.anji.floatingeye
Class EyeMovementParms

java.lang.Object
  extended bycom.anji.floatingeye.EyeMovementParms

public class EyeMovementParms
extends java.lang.Object

Data holder for FloatingEye movement parameters.

Author:
Philip Tucker

Constructor Summary
EyeMovementParms(double aMinZoom)
          ctor
EyeMovementParms(double aMinZoom, double aStartZoom, boolean aFlipEnabled)
          ctor
EyeMovementParms(double aMinZoom, double aStartZoom, boolean aFlipEnabled, double aMaxXMovePerStep, double aMaxYMovePerStep, double aMaxZMovePerStep, double aMaxThetaMovePerStep)
          ctor
 
Method Summary
 double getMaxThetaMovePerStep()
           
 double getMaxXMovePerStep()
           
 double getMaxYMovePerStep()
           
 double getMaxZMovePerStep()
           
 double getMinZoom()
           
 double getStartZoom()
           
 boolean isFlipEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EyeMovementParms

public EyeMovementParms(double aMinZoom)
ctor

Parameters:
aMinZoom - min zoom ratio

EyeMovementParms

public EyeMovementParms(double aMinZoom,
                        double aStartZoom,
                        boolean aFlipEnabled)
ctor

Parameters:
aMinZoom - min zoom ratio
aStartZoom -
aFlipEnabled -

EyeMovementParms

public EyeMovementParms(double aMinZoom,
                        double aStartZoom,
                        boolean aFlipEnabled,
                        double aMaxXMovePerStep,
                        double aMaxYMovePerStep,
                        double aMaxZMovePerStep,
                        double aMaxThetaMovePerStep)
ctor

Parameters:
aMinZoom - min zoom ratio
aStartZoom -
aFlipEnabled -
aMaxXMovePerStep - b/w 0.0d and 1.0d, that is the max the eye can move in the x direction in one step (where -1.0 and 1.0 are the edges of the board)
aMaxYMovePerStep - b/w 0.0d and 1.0d, that is the max the eye can move in the y direction in one step (where -1.0 and 1.0 are the edges of the board)
aMaxZMovePerStep - b/w 0.0d and 1.0d, that is the max the eye can move in the z direction in one step (where -1.0 and 1.0 are the edges of the board)
aMaxThetaMovePerStep - b/w 0.0d and 1.0d, that is the max the eye can rotate in one step (where -1.0 and 1.0 are the rotation bounds)
Method Detail

isFlipEnabled

public boolean isFlipEnabled()
Returns:
gets flipEnabled.

getMaxThetaMovePerStep

public double getMaxThetaMovePerStep()
Returns:
gets maxThetaMovePerStep.

getMaxXMovePerStep

public double getMaxXMovePerStep()
Returns:
gets maxXMovePerStep.

getMaxYMovePerStep

public double getMaxYMovePerStep()
Returns:
gets maxYMovePerStep.

getMaxZMovePerStep

public double getMaxZMovePerStep()
Returns:
gets maxZMovePerStep.

getMinZoom

public double getMinZoom()
Returns:
gets minZoom.

getStartZoom

public double getStartZoom()
Returns:
gets startZoom.