Hi,
I am trying to dig out Slicer code into my Application with free cut feature.
I am debugging Free cut feature in Scissor tool. When I run to function : bool qSlicerSegmentEditorScissorsEffectPrivate::updateBrushStencil(qMRMLWidget* viewWidget),
I do not know how the modifierLabelMap is initialized and when it’s being set . Could you please help to explain me logic as well as how can I get this value from python console ?
We provide Slicer source code for free, and allow anyone to use it for any purpose. However, it is unlikely that any Slicer user or developer would devote time to explain how you can move Slicer features to other applications.
If you are not sure how to do this then you might consider learning how to customize and extend the Slicer application framework to make it do exactly what you need, instead of developing your application from scratch. You can customize the user interface any way you need; you can have a very simple GUI that contains only those features that your users need right now, and you can expose more features later as needed.