![]() |
VideoXpert SDK
2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
|
Represents a controller for a device that has pan, tilt, and/or zoom functionality. More...
#include <IVxPtzController.h>
Public Member Functions | |
virtual VxResult::Value | AbsoluteMove (int positionX, int positionY) const =0 |
Moves to the absolute position of the given coordinates. More... | |
virtual VxResult::Value | AbsoluteMove (int positionX, int positionY, int positionZ) const =0 |
Moves to the absolute position of the given coordinates. More... | |
virtual VxResult::Value | AbsolutePan (int positionX) const =0 |
Pans to the absolute position of the given coordinate. More... | |
virtual VxResult::Value | AbsoluteTilt (int positionY) const =0 |
Tilts to the absolute position of the given coordinate. More... | |
virtual VxResult::Value | AbsoluteZoom (int positionZ) const =0 |
Zooms to the absolute position of the given coordinates. More... | |
virtual VxResult::Value | AddPreset (int index) const =0 |
Creates a new preset using the current PTZ spatial coordinates. More... | |
virtual VxResult::Value | ContinuousFocus (VxFocusDirection::Value nearFar) const =0 |
Continuously focuses near or far. More... | |
virtual VxResult::Value | ContinuousIris (VxIrisDirection::Value openClose) const =0 |
Continuously opens or closes the iris. More... | |
virtual VxResult::Value | ContinuousMove (int speedX, int speedY, VxZoomDirection::Value inOut) const =0 |
Continuously moves the field of view at the given speed until stopped. More... | |
virtual VxResult::Value | Delete () const =0 |
Deletes this instance. More... | |
virtual VxResult::Value | DeletePreset (IVxPreset &preset) const =0 |
Deletes a preset from the system. More... | |
virtual VxResult::Value | GetPatterns (VxCollection< IVxPattern ** > &patternCollection) const =0 |
Gets the available patterns. More... | |
virtual VxResult::Value | GetPosition (int &positionX, int &positionY, int &positionZ) const =0 |
Gets the current absolute position coordinates. More... | |
virtual VxResult::Value | GetPresets (VxCollection< IVxPreset ** > &presetCollection) const =0 |
Gets the available presets. More... | |
virtual VxResult::Value | GetPtzLimits (VxPtzLimits *&ptzLimits) const =0 |
Gets the value limits for this PTZ controller. More... | |
virtual VxResult::Value | GetPtzLock (IVxPtzLock *&ptzLock) const =0 |
Gets the IVxPtzLock for this IVxPtzController. More... | |
virtual VxResult::Value | PtzStop () const =0 |
Stops all PTZ actions. More... | |
virtual VxResult::Value | Refresh ()=0 |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system. More... | |
virtual VxResult::Value | RelativeMove (int deltaX, int deltaY, int deltaZ) const =0 |
Moves the camera position relative to the current position. More... | |
virtual VxResult::Value | RelativePercentageMove (int percentageX, int percentageY) const =0 |
Moves the camera position within a percentage relative to the device’s current field of view. More... | |
virtual VxResult::Value | RepositionPreset (IVxPreset &preset) const =0 |
Repositions a preset to the current PTZ spatial coordinates. More... | |
virtual VxResult::Value | TriggerPattern (IVxPattern &pattern) const =0 |
Triggers a pattern. More... | |
virtual VxResult::Value | TriggerPreset (int index) const =0 |
Triggers a preset by index. More... | |
virtual VxResult::Value | TriggerPreset (IVxPreset &preset) const =0 |
Triggers a preset. More... | |
virtual VxResult::Value | TriggerRefresh ()=0 |
Triggers a refresh of this IVxPtzController on the VideoXpert system; updating its patterns and presets based on the current camera configuration. More... | |
Public Attributes | |
bool | isLocked |
Indicates whether the PTZ control is locked. More... | |
int | lockExpireTime |
The time remaining (in seconds) until the PTZ lock expires. More... | |
Protected Member Functions | |
void | Clear () |
Clears this instance. More... | |
Represents a controller for a device that has pan, tilt, and/or zoom functionality.
Definition at line 17 of file IVxPtzController.h.
|
pure virtual |
Moves to the absolute position of the given coordinates.
positionX | The X coordinate absolute position (pan). |
positionY | The Y coordinate absolute position (tilt). |
|
pure virtual |
Moves to the absolute position of the given coordinates.
positionX | The X coordinate absolute position (pan). |
positionY | The Y coordinate absolute position (tilt). |
positionZ | The Z coordinate absolute position (zoom). |
|
pure virtual |
Pans to the absolute position of the given coordinate.
positionX | The X coordinate absolute position (pan). |
|
pure virtual |
Tilts to the absolute position of the given coordinate.
positionY | The Y coordinate absolute position (tilt). |
|
pure virtual |
Zooms to the absolute position of the given coordinates.
positionZ | The Z coordinate absolute position (zoom). |
|
pure virtual |
Creates a new preset using the current PTZ spatial coordinates.
index | The unique index value for the new preset. |
|
inlineprotected |
Clears this instance.
Definition at line 203 of file IVxPtzController.h.
|
pure virtual |
Continuously focuses near or far.
nearFar | The direction to focus. |
|
pure virtual |
Continuously opens or closes the iris.
openClose | The direction to change the iris. |
|
pure virtual |
Continuously moves the field of view at the given speed until stopped.
speedX | Pan speed. Negative values pan left, positive values pan right. |
speedY | Tilt speed. Negative values tilt downward, positive values tilt upward. |
inOut | The direction to zoom. |
|
pure virtual |
Deletes this instance.
|
pure virtual |
|
pure virtual |
Gets the available patterns.
Available filters: kModifiedSince.
patternCollection | A VxCollection of the associated patterns. |
|
pure virtual |
Gets the current absolute position coordinates.
positionX | The X coordinate absolute position (pan). |
positionY | The Y coordinate absolute position (tilt). |
positionZ | The Z coordinate absolute position (zoom). |
|
pure virtual |
Gets the available presets.
Available filters: kModifiedSince.
presetCollection | A VxCollection of the associated presets. |
|
pure virtual |
Gets the value limits for this PTZ controller.
ptzLimits | The PTZ limits. |
|
pure virtual |
Gets the IVxPtzLock for this IVxPtzController.
ptzLock | The IVxPtzLock. |
|
pure virtual |
Stops all PTZ actions.
|
pure virtual |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system.
|
pure virtual |
Moves the camera position relative to the current position.
deltaX | The degree to pan relative to the current X position. Negative values pan left, positive values pan right. |
deltaY | The degree to tilt relative to the current Y position. Negative values pan left, positive values pan right. |
deltaZ | The magnification level relative to the current Z position. Negative values pan left, positive values pan right. |
|
pure virtual |
Moves the camera position within a percentage relative to the device’s current field of view.
The rotational x and y parameters are used to move within a percentage of the current field of view of the camera. For instance, if the x parameter were 50 and the y parameter were -50, the pan/tilt would move halfway to the edge of the field of view along the x axis and halfway to the field of view along the negative y axis from its present position.
percentageX | Percentage of the current field of view of the camera (X axis). Positive values are to the right, negative values are to the left. Range: -100 to 100. |
percentageY | Percentage of the current field of view of the camera (Y axis). Positive values are up, negative values are down. Range: -100 to 100. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Triggers a preset by index.
index | The index of the preset to trigger. |
|
pure virtual |
|
pure virtual |
Triggers a refresh of this IVxPtzController on the VideoXpert system; updating its patterns and presets based on the current camera configuration.
bool VxSdk::IVxPtzController::isLocked |
Indicates whether the PTZ control is locked.
Definition at line 193 of file IVxPtzController.h.
int VxSdk::IVxPtzController::lockExpireTime |
The time remaining (in seconds) until the PTZ lock expires.
Definition at line 197 of file IVxPtzController.h.