Example #1
0
 public vector_distortion_metrics(vector_distortion_metrics other) : this(c_csharp_metricsPINVOKE.new_vector_distortion_metrics__SWIG_1(vector_distortion_metrics.getCPtr(other)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public vector_distortion_metricsEnumerator(vector_distortion_metrics collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public base_distortion_metrics(vector_distortion_metrics vec, short version, distortion_metric_header header) : this(c_csharp_metricsPINVOKE.new_base_distortion_metrics__SWIG_4(vector_distortion_metrics.getCPtr(vec), version, distortion_metric_header.getCPtr(header)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void SetRange(int index, vector_distortion_metrics values)
 {
     c_csharp_metricsPINVOKE.vector_distortion_metrics_SetRange(swigCPtr, index, vector_distortion_metrics.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void metrics_for_lane(vector_distortion_metrics lane_metrics, uint lane)
 {
     c_csharp_metricsPINVOKE.base_distortion_metrics_metrics_for_lane__SWIG_1(swigCPtr, vector_distortion_metrics.getCPtr(lane_metrics), lane);
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
        public static vector_distortion_metrics Repeat(distortion_metric value, int count)
        {
            global::System.IntPtr     cPtr = c_csharp_metricsPINVOKE.vector_distortion_metrics_Repeat(distortion_metric.getCPtr(value), count);
            vector_distortion_metrics ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_distortion_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public vector_distortion_metrics GetRange(int index, int count)
        {
            global::System.IntPtr     cPtr = c_csharp_metricsPINVOKE.vector_distortion_metrics_GetRange(swigCPtr, index, count);
            vector_distortion_metrics ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_distortion_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_distortion_metrics obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #9
0
        public vector_distortion_metrics metrics()
        {
            vector_distortion_metrics ret = new vector_distortion_metrics(c_csharp_metricsPINVOKE.base_distortion_metrics_metrics(swigCPtr), false);

            return(ret);
        }
Example #10
0
        public vector_distortion_metrics metrics_for_cycle(uint cycle)
        {
            vector_distortion_metrics ret = new vector_distortion_metrics(c_csharp_metricsPINVOKE.base_distortion_metrics_metrics_for_cycle(swigCPtr, cycle), true);

            return(ret);
        }
Example #11
0
        public vector_distortion_metrics metrics_for_lane(uint lane)
        {
            vector_distortion_metrics ret = new vector_distortion_metrics(c_csharp_metricsPINVOKE.base_distortion_metrics_metrics_for_lane__SWIG_0(swigCPtr, lane), true);

            return(ret);
        }