CVB.Net 14.0
IPfncBuffer Interface Reference

A Buffer that has GenICam layout information available. More...

Inherits IBuffer.

Inherited by PfncBuffer.

Public Member Functions

long GetLength (int dimension)
 Gets the number of elements at the given dimension . More...
 
IntPtr GetIncrement (int dimension)
 Get the offset to the next element in this buffer in bytes. More...
 

Properties

PfncFormat PfncFormat [get]
 Get the PFNC format of the pixel data stored in this buffer.
 
int Rank [get]
 Get the rank of the plane. More...
 
- Properties inherited from IBuffer
IntPtr BasePtr [get]
 Get the base address of the buffer's memory.
 
long Size [get]
 Get the valid size in bytes of the buffer's memory.
 
long Capacity [get]
 Get the allocated size in bytes of the buffer's memory.
 
- Properties inherited from INativeHandle
IntPtr Handle [get]
 The native handle of the object.
 
bool IsDisposed [get]
 Possibility to check whether the object has already been disposed of.
 

Additional Inherited Members

- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
 

Detailed Description

A Buffer that has GenICam layout information available.

Member Function Documentation

◆ GetIncrement()

IntPtr GetIncrement ( int  dimension)

Get the offset to the next element in this buffer in bytes.

Parameters
dimensionDimension to get length for; e.g. 0 for x-values.
Returns
The offset to the next element in bytes.

Implemented in PfncBuffer.

◆ GetLength()

long GetLength ( int  dimension)

Gets the number of elements at the given dimension .

Parameters
dimensionDimension to get length for; e.g. 0 for x-values.
Returns
The number of elements in the given dimension .

Implemented in PfncBuffer.

Property Documentation

◆ Rank

int Rank
get

Get the rank of the plane.

The rank is the number of dimensions in the plane. E.g. 2 for an image.

Implemented in PfncBuffer.