It is currently possible to globally change the interaction mode (PersistentPlaceMode, SinglePlaceMode, ViewTransformMode) by updating the interaction node singleton. This is exposed to the user using the place mode toolbar:
In custom application, it is sometimes needed to disable placing of “annotations” only in specific view.
To support this, I proposed to:
- by default it would be initialized to 0 for all type of view.
- and initialized to
Place | ViewTransformonly for for
ViewTransformcorresponds to values of mouse mode enum in vtkMRMLInteractionNode
This would allow to easily disable support for
Place mode in specific view.