[vtkusers] vtkDelaunay2D problem

Paul Tait paul at opes.com.au
Tue Mar 16 03:21:45 EST 2004


Hi

I've done this

polydataTop->SetPoints(pts);
polydataTop->GetPointData()->SetScalars(heights);
polydataTop->SetPolys(constrained);
vtkCleanPolyData *clean = vtkCleanPolyData::New();
clean->SetInput(polydataTop);
del2->SetInput(clean->GetOutput());
clean->Delete();
// del2->SetInput(polydataTop);
del2->SetSource(polydataTop);
del2->SetTolerance(0.00001);
cf->SetInput(del2->GetOutput());
cf->SetScalarModeToValue();
cf->GenerateValues(20, lpRange);

but I get the same diagnostics. Am I cleaning it right ?

Paul

----- Original Message ----- 
From: "Mathieu Malaterre" <mathieu.malaterre at kitware.com>
To: "Paul Tait" <paul at opes.com.au>
Cc: <vtkusers at vtk.org>
Sent: Monday, March 15, 2004 10:51 PM
Subject: Re: [vtkusers] vtkDelaunay2D problem


> Paul,
>
> It looks like a recent problem on the list. Could you try a
> vtkCleanPolyData prior to the filter ?
>
> HTH
> Mathieu
>
> Paul Tait wrote:
> > Hi All
> >
> > I'm getting the diagnostic
> >
> > vtkDelaunay2D : Edge not recovered, polygon fill suspect
> >
> > What sort of things should I look at to try and rectify this ?
> >
> > Do I need to clean up my data by running thru a filter ?
> >
> > Thanks Paul Tait
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.620 / Virus Database: 399 - Release Date: 7/4/2005




More information about the vtkusers mailing list