示例#1
0
        public static CustomStream GetEdgeViewInstance()
        {
            CustomStream instance = GetInstance(EDGEVIEWINSTANCE);

            instance.SetName("Edge View");
            return(instance);
        }
示例#2
0
        public static CustomStream GetHoughLineInstance()
        {
            CustomStream instance = GetInstance(HOUGHLINEINSTANCE);

            instance.SetName("Hough Line");
            return(instance);
        }
示例#3
0
 public static CustomStream GetInstance(int i)
 {
     if (i >= 0 && _instances.GetLength(0) > i)
     {
         if (_instances[i] == null)
         {
             _instances[i] = new CustomStream();
         }
         return(_instances[i]);
     }
     return(null);
 }