예제 #1
0
파일: ROI.cs 프로젝트: lanl/Omniscient
 public ROI()
 {
     roiStart = 0;
     roiEnd   = 0;
     bg1Start = 0;
     bg1End   = 0;
     bg2Start = 0;
     bg2End   = 0;
     bgType   = BG_Type.NONE;
 }
예제 #2
0
파일: ROI.cs 프로젝트: lanl/Omniscient
        public static string BGTypeToString(BG_Type type)
        {
            switch (type)
            {
            case BG_Type.NONE:
                return("None");

            case BG_Type.FLAT:
                return("Flat");

            case BG_Type.LINEAR:
                return("Linear");
            }
            return("Weird things are happening...");
        }
예제 #3
0
파일: ROI.cs 프로젝트: lanl/Omniscient
 public void SetBGType(BG_Type newType)
 {
     bgType = newType;
 }