[vtkusers] remeshing a planar region

Alex Malyushytskyy alexmalvtk at gmail.com
Thu Jul 12 17:34:42 EDT 2012


Makes sure you define proper constrained edges and loops.
http://www.vtk.org/doc/nightly/html/classvtkDelaunay2D.html#details

Any mistake in there will lead to unexpected output.

Alex

On Fri, Jul 6, 2012 at 7:58 AM, sebastian ordas
<sebastian.ordas at gmail.com> wrote:
> Hi again,
>
> Find bellow two new snapshots better showing the outline (always closed)
> that I need to triangulate
>
> http://ScrnSht.com/ybwudd
> http://ScrnSht.com/vcuxhu
>
> thank you,
> sebastian
>
>
>
> On 7/6/2012 11:10 AM, sebastian ordas wrote:
>>
>> Dear all,
>>
>> I would like to regularize the normals and provide a better triangulation
>> to a rectangular region (planar region) as can be seen in the snapshots
>> bellow:
>>
>> http://ScrnSht.com/safdvh
>> http://ScrnSht.com/nwuwcu
>>
>> The remeshing has to be fast, as it is for a real-time application
>>
>> I tried vtkDelaunay2D with poor results: the triangulation is not complete
>> and internal holes are filled out
>> Maybe I´m not using the optimal parameters.
>>
>>       vtkSmartPointer<vtkDelaunay2D> del =
>> vtkSmartPointer<vtkDelaunay2D>::New();
>>       del->SetInputConnection(planeCleaner->GetOutputPort());
>>       del->BoundingTriangulationOff();
>>       del->SetTolerance(0.001);
>>       del->SetAlpha(5.0);
>>
>> Does anyone can provide a hint?
>>
>> thank you,
>> sebastian
>>
>>
> _______________________________________________
> 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