View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001436VTK(No Category)public2004-12-16 16:212011-01-13 17:00
Reporterjohn platt 
Assigned ToMathieu Malaterre 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001436: BandedContours - Contour edges are produced for cells which are completely in a contour band.
DescriptionvtkBandedPolyDataContourFilter.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.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0001833)
Mathieu Malaterre (developer)
2004-12-16 16:58

Thanks again John !

$ cvs ci -m"BUG: Fix -partially- Bug 0001436 - BandedContours - Contour edges are produced for cells which are completely in a contour band. Thanks again to John Platt for patch" vtkBandedPolyDataContourFilter.cxx
/cvsroot/VTK/VTK/Graphics/vtkBandedPolyDataContourFilter.cxx,v <-- vtkBandedPolyDataContourFilter.cxx
new revision: 1.52; previous revision: 1.51


I am closing the bug until I (somebody) can reproduce it.

 Issue History
Date Modified Username Field Change
2010-11-29 17:59 Mathieu Malaterre Source_changeset_attached => VTK master 525c5e2e
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team