setHole in vtkResliceCursorWidget


Is there a solution to use setHole() like in the vtk cpp Version?

VTK: vtkResliceCursorWidget Class Reference
…The hairs may have a hole in the center…

Or is it possible to write my own ResliceCursorWidget with that change?
I like to change the center handle to a simple hole, so that my image data is not covered while moving the axes.

Anyway ResliceCursorWidget works well for my use case. Thank you for that widget! :slight_smile:.

This is not implemented. You would need to play with / change the widget representations (i.e. LineRepresentation).

I will check out the usage of LineRepresentation. Thank you for that hint :slight_smile: