Axiom.Media.PixelBox.PixelBox C# (CSharp) Method

PixelBox() private method

Constructor providing extents in the form of a Box object. This constructor assumes the pixel data is laid out consecutively in memory. (this means row after row, slice after slice, with no space in between)
private PixelBox ( BasicBox extents, PixelFormat format, IntPtr data ) : System
extents BasicBox Extents of the region defined by data
format PixelFormat Format of this buffer
data System.IntPtr Pointer to the actual data
return System
		internal PixelBox( BasicBox extents, PixelFormat format, IntPtr data )
		{
			CopyFromBasicBox( extents );
			this.format = format;
			this.data = data;
			this.offset = 0;
			SetConsecutive();
		}

Same methods

PixelBox::PixelBox ( ) : System
PixelBox::PixelBox ( BasicBox extents, PixelFormat format ) : System
PixelBox::PixelBox ( int width, int height, int depth, PixelFormat format ) : System
PixelBox::PixelBox ( int width, int height, int depth, PixelFormat format, IntPtr data ) : System