Main Page   Class Hierarchy   Compound List   Compound Members  

ArSonyPTZ Class Reference

A class to use the sony pan tilt zoom unit. More...

#include <ArSonyPTZ.h>

Inheritance diagram for ArSonyPTZ::

ArPTZ List of all members.

Public Types

enum  { MAX_PAN = 95, MAX_TILT = 25, MIN_ZOOM = 0, MAX_ZOOM = 1023 }

Public Methods

virtual bool init (void)
 Initializes the camera.

virtual bool pan (int degrees)
 Pans to the given degrees.

virtual bool panRel (int degrees)
 Pans relative to current position by given degrees.

virtual bool tilt (int degrees)
 Tilts to the given degrees.

virtual bool tiltRel (int degrees)
 Tilts relative to the current position by given degrees.

virtual bool panTilt (int degreesPan, int degreesTilt)
 Pans and tilts to the given degrees.

virtual bool panTiltRel (int degreesPan, int degreesTilt)
 Pans and tilts relatives to the current position by the given degrees.

virtual bool canZoom (void)
 Returns true if camera can zoom (or rather, if it is controlled by this).

virtual bool zoom (int zoomValue)
 Zooms to the given value.

virtual bool zoomRel (int zoomValue)
 Zooms relative to the current value, by the given value.

virtual int getPan (void)
 The angle the camera was last told to pan to.

virtual int getTilt (void)
 The angle the camera was last told to tilt to.

virtual int getZoom (void)
 The value the camera was last told to zoom to.

virtual int getMaxPosPan (void)
 Gets the highest positive degree the camera can pan to.

virtual int getMaxNegPan (void)
 Gets the lowest negative degree the camera can pan to.

virtual int getMaxPosTilt (void)
 Gets the highest positive degree the camera can tilt to.

virtual int getMaxNegTilt (void)
 Gets the lowest negative degree the camera can tilt to.

virtual int getMaxZoom (void)
 Gets the maximum value for the zoom on this camera.

virtual int getMinZoom (void)
 Gets the lowest value for the zoom on this camera.


Detailed Description

A class to use the sony pan tilt zoom unit.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
MAX_PAN  maximum degrees the unit can pan (either direction).
MAX_TILT  maximum degrees the unit can tilt (either direction).
MIN_ZOOM  minimum value for zoom.
MAX_ZOOM  maximum value for zoom.


The documentation for this class was generated from the following files:
Generated on Tue Nov 12 17:44:06 2002 for Aria by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001