public static void ReadData(RawModel m, int res)
        {
            int highest = Math.Max(Math.Max(m.Width, m.Height), m.Length);

            highest = (int)Math.Pow(2, Math.Ceiling(Math.Log(highest, 2)));
            ReadData("C:\\" + m.Filename + (!m.Mrc ? ".raw" : ""), m.Width, m.Height, m.Length, m.IsoLevel, (float)highest / (float)res, m.Flip, m.Bytes);
        }
Пример #2
0
 public static void ReadData(RawModel m, int res)
 {
     int highest = Math.Max(Math.Max(m.Width, m.Height), m.Length);
     highest = (int)Math.Pow(2, Math.Ceiling(Math.Log(highest, 2)));
     ReadData("C:\\" + m.Filename + (!m.Mrc ? ".raw" : ""), m.Width, m.Height, m.Length, m.IsoLevel, (float)highest / (float)res, m.Flip, m.Bytes);
 }