Wraped class of the C++ standard vector of DMatch.
Inheritance: Emgu.Util.UnmanagedObject
コード例 #1
0
 /// <summary>
 /// Create the standard vector of VectorOfDMatch
 /// </summary>
 public VectorOfVectorOfDMatch(MDMatch[][] values)
     : this()
 {
     using (VectorOfDMatch v = new VectorOfDMatch())
     {
         for (int i = 0; i < values.Length; i++)
         {
             v.Push(values[i]);
             Push(v);
             v.Clear();
         }
     }
 }
コード例 #2
0
	   /// <summary>
      /// Convert the standard vector to arrays of int
      /// </summary>
      /// <returns>Arrays of int</returns>
      public MDMatch[][] ToArrayOfArray()
      {
         int size = Size;
         MDMatch[][] res = new MDMatch[size][];
         for (int i = 0; i < size; i++)
         {
            using (VectorOfDMatch v = this[i])
            {
               res[i] = v.ToArray();
            }
         }
         return res;
      }
コード例 #3
0
 public DebuggerProxy(VectorOfDMatch v)
 {
     _v = v;
 }
コード例 #4
0
 /// <summary>
 /// Push multiple values from the other vector into this vector
 /// </summary>
 /// <param name="other">The other vector, from which the values will be pushed to the current vector</param>
 public void Push(VectorOfDMatch other)
 {
     VectorOfDMatchPushVector(_ptr, other);
 }
コード例 #5
0
 /// <summary>
 /// Push a value into the standard vector
 /// </summary>
 /// <param name="value">The value to be pushed to the vector</param>
 public void Push(VectorOfDMatch value)
 {
     VectorOfVectorOfDMatchPush(_ptr, value.Ptr);
 }