[vtkusers] Marching wedge : BUG ?
Will Schroeder
will.schroeder at kitware.com
Tue Nov 28 06:48:38 EST 2000
It seems that there are some differences of opinion. I found Philippe's
cases to be correct with the exception of case 62 (wrong sense/polygon
order). I fixed it and checked it in.
Will
At 03:03 PM 11/25/2000 -0500, Bill Lorensen wrote:
>Phillipe,
>Thanks for the error report. I've incorporated your corrected cases into
>the nightly.
>I also found cases 43 and 46 to be incorrect. Also, cases 44 and 46 were
>created
>some triangle with the wrong sense.
>
>I've added an example graphics/examplesTcl/marchingWedges.tcl that draws
>each case.
>A proc, cases, takes an argument with a case numebr.
>
>Thanks for your error report.
>
>Bill
>
>At 03:32 PM 10/24/00 +0200, Philippe Guerville wrote:
> >I used vtkCutter to cut trough an unstructured grid with a plane.
> >In the case of wedges, I found some mistakes in the
> >triCases array (File vtkWedges.cxx).
> >
> >The following edge lists are wrong : 26, 45, 47, 60, 61, 62
> >
> >The correct edge lists are :
> >{{ 6, 0, 1, 6, 1, 5, 5, 1, 4, -1, -1, -1, -1}}, //26
> >{{ 0, 3, 1, 3, 4, 1, -1, -1, -1, -1, -1, -1, -1}}, //45
> >{{ 7, 3, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //47
> >{{ 7, 1, 6, 6, 1, 2, -1, -1, -1, -1, -1, -1, -1}}, //60
> >{{ 0, 7, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //61
> >{{ 0, 6, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //62
>
>>TRIANGLE_CASES_WEDGE triCases[] = {
>>
>> //{{ 2, 0, 1, 2, 1, 5, 5, 1, 4, -1, -1, -1, -1}}, //26
>> {{ 6, 0, 1, 6, 1, 5, 5, 1, 4, -1, -1, -1, -1}}, //26 // changed
>> by LSS
>> //{{ 7, 5, 4, 7, 6, 5, -1, -1, -1, -1, -1, -1, -1}}, //47
>> {{ 7, 4, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //47 //
>> changed by LSS
>> //{{ 7, 8, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //60
>> {{ 2, 1, 6, 6, 1, 7, -1, -1, -1, -1, -1, -1, -1}}, //60 // changed
>> by LSS
>> //{{ 0, 7, 8, 0, 8, 2, -1, -1, -1, -1, -1, -1, -1}}, //61
>> {{ 7, 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //61 //
>> changed by LSS
>> //{{ 0, 1, 8, 0, 8, 6, -1, -1, -1, -1, -1, -1, -1}}, //62
>> {{ 0, 2, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, //62 //
>> changed by LSS
More information about the vtkusers
mailing list