[vtkusers] Problems with vtkClipPolyData and vtkImplicitBoolean
David Gobbi
david.gobbi at gmail.com
Fri Jan 8 09:04:59 EST 2016
Hi Normanius,
I don't know of any good way to make a clip plane that is limited to a
specific region.
It seems to me that the ideal solution would be to use a hierarchical data
set for your vessel tree, where each branch was a different data object.
Then you could select the vessel you want to cut (VTK has lots of good
selection and picking tools), and apply the cut to just that one vessel.
You should look at http://www.vmtk.org/ if you haven't seen it yet, they
might already have a solution for this.
- David
On Fri, Jan 8, 2016 at 6:36 AM, normanius <juch at zhaw.ch> wrote:
> Hi David
>
> Thanks a lot for the clarifications. Then your original statement was
> right.
> The one-by-one approach would solve the problem.
>
> So, if I understand correctly, I could approximate my circular cylinders
> with a hexagonal or octagonal cylinder, by simply using a
> vtkPlaneCollection
> and use that collection to apply planar cuts one by one.
>
> It's maybe worth going one step back here: The reason why I use 3D objects
> (cylinders in my case) for cutting is that I want to apply a planar cut,
> but
> restrict the active cut plane to a certain circular region. Think of a 3D
> model of a blood vessel (I'm working on a cut tool to cut arteries). That's
> why I ended up with cylinders, implicit functions and vtkClipPolyData
> (before I tried vtkBooleanOperation, but had some problems there as well).
> The planar cut should cut only one artery of the vessel tree and should not
> affect the others. From the screenshots above, you might get the idea. I
> belief that using cylinders is inapt, but I did not find a better way in
> vtk. Could you sketch a better idea to this? Or is this feature already
> implemented in vtk and I just missed it?
>
> Thanks again for the input.
> Norman
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Problems-with-vtkClipPolyData-and-vtkImplicitBoolean-tp5735713p5735875.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160108/644135f3/attachment.html>
More information about the vtkusers
mailing list