FlexReport for WPF
DataBlk クラス
メンバ 


C1.WPF.Document.4.6.2 アセンブリ > GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image 名前空間 : DataBlk クラス
This is a generic abstract class to store data from a block of an image. This class does not have the notion of components. Therefore, it should be used for data from a single component. Subclasses should implement the different types of storage (System.Int32, System.Single, etc.).

The data is always stored in one array, of the type matching the data type (i.e. for 'int' it's an 'int[]'). The data should be stored in the array in standard scan-line order. That is the samples go from the top-left corner of the code-block to the lower-right corner by line and then column.

The member variable 'offset' gives the index in the array of the first data element (i.e. the top-left coefficient (ulx,uly)). The member variable 'scanw' gives the width of the scan that is used to store the data, that can be different from the width of the block. Element '(x,y)' of the code-block (i.e. '(ulx,uly)' is the top-left coefficient), will appear at position 'offset+(y-uly)*scanw+(x-ulx)' in the array of data.

A block of data can have the progressive attribute set. Data is progressive when it is obtained by successive refinement and the values in this block are approximations of the "final" values. When the final values are returned the progressive attribute must be turned off.

The classes GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkInt and DataBlkFloat provide implementations for System.Int32 and System.Single types respectively.

オブジェクト モデル
DataBlk クラス
シンタックス
'宣言
 
Public MustInherit Class DataBlk 
'使用法
 
Dim instance As DataBlk
public abstract class DataBlk 
継承階層

System.Object
   GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlk
      #xNv.#4Lh
      GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkFloat

参照

DataBlk メンバ
GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image 名前空間
GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkInt