Represents a wrapper on a buffer comtaining a camera image. More...
Public Member Functions | |
| T5_CamImage (UInt16 bufferWidth, UInt16 bufferHeight, UInt16 bufferStride, UInt32 bufferSize) | |
Public Attributes | |
| UInt16 | ImageBufferWidth_PIX |
| UInt16 | ImageBufferHeight_PIX |
| UInt16 | ImageBufferStride_PIX |
| UInt32 | ImageBufferSize_PIX |
| IntPtr | ImageBuffer |
Properties | |
| Vector3 | PosOfCAM_GBD [get, set] |
| Quaternion | RotToCAM_GBD [get, set] |
Private Attributes | |
| T5_Position | posOfCAM_GBD |
| T5_Rotation | rotToCAM_GBD |
Represents a wrapper on a buffer comtaining a camera image.
This struct exists primarily to guarantee a common memory layout when marshaling an image buffer to/from the native plugin. Note that it implements IDisposable, and that it should be wrapped in a "using" statement/block to avoid leaking memory.
Definition at line 240 of file NativePlugin.cs.
| TiltFive.T5_CamImage.T5_CamImage | ( | UInt16 | bufferWidth, |
| UInt16 | bufferHeight, | ||
| UInt16 | bufferStride, | ||
| UInt32 | bufferSize | ||
| ) |
Definition at line 252 of file NativePlugin.cs.
References TiltFive.T5_CamImage.ImageBuffer, TiltFive.T5_CamImage.ImageBufferHeight_PIX, TiltFive.T5_CamImage.ImageBufferSize_PIX, TiltFive.T5_CamImage.ImageBufferStride_PIX, TiltFive.T5_CamImage.ImageBufferWidth_PIX, TiltFive.T5_CamImage.posOfCAM_GBD, and TiltFive.T5_CamImage.rotToCAM_GBD.
| IntPtr TiltFive.T5_CamImage.ImageBuffer |
Definition at line 246 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
| UInt16 TiltFive.T5_CamImage.ImageBufferHeight_PIX |
Definition at line 243 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
| UInt32 TiltFive.T5_CamImage.ImageBufferSize_PIX |
Definition at line 245 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
| UInt16 TiltFive.T5_CamImage.ImageBufferStride_PIX |
Definition at line 244 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
| UInt16 TiltFive.T5_CamImage.ImageBufferWidth_PIX |
Definition at line 242 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
|
private |
Definition at line 247 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
|
private |
Definition at line 248 of file NativePlugin.cs.
Referenced by TiltFive.T5_CamImage.T5_CamImage().
|
getset |
Definition at line 249 of file NativePlugin.cs.
|
getset |
Definition at line 250 of file NativePlugin.cs.