[vtkusers] Remeshing using Octree Filter

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 21 20:04:29 EDT 2017


Here are other ways to remesh.

Look at these examples:

https://lorensen.github.io/VTKExamples/site/Cxx/Points/ExtractSurface/
https://lorensen.github.io/VTKExamples/site/Cxx/Points/PowercrustExtractSurface/
https://lorensen.github.io/VTKExamples/site/Cxx/Points/PoissonExtractSurface/
and a compariison
https://lorensen.github.io/VTKExamples/site/Cxx/Points/CompareExtractSurface/


On Thu, Sep 21, 2017 at 9:01 AM, vincentrivola
<vincentrivola at hotmail.com> wrote:
> Hi again,
>
> I don't have much time for the wiki right now since it is a very busy
> period.
> But basically here is the pipeline (as a side note I use the java wrapper
> for all these applications):
> - create an octree mesh around your surface. For this I use my own octree
> generator not vtkHyperOctree. If someone know how to get it directly in vtk
> I'm interested.
>
> - once I get my octree grid as a vtkUnstructuredGrid I loop over all the
> points of the mesh and use a vtkImplicitPolyDataDistance filter initialized
> with my original surface to get the distance between each point of the
> unstructured grid and the vtkPolyData.
>
> - then I can use this distance in a vtkContourFilter to get the iso-surface
> of distance=0.
>
> - eventually use a vtkSmoothPolyDataFilter on the output of vtkContourFilter
> to smooth a bit the results.
>
> That's it! pretty simple actually.
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list