<div>I am trying to demonstrate vtkSelectionSource and vtkExtractSelection:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection</a></div>
<div><br>
</div><div>The example is setup to create 50 random points and extract 10 of them (IDs 10 through 20, so maybe 11?). Is this the right idea? Create a selectionSource, tell it which things you want to select, then extract the selection?</div>

<div><br></div><div>The output of the extractSelection filter is NULL, so clearly it is not exactly correct :)</div><div><br></div><div>Also, the output of the ExtractSelection is a vtkDataObject, so I tried to cast it as a vtkDataSet to get back to a sane data type - is this a reasonable approach? &#39;obj&#39; is null for now so I can&#39;t tell if the cast will work.</div>

<div><br></div><div>Any suggestions?</div><div><br clear="all">Thanks,<br><br>David<br>
</div>