<< Click to display table of contents >> TRVCamera.Move*** |
The methods for camera movement (rotation), if the camera supports movement.
Start movement:
function MoveLeft : Boolean;
function MoveRight : Boolean;
function MoveUp : Boolean;
function MoveDown : Boolean;
function MoveLeftUp : Boolean;
function MoveLeftDown : Boolean;
function MoveRightUp : Boolean;
function MoveRightDown : Boolean;
function MoveHPatrol : Boolean;
function MoveVPatrol : Boolean;
Stop movement:
function MoveLeftStop : Boolean;
function MoveRightStop : Boolean;
function MoveUpStop : Boolean;
function MoveDownStop : Boolean;
function MoveHPatrolStop : Boolean;
function MoveVPatrolStop : Boolean;
function MoveStop : Boolean; // stops all
Move to the home position:
function MoveCenter : Boolean;
The methods start or stop movement to the specified direction, vertical or horizontal patrolling.
Wait mode: the methods return only when the command is executed. Return value: the movement command was successfully sent to the camera.
No-wait mode: the method initializes a thread (for sending the command to the camera) and returns immediately. Return value: False. When the command is complete, OnMoved event occurs.
In the both cases, all Move*** methods only initiate movement; this movement continues until the corresponding Move***Stop method is called. The only exception is MoveCenter that moves the camera to the home position and does not need a stop method.
The methods take FlipHorizontally and FlipVertically into account.
In addition to calling these methods, you can:
•use TRVCamControl component
•use the mouse in TRVCamView component (see CamMoveMode)
•use the mouse in TRVCamMultiView component (see CamMoveMode)
•If DeviceType = rvdtIPCamera: movement is supported for some Foscam, Axis, Panasonic IP cameras. The camera model must be detected by calling SearchCamera.
•If DeviceType = rvdtWebCamera: movement is supported for some local cameras (Windows only)