[vtkusers] Fwd: vtkTubeFilter Side/Border Thickness

Bill Lorensen bill.lorensen at gmail.com
Sat Apr 10 14:07:20 EDT 2010


Jérôme,

Nice filter. You might consider writing a vtk journal article.
http://www.midasjournal.org/?journal=35

Also, I think you will be leaking the internal vtk objects that you
create with ::New(). You should either ->Delete() them before
returning, or use vtkSmartPointers.

Bill


On Sat, Apr 10, 2010 at 9:56 AM, Jérôme <jerome.velut at gmail.com> wrote:
> Hi,
>
> I updated the licence (BSD) and commented the filter. You will
> find it here:
> http://github.com/jeromevelut/
>
> The 'vtkKinship' git repo is what interests you: get it, compile it
> with CMake. The filter vtkThickTubeFilter produces the latter
> screenshot.
>
> It is simply based on 2 vtkTubeFilters and a custom capping. So
> it takes as input any polydata, assuming they have polylines.
> It means that vtkLineSource is suitable for this filter. I tried with
> vtkSplineSource under ParaView and created funny macaroni !
>
> Feel free to ask any questions regarding that filter/repo
>
> Jerome
>
> 2010/4/10 Fauze Polpeta <fauze.polpeta at gmail.com>
>>
>> Hi Jérôme
>>
>> This is exactly what I'm looking for. Please, let me know when
>> available and how to download.
>>
>> Was this pipe built from a vtkLineSource? If not, would I still be
>> able to positioning it by relying on the coordinates of two 3D points?
>> Or do I need to use vtkTransform?
>>
>> Thanks for your courtesy
>>
>> Fauze
>>
>> On Fri, Apr 9, 2010 at 7:20 PM, David Doria <daviddoria+vtk at gmail.com>
>> wrote:
>> > On Fri, Apr 9, 2010 at 6:14 PM, Jérôme <jerome.velut at gmail.com> wrote:
>> >> Hi,
>> >>
>> >> I attached a screenshot of a filter of mine that builds what I think
>> >> you are
>> >> looking for... If this is what you, just tell me: I just have to put
>> >> some
>> >> licence info
>> >> in my github lib, then you can get it.
>> >>
>> >> HTH
>> >> Jerome
>> >
>> > That is definitely what he was looking for. Jermoe - you should
>> > definitely send it to the devel list and get it added to VTK.
>> >
>> > Thanks,
>> >
>> > 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
>
>



More information about the vtkusers mailing list