跳转至

PTZ_3D_POINT_INFO,LPPTZ_3D_POINT_INFO

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
typedef struct
{
    int selBeginX;     
    int selBeginY;     
    int selEndX;       
    int selEndY;       
    int displayWidth;  
    int displayHeight; 
    int reserve[2];    
} PTZ_3D_POINT_INFO, * LPPTZ_3D_POINT_INFO;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct PTZ_3D_POINT_INFO
{
    public Int32 selBeginX;
    public Int32 selBeginY;
    public Int32 selEndX;
    public Int32 selEndY;
    public Int32 displayWidth;
    public Int32 displayHeight;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I4, SizeConst = 2)]
    public Int32[] reserve;
}

功能描述

3D云台控制参数

成员说明

成员 类型 备注
selBeginX int 鼠标拖选方框起始点的x坐标(相对于当前窗口左上角)。
selBeginY int 鼠标拖选方框结束点的y坐标(相对于当前窗口左上角)。
selEndX int 鼠标拖选方框结束点的x坐标(相对于当前窗口左上角)。
selEndY int 鼠标拖选方框结束点的y坐标(相对于当前窗口左上角)。
displayWidth int 图像显示区域宽度。
displayHeight int 图像显示区域高度。
reserve int[2] 保留字段。
错误码