public static CustomStream GetEdgeViewInstance() { CustomStream instance = GetInstance(EDGEVIEWINSTANCE); instance.SetName("Edge View"); return(instance); }
public static CustomStream GetHoughLineInstance() { CustomStream instance = GetInstance(HOUGHLINEINSTANCE); instance.SetName("Hough Line"); return(instance); }
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); }