/** @noRefGuide */ public int initialize() { super.initialize(); m_dataSource = (DataSource) mp_data.getValue(); if (m_dataSource instanceof Initializable) { ((Initializable) m_dataSource).initialize(); } m_threshold = mp_threshold.getValue(); m_thickness2 = (mp_thickness.getValue()) / 2; return ResultCodes.RESULT_OK; }
/** Get the threshold */ public double getThreshold() { return mp_threshold.getValue(); }
/** Get the thickness */ public double getThickness() { return mp_thickness.getValue(); }