Skip to content
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 clean the referenceLine? #2

Open
crysta-l opened this issue Jul 17, 2019 · 3 comments
Open

how to clean the referenceLine? #2

crysta-l opened this issue Jul 17, 2019 · 3 comments

Comments

@crysta-l
Copy link

Thank you for creating this project. I use some code in my project to create mpr.
But there are some problems, I need your help.

1.When I first generate mpr, the axial referenceLine does not exist from the beginning, only when I click on point。 I want to know how can I do so that it will exist from beginning

2.When I back to the another page then enter the mpr page to rebuild the mpr, the referenceLine didn't clean, I want to know how to clean it when destroyed

3.About how to generate mpr. I'd appreciate hearing them if you have any reading material suggestions.

@crysta-l
Copy link
Author

when I click mpr button, create mpr
image
when I click back button still click mpr button, there was two referenceLine on each side

image
image

@dannyrb
Copy link
Member

dannyrb commented Jul 18, 2019

👋 This was really just a proof of concept I played around with. For series of any substantial size, or for true free-form rotation, it became pretty clear that this approach would not be performant enough.

Your best bet is to look at vtk.js, ami.js or three.js. For special cases where you want to leverage cornerstone tools for annotations, you could pass back your current slice with changes applied. There is also some work being done to create a more generic SVG Widget Manager that could make it possible to render tool's using a shared API across cornerstone-tools and vtk.js

Unfortunately, that's all the information I have for you. I don't have much bandwidth to allocate to this. If you reach out to my current employer, Radical Imaging, you could contract me/us out for services to assist with problems like this.

@crysta-l
Copy link
Author

Thank you for your quick reply, your suggestion I will consider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants