<div class="gmail_quote">On Fri, Feb 5, 2010 at 12:38 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, I meant AppendFilter<br>
<div><div></div><div></div></div></blockquote></div><br><div>Yea, that outputs an unstructured grid.</div><div><br></div><div>So I have a filter that derives from vtkPointSetAlgorithm.</div><div><br></div><div>I can SetInput(vtkPointSet*)</div>
<div><br></div><div>Then I do some processing and the last step is a vtkAppendFilter. </div><div><br></div><div>I want to do</div><div><br></div><div>vtkPointSet* output = the output object of the filter;</div><div><br></div>
<div>output->ShallowCopy(appendFilter->GetOutput());</div><div><br></div><div>It says "no matching function call vtkPointSet::ShallowCopy(vtkUnstructuredGrid*)</div><div>candidates are vtkPointSet::ShallowCopy(vtkDataObject*)</div>
<div><br></div><div>An unstructured grid IS a DataObject, right? So shouldn't this copy be allowed?</div><div><br></div><div>Maybe this is a silly computer science question - my EE background is failing me here :(</div>
<div><br clear="all">Thanks,<br><br>David</div>