/** * Creates ImageColorMap from a file * * @param imageSource source of the image. Can be url, BufferedImage or ImageWrapper * @param sizex - width of the image * @param sizey - height of the image * @param sizez - depth of the image */ public ImageColorMap(Object imageSource, double sizex, double sizey, double sizez) { super.addParams(m_aparams); mp_imageSource.setValue(imageSource); mp_size.setValue(new Vector3d(sizex, sizey, sizez)); }
/** * Set size of the image box * * @param val The size in meters */ public void setSize(Vector3d val) { mp_size.setValue(val); }
/** * Set center of the image box * * @param val The center in meters */ public void setCenter(Vector3d val) { mp_center.setValue(val); }