[vtkusers] Unstructured grid output
Eric E. Monson
emonson at cs.duke.edu
Thu Jun 17 15:54:22 EDT 2010
Or, if you were looking for a VTK filter which will just pass your data through, allowing you to pass your data to another filter with a call to GetOutputPort(), then it looks like you can use vtkPassThrough:
http://www.vtk.org/doc/nightly/html/classvtkPassThrough.html
I thought there was another one, too, that did this, but maybe that was it...
-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
On Jun 17, 2010, at 1:10 PM, David Doria wrote:
> On Thu, Jun 17, 2010 at 1:03 PM, Rodrigo Valiña Gutiérrez <rodrigo.valina at usc.es> wrote:
> Hi,
>
> Having a vtkUnstructuredGrid, is there any way of passing it to an
> object in a way that this object produces the original input calling
> GetOutput() and GetOutputPort(). Specifically I want to get the
> initial unstructured grid data by calling GetOutputPort().
>
>
> If I understand you correctly, all you'd have to do in the RequestData function in your filter is
>
> output->ShallowCopy(input);
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100617/96fa509f/attachment.htm>
More information about the vtkusers
mailing list