[vtkusers] Unstructured grid output

David Doria daviddoria+vtk at gmail.com
Thu Jun 17 13:10:01 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100617/12eb7707/attachment.htm>


More information about the vtkusers mailing list