Class VectorOfGMat
Wrapped class of the C++ standard vector of GMat.
public class VectorOfGMat : UnmanagedVector, IDisposable, IAsyncDisposable
- Inheritance
-
VectorOfGMat
- Implements
- Inherited Members
Constructors
VectorOfGMat()
Create an empty standard vector of GMat
public VectorOfGMat()
VectorOfGMat(params GMat[])
Create an standard vector of GMat with the initial values
public VectorOfGMat(params GMat[] values)
Parameters
values
GMat[]The initial values
VectorOfGMat(int)
Create an standard vector of GMat of the specific size
public VectorOfGMat(int size)
Parameters
size
intThe size of the vector
Properties
this[int]
Get the item in the specific index
public GMat this[int index] { get; }
Parameters
index
intThe index
Property Value
- GMat
The item in the specific index
Length
The size of memory in bytes, that is needed to hold all the items in this vector
public override long Length { get; }
Property Value
Size
Get the size of the vector
public override int Size { get; }
Property Value
SizeOfItemInBytes
The size of the item in this Vector, counted as size in bytes.
public static int SizeOfItemInBytes { get; }
Property Value
StartAddress
The pointer to the first element on the vector. In case of an empty vector, IntPtr.Zero will be returned.
public override nint StartAddress { get; }
Property Value
Methods
Clear()
Clear the vector
public void Clear()
DisposeObject()
Release the standard vector
protected override void DisposeObject()
Push(GMat)
Push a value into the standard vector
public void Push(GMat value)
Parameters
value
GMatThe value to be pushed to the vector
Push(GMat[])
Push multiple values into the standard vector
public void Push(GMat[] values)
Parameters
values
GMat[]The values to be pushed to the vector
Push(VectorOfGMat)
Push multiple values from the other vector into this vector
public void Push(VectorOfGMat other)
Parameters
other
VectorOfGMatThe other vector, from which the values will be pushed to the current vector