View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014457VTK(No Category)public2013-12-11 10:542014-10-06 14:08
ReporterDavid Doria 
Assigned ToWill Schroeder 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0014457: vtkExtractPolyDataGeometry returns all vertices instead of just the ones inside the implicit function
DescriptionAs reported by Tony Zhang on the mailing list, vtkExtractPolyDataGeometry returns all vertices instead of just the ones inside the implicit function (here is a demo of the problem: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelection [^])

By changing

        vtkSmartPointer<vtkExtractPolyDataGeometry> extractPolyDataGeometry =
          vtkSmartPointer<vtkExtractPolyDataGeometry>::New();

to

        vtkSmartPointer<vtkExtractGeometry> extractPolyDataGeometry =
          vtkSmartPointer<vtkExtractGeometry>::New();

and

#include <vtkExtractPolyDataGeometry.h>

to

#include <vtkExtractGeometry.h>

the program works as expected. As far as I understand, vtkExtractPolyDataGeometry should operate exactly as vtkExtractGeometry, but just be more efficient for vtkPolyData.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0031923)
David Doria (reporter)
2013-12-11 15:41

The confusion was that vtkExtractPolyDataGeometry copies all points to the output, while vtkExtractGeometry only copies the points that compose the cells that were selected. Should these behaviors be made consistent?
(0032105)
Will Schroeder (manager)
2014-01-01 16:53

The points were passed through for performance reasons (to avoid copying and mapping). However I'll modify the filter to behave as vtkExtractGeometry with the option to pass the points through.
(0032149)
Will Schroeder (manager)
2014-01-08 06:34

Needs new regression test image. Workin with Dave to refine this process.

 Issue History
Date Modified Username Field Change
2013-12-11 10:54 David Doria New Issue
2013-12-11 15:41 David Doria Note Added: 0031923
2014-01-01 16:53 Will Schroeder Note Added: 0032105
2014-01-01 16:53 Will Schroeder Assigned To => Will Schroeder
2014-01-01 16:53 Will Schroeder Status backlog => active development
2014-01-08 06:34 Will Schroeder Note Added: 0032149
2014-01-08 06:34 Will Schroeder Status active development => gerrit review
2014-10-06 14:08 Will Schroeder Status gerrit review => closed
2014-10-06 14:08 Will Schroeder Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team