[vtkusers] ExtractSelectedThresholds

David Doria daviddoria+vtk at gmail.com
Wed Apr 28 13:35:51 EDT 2010


On Wed, Apr 28, 2010 at 1:24 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> That filter defaults to looking at cell associated arrays.
>
> Call selectionNode->SetFieldType(vtkSelectionNode::POINT) to tell it
> to look at point associated arrays.
>
> David E DeMarle

This is quite confusing - if you have to tell it SetSelectionData
anyway (which I told it to be GetPointData()), why would you also have
to tell it SetFieldType(vtkSelectionNode::POINT)?

It is finally running without errors:

http://www.vtk.org/Wiki/VTK/Examples/Broken/ExtractSelectedThresholds

However, all of the input points are output, not just the overlapping
region of the two spheres. Any more thoughts?

Thanks,

David



More information about the vtkusers mailing list