[Paraview] Re: [vtkusers] Re: Fill contours with Pixels
Kent Eschenberg
eschenbe at psc.edu
Wed Feb 14 13:11:35 EST 2007
Good idea! I don't expect to have the opportunity to do that anytime
soon; perhaps you or someone else could upgrade the mesh quality class
and implement the Python checks in C++. One issue: large meshes make
take a while since every vertex and triangle are compared to every other.
Kent
Goodwin Lawlor wrote:
> Kent Eschenberg wrote:
>>> Mike Jackson wrote:
>>>> I tried again, but I still get these errors:
>>>>
>>>> Warning: In
>>>> /Users/Shared/OpenSource/VTK-5.0.2/Filtering/vtkPolygon.cxx, line 562
>>>> vtkPolygon (0xb300910): Degenerate polygon encountered during
>>>> triangulation
>>
>> I've attached a short Python program that uses VTK to look for bad
>> triangles and other problems. I too had a problem with bad triangles
>> and could not find a simple tool to look for them.
>
> Hi Kent,
>
> I've had problems with degenerate triangles too - you get a segfault
> when you pick them with vtkCellPicker...
>
> Maybe your code could fit into the vtkMeshQuality class. Something like
> "SetTriangleQualityMeasureToArea()" ... you could then threshold out the
> bad triangles if you wanted.
>
> Goodwin
More information about the ParaView
mailing list