Adding slider widget to Segmentations module


Hi,

I am trying to add slider widget on the main window of segmentation module (see atteched image). I would want this slider to interact with my reconstruction method (i.e. allow me to change the tolerance value which control the quality of reconstruction) that i am going to add to the developped reconstruction module in order to reconstruct simple object from contours in slicerRt. Are there any steps that I can go about into implementing this?

Thank’s in advance

If you implement a new conversion rule then all you need is to register it in the vtkSegmentationConverterFactory and it will appear in the segmentations module GUI. You can define conversion parameters in the rule, which users can adjust by clicking on “Update” button in the appropriate line in “Representations” section. You can use converter rules in SlicerRT extension as example.