Class IPvGenDCImage
Generic image interface for GenDC parts.
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class IPvGenDCImage : IDisposable
Remarks
Retrieve this interface via GetGenDCImage()
when the part header type is a 2D image type (e.g. PvGenDCPart2D,
PvGenDCPart2DJpeg, PvGenDCPart2DH264).
The pointer is owned by the part and remains valid as long as the containing IPvGenericDataPart is alive.
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View SourceBitsPerPixel
BitsPerPixel property of IPvGenDCImage.
Declaration
public virtual uint BitsPerPixel { get; }
Property Value
| Type | Description |
|---|---|
| uint |
BlockID
BlockID property of IPvGenDCImage.
Declaration
public virtual ulong BlockID { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
Height
Height property of IPvGenDCImage.
Declaration
public virtual uint Height { get; }
Property Value
| Type | Description |
|---|---|
| uint |
ImageSize
ImageSize property of IPvGenDCImage.
Declaration
public virtual uint ImageSize { get; }
Property Value
| Type | Description |
|---|---|
| uint |
OffsetX
OffsetX property of IPvGenDCImage.
Declaration
public virtual uint OffsetX { get; }
Property Value
| Type | Description |
|---|---|
| uint |
OffsetY
OffsetY property of IPvGenDCImage.
Declaration
public virtual uint OffsetY { get; }
Property Value
| Type | Description |
|---|---|
| uint |
PaddingX
PaddingX property of IPvGenDCImage.
Declaration
public virtual ushort PaddingX { get; }
Property Value
| Type | Description |
|---|---|
| ushort |
PaddingY
PaddingY property of IPvGenDCImage.
Declaration
public virtual ushort PaddingY { get; }
Property Value
| Type | Description |
|---|---|
| ushort |
PixelType
PixelType property of IPvGenDCImage.
Declaration
public virtual PvPixelType PixelType { get; }
Property Value
| Type | Description |
|---|---|
| PvPixelType |
Width
Width property of IPvGenDCImage.
Declaration
public virtual uint Width { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~IPvGenDCImage()
Destructor.
Declaration
protected ~IPvGenDCImage()
GetDataPointer()
Get the image's data pointer.
Declaration
public virtual byte* GetDataPointer()
Returns
| Type | Description |
|---|---|
| byte* | A pointer to the memory pointer. |