CSJ2K.j2k.image.forwcomptransf.ForwCompTransf.nextTile C# (CSharp) Метод

nextTile() публичный Метод

Goes to the next tile, in standard scan-line order (by rows then by columns). An NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile).

This default implementation just advances to the next tile in the source and re-initializes properly component transformation variables.

public nextTile ( ) : void
Результат void
        public override void nextTile()
        {
            src.nextTile();
            tIdx = TileIdx; // index of the current tile

            // initializations
            System.String str = (System.String) cts.getTileDef(tIdx);
            if (str.Equals("none"))
            {
                transfType = NONE;
            }
            else if (str.Equals("rct"))
            {
                transfType = FORW_RCT;
                initForwRCT();
            }
            else if (str.Equals("ict"))
            {
                transfType = FORW_ICT;
                initForwICT();
            }
            else
            {
                throw new System.ArgumentException("Component transformation" + " not recognized");
            }
        }