EZMap8::SetBufferPtr

Sets the pointer to an externally allocated image buffer.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void SetBufferPtr(
   int width,
   int height,
   void* imagePointer,
   int bitsPerRow
)

Parameters

width

The width of the supplied buffer, in pixels.

height

The height of the supplied buffer, in pixels.

imagePointer

The pointer (aligned on 4 bytes) to the buffer, which must be large enough to hold the data.

bitsPerRow

The total number of bits contained in a row, padding included.
Using the value 0 (default) means that this size is computed from the buffer width and the pixel size plus a padding with the smallest possible value that leads to a multiple of 4 bytes (32 bits), which is the minimum padding accepted by EZMap8::SetBufferPtr.

EZMap8.SetBufferPtr

Sets the pointer to an externally allocated image buffer.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void SetBufferPtr(
   int width,
   int height,
   IntPtr imagePointer,
   int bitsPerRow
)

Parameters

width

The width of the supplied buffer, in pixels.

height

The height of the supplied buffer, in pixels.

imagePointer

The pointer (aligned on 4 bytes) to the buffer, which must be large enough to hold the data.

bitsPerRow

The total number of bits contained in a row, padding included.
Using the value 0 (default) means that this size is computed from the buffer width and the pixel size plus a padding with the smallest possible value that leads to a multiple of 4 bytes (32 bits), which is the minimum padding accepted by EZMap8::SetBufferPtr.