Open IrvingLu opened 1 week ago
It was not removed really you still can render contour in 3D. if it does not work it is a bug, but for 2D rendering of contours you have to use the new svg based contour rendering
Thank you for your reply. It is indeed not working. I have updated it to the latest version and now it is reporting the following error:
Can we take a step back? Please explain your use case. Why do you want to render contours in the 3D volume rendering?
Describe the Bug
The example of contourrendering cannot display contours on 3D saw that the code for this example removed the 3D display, and I don't understand why it was removed. When I try to display the outline, I will report the following error:
undefined is not iterable (cannot read property Symbol(Symbol.iterator)) TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from ()
at updateContourSets (http://localhost:3000/tutorial.js:136362:41)
at handleContourSegmentation (http://localhost:3000/tutorial.js:136332:3)
at Object.render (http://localhost:3000/tutorial.js:136241:105)
at http://localhost:3000/tutorial.js:137342:44
at Array.map ()
at SegmentationDisplayTool.renderSegmentation (http://localhost:3000/tutorial.js:137327:75)
at SegmentationRenderingEngine._triggerRender (http://localhost:3000/tutorial.js:156046:37)
at http://localhost:3000/tutorial.js:155922:14
Steps to Reproduce
Use the latest version
The current behavior
The example of contourrendering cannot display contours on 3D
The expected behavior
Display contours on 3D
OS
windows10
Node version
1.61.5
Browser
Chrome