[vtkusers] ExtractSelectedThresholds

David E DeMarle dave.demarle at kitware.com
Wed Apr 28 13:24:48 EDT 2010


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
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Wed, Apr 28, 2010 at 1:00 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Wed, Apr 28, 2010 at 12:51 PM, David E DeMarle
> <dave.demarle at kitware.com> wrote:
>> The name doesn't match:
>>
>> The doxygen says that vtkSelectEnclosedPoints produces an array named
>> "SelectedPointsArray".
>>
>> Verify that that is true, and then set thresh's name to match.
>>
>> David E DeMarle
>
> It is NOT true.
>
> In vtkSelectEnclosedPoints.cxx, the name is set to
> "SelectedPointsArray" at line 109, and then set to "SelectedPoints" at
> line 145!
>
> The output definitely has the name "SelectedPoints" (so this should be
> changed in the documentation). So this was not the problem - somehow
> we are still not telling vtkSelectEnclosedPoints what to operate on
> correctly.
>
> Thanks,
>
> David
>



More information about the vtkusers mailing list