[vtkusers] ExtractSelectedThresholds
David E DeMarle
dave.demarle at kitware.com
Wed Apr 28 16:07:38 EDT 2010
Don't use SelectionData at all in this case. That is a way to do
selections that examine multiple array attributes simultaneously (as
in parallel coordinates view under ParaView).
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:35 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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