[vtkusers] Get only surface of vtkDelaunay3D output

Cory Quammen cory.quammen at kitware.com
Tue Dec 20 10:45:26 EST 2016


Please include the mailing list in your replies so that everyone may
benefit from the discussion.

I'm not sure I understand what you are seeing. Could you attach a small
screen shot that shows the inside cells?

By the way, you should be able to use either vtkGeometryFilter or
vtkDataSetSurfaceFilter, you don't need to use both (they do basically the
same thing).

Thanks,
Cory

On Tue, Dec 20, 2016 at 10:33 AM, M. Jordan <mjordan at live.at> wrote:

> Thank you very much, I tried it but i think there are still some cells
> inside..
>
> vtkSmartPointer<vtkDelaunay3D> delaunay3D =
> vtkSmartPointer<vtkDelaunay3D>::New();
> delaunay3D->SetInputConnection(INPUT->GetOutputPort());
> delaunay3D->Update();
>
>  vtkSmartPointer<vtkGeometryFilter> geometryFilter =
>  vtkSmartPointer<vtkGeometryFilter>::New();
>  geometryFilter->SetInputConnection(delaunay3D->GetOutputPort());
>  geometryFilter->Update();
>
>  vtkSmartPointer<vtkDataSetSurfaceFilter> surfaceFilter2 =
>  vtkSmartPointer<vtkDataSetSurfaceFilter>::New();
>  surfaceFilter2->SetInputData(geometryFilter>GetOutput());
>  surfaceFilter2->Update();
>
> What I am doing wrong?
>
> ------------------------------
> *Von:* Cory Quammen <cory.quammen at kitware.com>
> *Gesendet:* Montag, 19. Dezember 2016 16:16
> *An:* M. Jordan
> *Cc:* vtkusers at vtk.org
> *Betreff:* Re: [vtkusers] Get only surface of vtkDelaunay3D output
>
> To get the surface, add a vtkDataSetSurfaceFilter after vtkDelaunay3D:
>
> http://www.vtk.org/doc/nightly/html/classvtkDataSetSurfaceFilter.html
> VTK: vtkDataSetSurfaceFilter Class Reference
> <http://www.vtk.org/doc/nightly/html/classvtkDataSetSurfaceFilter.html>
> www.vtk.org
> virtual void SetPieceInvariant If PieceInvariant is true,
> vtkDataSetSurfaceFilter requests 1 ghost level from input in order to
> remove internal surface that are ...
>
> HTH,
> Cory
>
> On Sun, Dec 18, 2016 at 8:50 AM, M. Jordan <mjordan at live.at> wrote:
>
>> Hello guys,
>>
>> i computed the alpha shape of a polydata object with vtkDelaunay3D.
>> Without an alpha value i got a well looking convex hull.
>> But when I am computing the alpha shape there are also some elements
>> inside of the needed hull.
>>
>> How can I get the surface/hull of the Delaunay3D output?
>>
>> Thank you!
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161220/c14665af/attachment.html>


More information about the vtkusers mailing list