/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Image.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Image.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 72 by william, Thu Jul 15 14:22:00 2010 UTC revision 79 by william, Thu Jul 15 21:50:56 2010 UTC
# Line 2  Line 2 
2  using System.Collections.Generic;  using System.Collections.Generic;
3  using System.Text;  using System.Text;
4  using gr2lib.core.helpers;  using gr2lib.core.helpers;
5    using gr2lib.core.interfaces;
6  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
7  {  {
8      public class Image      public class Image : IImage
9      {      {
10          public List<MIPLevel> MIPLevels;          
11    
12    
13          public IntPtr NativePointer;          public Image()
14            {
15                this.MIPLevels = new List<MIPLevel>();
16                this.NativePointer = IntPtr.Zero;
17            }
18    
19          internal static Image ReadFromMemory(IntPtr pointer)          internal static Image ReadFromMemory(IntPtr pointer)
20          {          {
# Line 36  namespace gr2lib.core.coretypes.implemen Line 41  namespace gr2lib.core.coretypes.implemen
41              }              }
42              return managed;              return managed;
43          }          }
44    
45            #region INativePointer Members
46            private IntPtr _NativePointer;
47            public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }
48            #endregion
49    
50            #region IImage Members
51            private List<MIPLevel> _MIPLevels;
52            public List<MIPLevel> MIPLevels { get { return _MIPLevels; } set { _MIPLevels = value; } }
53            #endregion
54      }      }
55  }  }

Legend:
Removed from v.72  
changed lines
  Added in v.79

  ViewVC Help
Powered by ViewVC 1.1.22