BandedContours - Contour edges are produced for cells which are completely in a contour band.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkBandedPolyDataContourFilter.cxx, Revision: 1.42
At about line 560
Move
//Produce contour edges if requested
if ( this->GenerateContourEdges )
{
.....
}
To after
//Trivial output - completely in a contour band or a triangle
if ( ! intersectionPoint || numFullPts <= 3 )
{
cellId = this->InsertCell(newPolys,npts,pts,cellId,s[idx],newScalars);
continue;
}
I have NOT tested this move until now! Originally, I put the condition if (
intersectionPoint ) around the code to be moved instead, so there is a difference.
Also, I have not tried with lines or strips. Hopefully it gives you an idea for a fix.