Exemplo n.º 1
0
  public Mask(DataSource source, double threshold, double thickness) {

    super.addParams(m_aparam);
    mp_data.setValue(source);
    mp_threshold.setValue(threshold);
    mp_thickness.setValue(thickness);
  }
Exemplo n.º 2
0
 /**
  * Set the threshold
  *
  * @param val The threshold. Default is 0.
  */
 public void setThreshold(double val) {
   mp_threshold.setValue(new Double(val));
 }
Exemplo n.º 3
0
 /**
  * Set the thickness. Default is 0.1 mm.
  *
  * @param val The value in meters
  */
 public void setThickness(double val) {
   mp_thickness.setValue(new Double(val));
 }