-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
How to add new tool to the viewer #38
Comments
Hello Lancelot, The tools reside in the Cornerstone Tools library: https://github.com/chafey/cornerstoneTools/ The length tool specifically is here: https://github.com/chafey/cornerstoneTools/blob/master/src/imageTools/lengthTool.js To add a tool to the Viewer there are a few steps:
I've also added these details to the Wiki: https://github.com/OHIF/Viewers/wiki/Adding-a-tool-to-the-Viewer If this satisfies your question please close the issue. If not, comment here with any issues you encountered and we can update the documentation. Making this easier is one of our goals, so these steps might change in the future. Hope that helps, Erik |
Many thanks @swederik for your detailed answer. |
fix string comparisons
Merge data source / multiple server support OHIF#3507
I want to add new tools to the viewer. I know how to add the icon to the toolbar for a new tool,but where the code resides for the new tool is not very clear.
Where for instance is the code for the length tool?.
The text was updated successfully, but these errors were encountered: