ist.palcom.services.axis
Class AxisController

java.lang.Object
  extended by ist.palcom.services.axis.AxisController

public class AxisController
extends java.lang.Object


Nested Class Summary
static class AxisController.Direction
           
 
Field Summary
static java.lang.String CAMERA_PASSWORD
           
static java.lang.String CAMERA_USER
           
 
Constructor Summary
AxisController(java.lang.String cameraIP)
           
 
Method Summary
 java.lang.String getCameraIP()
           
 boolean isCameraReachable()
           
 void moveStep(AxisController.Direction dir)
           
 void panAbsolute(int angle)
          Angle between -180 and 180 degrees
 void setAutoFocus(boolean setting)
           
 void setAutoIris(boolean setting)
           
 void setBacklightCompensation(boolean setting)
           
 void tiltAbsolute(int angle)
          Angle between 0 (level) and 90 (facing up)
 void zoomAbsolute(int zoomLevel)
          Zoom level is approx 0 (wide) through 16000 (tele)
 void zoomRelative(int zoomChange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAMERA_USER

public static final java.lang.String CAMERA_USER
See Also:
Constant Field Values

CAMERA_PASSWORD

public static final java.lang.String CAMERA_PASSWORD
See Also:
Constant Field Values
Constructor Detail

AxisController

public AxisController(java.lang.String cameraIP)
Method Detail

isCameraReachable

public boolean isCameraReachable()

getCameraIP

public java.lang.String getCameraIP()

panAbsolute

public void panAbsolute(int angle)
                 throws java.io.IOException
Angle between -180 and 180 degrees

Throws:
java.io.IOException

tiltAbsolute

public void tiltAbsolute(int angle)
                  throws java.io.IOException
Angle between 0 (level) and 90 (facing up)

Throws:
java.io.IOException

moveStep

public void moveStep(AxisController.Direction dir)
              throws java.io.IOException
Throws:
java.io.IOException

zoomRelative

public void zoomRelative(int zoomChange)
                  throws java.io.IOException
Throws:
java.io.IOException
See Also:
zoomAbsolute(int)

zoomAbsolute

public void zoomAbsolute(int zoomLevel)
                  throws java.io.IOException
Zoom level is approx 0 (wide) through 16000 (tele)

Throws:
java.io.IOException

setAutoFocus

public void setAutoFocus(boolean setting)
                  throws java.io.IOException
Throws:
java.io.IOException

setAutoIris

public void setAutoIris(boolean setting)
                 throws java.io.IOException
Throws:
java.io.IOException

setBacklightCompensation

public void setBacklightCompensation(boolean setting)
                              throws java.io.IOException
Throws:
java.io.IOException