[vtkusers] How to “soften” the edges of a polyline?

Bill Lorensen bill.lorensen at gmail.com
Sun May 11 10:35:08 EDT 2014


You could try the vtkImplicitModeller. The resulting line resolution
will depend on the sample size. 'll see if I can put together an
example in the next day or two…


On Sat, May 10, 2014 at 7:39 PM, Ahmet Doğan <isimtic at gmail.com> wrote:
> That way, I need to write a filter which can cut the edge and put there a
> arcs correlated with angle.
>
> On 10.05.2014 23:16, Bill Lorensen wrote:
>>
>> That is the best we can do...
>>
>>
>> On Sat, May 10, 2014 at 4:01 PM, Ahmet Doğan <isimtic at gmail.com> wrote:
>>>
>>> Hi Bill,
>>>
>>> http://i61.tinypic.com/2ps15dd.jpg
>>>
>>> Thank you for answer vtkStripper has closed gap on edge but still sharp I
>>> want to have soft edge like in image.
>>> By the way after I applied the vtkStripper one has been thicker than two
>>> why?
>>>
>>> Kind Regards.
>>>
>>>
>>> On 10.05.2014 22:41, Bill Lorensen wrote:
>>>>
>>>> Pass your polydata through vtkStripper before you run the TibeFilter.
>>>>
>>>>
>>>> On Sat, May 10, 2014 at 3:15 PM, Ahmet Doğan <isimtic at gmail.com> wrote:
>>>>>
>>>>> Hi Dženan,
>>>>> spline isn't exactly I need. I want to bend polyline edges like in
>>>>> picture.
>>>>> Is there any way to do it in vtk.
>>>>>
>>>>> http://i57.tinypic.com/t658as.jpg
>>>>>
>>>>> Kind Regards.
>>>>>
>>>>> On 10.05.2014 00:38, Dženan Zukić wrote:
>>>>>
>>>>> I doubt something like that already exists. However you should search
>>>>> through the hierarchy, with this as the starting point:
>>>>> http://www.vtk.org/doc/nightly/html/classvtkSplineFilter.html
>>>>>
>>>>>
>>>>> On Fri, May 9, 2014 at 11:08 PM, Ahmet Doğan <isimtic at gmail.com> wrote:
>>>>>>
>>>>>> Hi Dženan,
>>>>>> Thank you for answer, i mean exactly smoothing polyline edges.
>>>>>> For example like here:
>>>>>>
>>>>>>
>>>>>> http://stackoverflow.com/questions/10162864/how-to-soften-the-edges-of-a-polyline
>>>>>> and I dont want to interpolate all lines just edges.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 09.05.2014 17:12, Dženan Zukić wrote:
>>>>>>
>>>>>> Does tubeFilter->CappingOn() do what you want? Otherwise you should
>>>>>> explain in more detail what you want, because it is not clear to me.
>>>>>>
>>>>>>
>>>>>> On Fri, May 9, 2014 at 11:16 AM, isimtic <isimtic at gmail.com> wrote:
>>>>>>>
>>>>>>> Hi everyone,
>>>>>>>
>>>>>>> I just want to smooth or interpolate edges not all how can I do that
>>>>>>> in
>>>>>>> vtk
>>>>>>> when I work with polyline in polydata. I am gonna use it with tube
>>>>>>> filter
>>>>>>> and I dont want edges to open
>>>>>>>
>>>>>>> Kind Regards.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>>
>>>>>>>
>>>>>>> http://vtk.1045678.n5.nabble.com/How-to-soften-the-edges-of-a-polyline-tp5727045.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
>>>>>>>
>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>
>>
>>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list