Convert label map volume into a scalarvolumenode

Probably you don’t see the widget because the widget gets deleted automatically when the variable gets out of scope. You can address this by storing editorWidget variable in a class member variable or adding the widget to a layout. A good example is the Segment Editor module itself: copy-paste, rename, and modify Segment Editor module to fit your needs.

1 Like