[vtkusers] Clip Volume using freehand 2D Curve ROI

longbowzhang longbowzhangchina at gmail.com
Wed Mar 30 17:07:53 EDT 2016


Hello Simon,

Because the author asked "how to clip a volume w/ 2D hand drawn curve"
rather than "on a Volume Rendering" context, I proposed to use
vtkImageTracerWidget on selected slices. This is probably the easiest way.

Like you said, if to clip a volume in the context of "volume rendering",
besides the way you propose, I would propose another alternative.

1 Draw the bounding box (NOT outline) of the volume, but represent this
6-face-bounding-box in terms of Wireframe (via
vtkActor->GetProperty()->SetRepresentationToWireframe());
2 Place the vtkImagePlaneWidget on the bounding box (as shown in the
attached image);
<http://vtk.1045678.n5.nabble.com/file/n5737450/traceOnBB.png> 

3 Derive the stencil, which will be used as a mask for clipping in the
context of volume rendering. 

I think this would work. What's your opinion?



--
View this message in context: http://vtk.1045678.n5.nabble.com/Clip-Volume-using-freehand-2D-Curve-ROI-tp5737430p5737450.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list