Wraped class of the C++ standard vector of DMatch.
Наследование: 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();
         }
     }
 }
	   /// <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);
 }