CVB.Net 15.0
Loading...
Searching...
No Matches

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

Inherits Buffer, and IPfncBuffer.

Inherited by CompressedPfncBuffer.

Public Member Functions

IntPtr GetIncrement (int dimension)
 Gets the number of elements at the given dimension .
 
long GetLength (int dimension)
 Gets the number of elements at the given dimension .
 
- Public Member Functions inherited from Buffer
void Dispose ()
 IDisposable implementation.
 

Static Public Member Functions

static new PfncBuffer FromHandle (IntPtr handle, ShareObject doShare)
 Create a buffer object from a handle .
 
- Static Public Member Functions inherited from Buffer
static Buffer FromHandle (IntPtr handle, ShareObject doShare)
 Create a buffer object from a handle .
 

Protected Member Functions

 PfncBuffer (IntPtr handle)
 Create a buffer object from a handle .
 
- Protected Member Functions inherited from Buffer
 Buffer (IntPtr handle)
 Create a buffer object from a handle .
 
virtual void Dispose (bool disposing)
 IDispose helper function.
 

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.
 
- Properties inherited from Buffer
IntPtr Handle [get]
 Native CVB buffer handle.
 
bool IsDisposed [get]
 Tests if the native handle has already been disposed.
 
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.
 

Additional Inherited Members

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

Detailed Description

A Buffer that has GenICam layout information available.

Constructor & Destructor Documentation

◆ PfncBuffer()

PfncBuffer ( IntPtr handle)
protected

Create a buffer object from a handle .

Parameters
handleNative IPfncBuffer handle.

Member Function Documentation

◆ FromHandle()

static new PfncBuffer FromHandle ( IntPtr handle,
ShareObject doShare )
static

Create a buffer object from a handle .

Parameters
handleNative IPfncBuffer handle.
doShareShareObject.Yes if handle should be shared.
Returns
Newly created wrapper object.

◆ GetIncrement()

IntPtr GetIncrement ( 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 .

Implements IPfncBuffer.

◆ 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 .

Implements IPfncBuffer.

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.

Implements IPfncBuffer.