#include <ArCameraCommands.h>
ArCameraCommands defines the commands that are commonly supported by the Aria camera and video classes. The commands that are actually supported for a particular camera are specified in the ArCameraCollection.
There are basically two classes of commands:
Static Public Attributes | |
static const char * | CAMERA_MODE_UPDATED |
A packet that gets sent out when the mode is changed. | |
static const char * | GET_CAMERA_DATA |
Returns the current pan/tilt/zoom of the camera (in double format). | |
static const char * | GET_CAMERA_DATA_INT |
Returns the current pan/tilt/zoom of the camera (as byte2 integers). | |
static const char * | GET_CAMERA_INFO |
Returns general information about the camera (in double format). | |
static const char * | GET_CAMERA_INFO_INT |
Returns general information about the camera (as byte2 integers). | |
static const char * | GET_CAMERA_MODE_LIST |
Sends a packet back with the list of modes. | |
static const char * | GET_DISPLAY |
Returns whether the camera/image should be displayed by the client. | |
static const char * | GET_PICTURE |
Returns the last image obtained from the camera. | |
static const char * | GET_PICTURE_OPTIM |
Returns the last image obtained from the camera. | |
static const char * | GET_SNAPSHOT |
Returns a high resolution image from the camera, suitable for saving. | |
static const char * | GET_SNAPSHOT_PLAIN |
static const char * | GET_VIDEO |
static const char * | RESET_CAMERA |
A command that resets the camera. | |
static const char * | SET_CAMERA_ABS |
Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (in double format). | |
static const char * | SET_CAMERA_ABS_INT |
Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (as byte integers). | |
static const char * | SET_CAMERA_MODE |
A command that sets the mode of the camera. | |
static const char * | SET_CAMERA_PCT |
Sends a command to the camera to set its pan/tilt, as specified by a percent offset of its current frame. | |
static const char * | SET_CAMERA_PCT_INT |
Sends a command to the camera to set its pan/tilt, as specified by a percent offset (as byte integers). | |
static const char * | SET_CAMERA_REL |
Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (in double format). | |
static const char * | SET_CAMERA_REL_INT |
Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (as byte integers). |
const char* ArCameraCommands::CAMERA_MODE_UPDATED [static] |
A packet that gets sent out when the mode is changed.
Note that each mode might have arguments after it for just that mode, so only the mode name at the start is generic.
const char* ArCameraCommands::GET_CAMERA_DATA_INT [static] |
Returns the current pan/tilt/zoom of the camera (as byte2 integers).
const char* ArCameraCommands::GET_CAMERA_INFO [static] |
Returns general information about the camera (in double format).
General information about the camera includes the pan/tilt/zoom ranges and whether zooming is available. In general, clients need only to request this data once at startup.
const char* ArCameraCommands::GET_CAMERA_INFO_INT [static] |
Returns general information about the camera (as byte2 integers).
const char* ArCameraCommands::GET_DISPLAY [static] |
Returns whether the camera/image should be displayed by the client.
This command is not yet fully supported.
const char* ArCameraCommands::GET_SNAPSHOT [static] |
Returns a high resolution image from the camera, suitable for saving.
This command is not yet fully supported.
const char* ArCameraCommands::GET_SNAPSHOT_PLAIN [static] |
const char* ArCameraCommands::GET_VIDEO [static] |
const char* ArCameraCommands::SET_CAMERA_ABS_INT [static] |
Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (as byte integers).
const char* ArCameraCommands::SET_CAMERA_MODE [static] |
A command that sets the mode of the camera.
Note that each mode can have its own arguments so only the mode name at the start is generic.
const char* ArCameraCommands::SET_CAMERA_PCT_INT [static] |
Sends a command to the camera to set its pan/tilt, as specified by a percent offset (as byte integers).
const char* ArCameraCommands::SET_CAMERA_REL_INT [static] |
Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (as byte integers).