-
Notifications
You must be signed in to change notification settings - Fork 6
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
Export markups planes #10
Comments
Yes, it would be useful to export all markup types (planes, lines, point sets, etc.). It would be great if you could implement it. For example, you could create a temporary model node from the markup node here. |
I didn't find a trivial way to do this. A plane-markup rendering code is distributed on different actors, mappers and props. |
You can create a plane mesh using vtkPlaneSource. You can get the corners by transforming the [+/-halfSize, +/-halfSize, 0, 1] point from the object coordinate system to world coordinate system by multiplying by GetObjectToWorldMatrix. |
Pull request opened: #12 |
It would be nice if planes could be exported as they usually used in surgical planning to mark surgical margins
The text was updated successfully, but these errors were encountered: