How to define my own interactorstyle of vtkplanewidget?

Since you don’t say anything else, this is how I did mine in JavaScript