[Paraview] Capping geometry (was Re: import filter in python?)
Cory Quammen
cquammen at cs.unc.edu
Mon Aug 6 09:41:33 EDT 2012
[repost with smaller attachments and renamed subject]
Chris,
The Tube filter is meant to work on poly line input. It's not clear to
me from your emails, but it looks like you are trying to apply it to
this vasculature, which is polygonal data. When I do that in ParaView,
I get an empty output, most likely because there are no lines in the
vasculature object.
What part of the vasculature are you trying to cap? I see that there
are four open ends that all seem to be coplanar with the boundary of
the data (see yellow rings in the attached image). Is this what you
are trying to cap? If so, see the ParaView 3.14.1 state file at
http://www.cs.unc.edu/~cquammen/EndCapping.pvsm on how to identify
these openings, separate them into individual openings, create
polygonal meshes for them using the Delaunay 2D filter, then merging
the meshes for the openings with the original geometry using the
AppendGeometry and Clean filter. The state file only does this for two
of the four openings. You can modify it to take care of the other two.
Hope that helps,
Cory
On Mon, Aug 6, 2012 at 9:33 AM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> Chris,
>
> The Tube filter is meant to work on poly line input. It's not clear to
> me from your emails, but it looks like you are trying to apply it to
> this vasculature, which is polygonal data. When I do that in ParaView,
> I get an empty output, most likely because there are no lines in the
> vasculature object.
>
> What part of the vasculature are you trying to cap? I see that there
> are four open ends that all seem to be coplanar with the boundary of
> the data (see yellow rings in the attached image). Is this what you
> are trying to cap? If so, see the attached ParaView state file on how
> to identify these openings, separate them into individual openings,
> create polygonal meshes for them using the Delaunay 2D filter, then
> merging the meshes for the openings with the original geometry using
> the AppendGeometry and Clean filter. The state file only does this for
> two of the four openings. You should be able to figure out how to
> modify it to take care of the other two.
>
> Hope that helps,
> Cory
>
>
> On Mon, Aug 6, 2012 at 3:14 AM, Chris <chris.schweighofer at gmx.net> wrote:
>> Hi Cory and Steve,
>>
>> I am wondering if the tube filter can do capping? In the appendix (link +
>> screenshot) I showed/added data for this tube.
>> First I tried to split the vascular tubes to get a single branch of 2 to 3
>> tubes, but the tube filter was not working after splitting, because it is no
>> polygonal mesh any more.
>>
>> So I tried it by adjusting the parameter, but it still is not working.
>>
>> Here is a link for download data and a screenshot:
>> http://www.bestaltmed.at/slicer/Bildschirmfoto.zip
>>
>> http://www.bestaltmed.at/slicer/Evmnr4_0.vtk.zip
>>
>>
>> It would be great if someone can help or explain me how it would work?
>>
>> Many thx,
>> Chris
>> PS: I would need it for my thesis to construct stable 3D models with rapid
>> prototyping.
>>
>>
>> Am 04.08.2012 um 14:42 schrieb Cory Quammen:
>>
>> Look under Filters -> Alphabetical -> Tube. That ParaView filter
>> exposes the vtkTubeFilter class already, so there is no need to use
>> the Programmable filter. Capping is on by default.
>>
>> If you haven't done so already, it may be helpful for you to work
>> through the excellent ParaView tutorial from Ken Moreland:
>> http://www.paraview.org/Wiki/The_ParaView_Tutorial
>>
>> It is for ParaView 3.12 but is mostly applicable to 3.14 as well.
>>
>> Hope that helps,
>> Cory
>>
>> On Sat, Aug 4, 2012 at 3:57 AM, Chris <chris.schweighofer at gmx.net> wrote:
>>
>> Hello ParaView users,
>>
>>
>> I would like to execute this vtkTubeFilter with CappingOn
>>
>> http://www.vtk.org/doc/nightly/html/classvtkTubeFilter.html
>>
>> in ParaView.
>>
>> Does someone know how I can do it?
>>
>>
>> I think it works on the directory Filters --> Alphapetical --> {...}
>>
>> Programable Filter
>>
>> Is that right?
>>
>> What do I have to do next?
>>
>>
>> Thx,
>>
>> Chris
>>
>>
>> _______________________________________________
>>
>> 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 ParaView Wiki at:
>>
>> http://paraview.org/Wiki/ParaView
>>
>>
>> Follow this link to subscribe/unsubscribe:
>>
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>>
>>
>> --
>> Cory Quammen
>> Research Associate
>> Department of Computer Science
>> The University of North Carolina at Chapel Hill
>>
>>
>>
>> _______________________________________________
>> 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 ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
>
> --
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill
--
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenEnds.png
Type: image/png
Size: 157164 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120806/bc6400e4/attachment-0001.png>
More information about the ParaView
mailing list