extensions/xnat/src/components/XNATContourPanel.js
/**
   * onRoiChange - Callback that changes the active ROI Contour being drawn.
   *
   * @param  {Number} roiContourIndex The index of the ROI Contour.
   * @returns {null}
   */
Callback that changes the active ROI Contour being drawn.
@param  {Number} roiContourIndex The index of the ROI Contour.
@returns {null}
Callback that changes the active ROI Contour being drawn . @param { Number } roiContourIndex The index of the ROI Contour . @returns { null }
onRoiChange(roiContourIndex) {
    const SeriesInstanceUID = this.state.SeriesInstanceUID;
    modules.freehand3D.setters.activeROIContourIndex(
      roiContourIndex,
      SeriesInstanceUID
    );
    this.setState({ activeROIContourIndex: roiContourIndex });
  }
onRoiChange ( roiContourIndex ) { const SeriesInstanceUID = this . state . SeriesInstanceUID ; modules . freehand3D . setters . activeROIContourIndex ( roiContourIndex , SeriesInstanceUID ) ; this . setState ( { activeROIContourIndex : roiContourIndex } ) ; }
onRoiChange - Callback that changes the active ROI Contour being drawn.
onRoiChange - Callback that changes the active ROI Contour being drawn .