[vtkusers] Fwd: vtkTubeFilter Side/Border Thickness
Fauze Polpeta
fauze.polpeta at gmail.com
Thu Apr 8 14:25:51 EDT 2010
Hi David;
I think I need to fallback to the first approach you suggested.
Gobbi's clipper relies on a vtkPlaneCollection to perform clipping. In
my case I have to clip using a vtkPolyDataToPolyDataFilter (i.e.
vtkTubeFilter) which is inherently different from vtkImplicitFunction
(i.e. vtkPlane).
Thanks
Fauze
On Thu, Apr 8, 2010 at 2:32 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Thu, Apr 8, 2010 at 1:25 PM, Fauze Polpeta <fauze.polpeta at gmail.com> wrote:
>> Hi;
>>
>> I will try that and let you know the results.
>>
>> If it works fine I will certainly try to add this to vtkTubeFilter.
>>
>> Thank you very much.
>>
>> Fauze
>
> Fauze,
>
> David Gobbi has just added a new class that will reduce the number of
> steps in this operation:
> http://www.vtk.org/Wiki/VTK/Closed_Surface_Clipping
>
> You would just need to make the outer cylinder (radius R2, length L,
> CappedOn), and clip it
> (using closed surface clipping) with a slightly longer inner cylinder
> (R1, L+epsilon).
>
> Thanks,
>
> David
>
More information about the vtkusers
mailing list