[vtkusers] Selections

David Doria daviddoria+vtk at gmail.com
Thu Feb 4 10:18:47 EST 2010


>
> Hi Jeff,
>
> I had tried the AddID function, it also resulted in 0 points in the output.
> When I added the ::INDICES and ::POINT properties, the output now has 50
> points (still supposed to be 11).
>
> I see in the Source article you did this:
> vtkUnstructuredGrid* extracted = extractSelection->GetOutput();
>
> but when I try that it tells me cannot convert vtkDataObject to
> vtkUnstructuredGrid. Hence my vtkDataSet::SafeDownCast. Maybe this is the
> problem?
>
> Here is the latest version:
> http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection
>
> Thanks,
>
> David
>

Any more thoughts on this?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100204/5136c219/attachment.htm>


More information about the vtkusers mailing list