kaos.robots.capabilities
Interface Zoomable

All Known Implementing Classes:
CannonCamera, Ivan

public interface Zoomable


Method Summary
 java.lang.Double GetMaxZoom()
          GetMaxZoom
 java.lang.Double GetZoom()
          GetZoom
 void SetZoom(java.util.HashMap properties)
          SetZoom
 void Zoom(java.util.HashMap properties)
          Zoom
 

Method Detail

Zoom

void Zoom(java.util.HashMap properties)
          throws java.lang.Exception
Zoom

Parameters:
HashMap - of properties optional key hasDirection values in | out | [default in ] optional key hasValue values amount to zoom relative to current setting | [default 10%]
Throws:
java.lang.Exception

SetZoom

void SetZoom(java.util.HashMap properties)
             throws java.lang.Exception
SetZoom

Parameters:
HashMap - of properties required key hasPercent values double [0-1] indicating percentage
Throws:
java.lang.Exception

GetZoom

java.lang.Double GetZoom()
                         throws java.lang.Exception
GetZoom

Parameters:
None -
Returns:
Double [0-1] indicating current zoom percentage
Throws:
java.lang.Exception

GetMaxZoom

java.lang.Double GetMaxZoom()
                            throws java.lang.Exception
GetMaxZoom

Parameters:
None -
Returns:
Double indicating the maximum zoom
Throws:
java.lang.Exception