View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003115 | VTK | (No Category) | public | 2006-04-10 10:19 | 2016-08-12 09:54 | ||||
Reporter | Kevin Hobbs | ||||||||
Assigned To | Will Schroeder | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003115: vtkPolyDataConnectivityFilter treats seeded regions as one | ||||||||
Description | I think I found a bug in vtkPolyDataConnectivityFilter, or at least misleading documentation. The Documentation for mode 4 says "4) extract all regions sharing specified cell ids;" To me this means that the list of seed IDs will be used to seed different regions. GetNumberOfExtractedRegions should give me the number of seeds, and the regions should be colored differently if SetColorRegions is on. This is not what happens. Instead GetNumberOfExtractedRegions returns 1, and all the regions are given the same region number. After looking at Graphics/vtkPolyDataConnectivityFilter.cxx I see the comment on line 202, "regions have been seeded, everything considered in same region" So I think it's the documentation that is wrong, for the simple reason that it's easier to fix. A second connectivity filter with SetExtractionModeToAllRegions will get what I want. I think a solution would be a line in the documentation that seeded regions will all be considered to have the same ID but a seccond connectivity filter can then add the abilities of extract all regions. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036855) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036855 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |