Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Allow selection of seed points using vtkSeedWidget
In several use cases in 3D Slicer we need to be able to select a seed point, without allowing it to be moved. Added EnableTranslation (true by default) member to vtkHandleWidget to allow locking a handle but still process events (to be able to detect when the user clicks on the handle). Added seed index to StartInteractionEvent invoked in vtkSeedWidget.
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters