/** * Set The texture in ND. iTexture is of size 1*cols. Not a hardcopy, but copy the header and data * position */ public void SetTheTexture(final float[] iTexture, int textureRep) { assert (iTexture.length % textureRep == 0); this.m_MatTexture = com.visionopen.jiapei.utils.Common.reshapeTo2D(iTexture, textureRep); }