New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selection tool feature #46
Conversation
ENH: add fiducial has points check to SelectionTool
…x wrong selected points; fix nearest point was not selected; ENH: make the output have different color to the input or turn on scalars
I'm not sure what to write instead of the original copyright string |
Also: there must be a way to set up the locator only once (unless the inputMesh changes) and maybe save some computing time. |
This is awesome, thanks a lot, I'll test this and give feedback soon. |
Thank you, I've tested this and it worked amazingly well. I've simplified the code the bit, added caching of a few filters that takes a long time to reinitialize to improve performance for complex models, etc. squashed all the commits and merged in this commit: 3e42453 |
This branchs adds the Dynamic Modeler tool 'Selection'. It takes a fiducialNode and a modelNode as input. It selects points of the modelNode around the distanceParameter with two possible algorithms (insideSphereRadius or geodesicDistance). The selected output can be the selected faces or the input model with selection scalars (1s and 0s).
This work will impact all modelToModel registrations made with Slicer allowing it to be as competent in this area as other software such as Blender.