Exemple #1
0
 /// <summary>
 /// Create the standard vector of VectorOfPoint3D32F
 /// </summary>
 public VectorOfVectorOfPoint3D32F(MCvPoint3D32f[][] values)
     : this()
 {
     using (VectorOfPoint3D32F v = new VectorOfPoint3D32F())
     {
         for (int i = 0; i < values.Length; i++)
         {
             v.Push(values[i]);
             Push(v);
             v.Clear();
         }
     }
 }
Exemple #2
0
        /// <summary>
        /// Convert the standard vector to arrays of int
        /// </summary>
        /// <returns>Arrays of int</returns>
        public MCvPoint3D32f[][] ToArrayOfArray()
        {
            int size = Size;

            MCvPoint3D32f[][] res = new MCvPoint3D32f[size][];
            for (int i = 0; i < size; i++)
            {
                using (VectorOfPoint3D32F v = this[i])
                {
                    res[i] = v.ToArray();
                }
            }
            return(res);
        }
 public DebuggerProxy(VectorOfPoint3D32F v)
 {
     _v = v;
 }
 /// <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(VectorOfPoint3D32F other)
 {
     VectorOfPoint3D32FPushVector(_ptr, other);
 }
Exemple #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(VectorOfPoint3D32F value)
 {
     VectorOfVectorOfPoint3D32FPush(_ptr, value.Ptr);
 }