CSJ2K.j2k.wavelet.analysis.ForwWTFull.setTile C# (CSharp) 메소드

setTile() 공개 메소드

Changes the current tile, given the new coordinates.

This method resets the 'subbTrees' array, and recalculates the values of the 'reversible' array. It also resets the decomposed component buffers.

public setTile ( int x, int y ) : void
x int The horizontal coordinate of the tile. /// ///
y int The vertical coordinate of the new tile. /// ///
리턴 void
        public override void setTile(int x, int y)
        {
            int i;

            // Change tile
            base.setTile(x, y);

            // Reset the decomposed component buffers.
            if (decomposedComps != null)
            {
                for (i = decomposedComps.Length - 1; i >= 0; i--)
                {
                    decomposedComps[i] = null;
                    currentSubband[i] = null;
                }
            }
        }