Example #1
0
  /**
   * 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));
  }
Example #2
0
 /**
  * Set size of the image box
  *
  * @param val The size in meters
  */
 public void setSize(Vector3d val) {
   mp_size.setValue(val);
 }
Example #3
0
 /**
  * Set center of the image box
  *
  * @param val The center in meters
  */
 public void setCenter(Vector3d val) {
   mp_center.setValue(val);
 }