[vtkusers] Extract polylines from the surface

Cory Quammen cquammen at cs.unc.edu
Wed Sep 4 21:08:45 EDT 2013


David,

There is nothing that I know of in VTK that will do exactly what you
want/need. You'll have to extract those lines in some way, perhaps by using
the vtkExtractGeometry filter with an appropriate vtkImplicitFunction, such
as vtkBox.

- Cory


On Wed, Sep 4, 2013 at 8:23 AM, david bahn <bahndavid2006 at gmail.com> wrote:

> thanks cory, but i have to extract only one edge, which is the yellow one
> given in the figure as i showed you.
>
>
> On Wed, Sep 4, 2013 at 2:17 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
>
>> David,
>>
>> This example shows you how to get part of the way there:
>>
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges
>>
>> It will extract all the boundary edges, though, not just the yellow edge.
>>
>> Hope that helps,
>> Cory
>>
>>
>> On Wed, Sep 4, 2013 at 8:06 AM, david bahn <bahndavid2006 at gmail.com>wrote:
>>
>>> Hi cory,
>>>           i have to extract polyline(shown in yellow color) as it is
>>> given in the given figure, which i am attaching with this mail
>>>
>>>
>>>
>>> [image: Inline image 1]
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 1:50 PM, Cory Quammen <cquammen at cs.unc.edu>wrote:
>>>
>>>> David,
>>>>
>>>> It would help if your questions were more specific. For instance,
>>>> which polylines do you want to extract from your surface?
>>>>
>>>> Do you want all the edges between polygons? See
>>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ExtractEdges
>>>>
>>>> If you want to extract edges that have only one polygon on a side for
>>>> instance (to give one definition of the bounds of the surface), see
>>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges
>>>>
>>>> Thanks,
>>>> Cory
>>>>
>>>>
>>>> On Wed, Sep 4, 2013 at 5:33 AM, david bahn <bahndavid2006 at gmail.com>
>>>> wrote:
>>>> > Hi,
>>>> >    I have to extract polylines from the surface, anybody can suggest
>>>> me, how
>>>> > can i do this?
>>>> >
>>>> >
>>>> > David
>>>> >
>>>> > _______________________________________________
>>>> > 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
>>>> >
>>>> > Follow this link to subscribe/unsubscribe:
>>>> > http://www.vtk.org/mailman/listinfo/vtkusers
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>
>
>


-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 152504 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.png>


More information about the vtkusers mailing list