Implement three.js transform controller

same to the post below, a three.js transform style of controller is very much desired.

In reply it says “Building that is already possible using vtk.js widgets. However, building a UX similar to that is not on any roadmap I’m aware of.”
If no one did it I’ll have to try. any tip how to implement it in vtk.js?

That would be a great feature to add indeed.

My advice is to first read and understand the different widgets.
The easiest I can think of:

  • create a new widget with 3 handles in state and use vtkArrowHandleRepresentation for each.
  • handles will share the same “origin” mixin but will have a different “direction” mixin.

Hth,
Julien.