[vtk-developers] Get Input-Connection as vtkAlgorithmOutput in ProcessRequest

Berk Geveci berk.geveci at kitware.com
Mon Dec 13 07:24:17 EST 2010


I am not sure that I understand the question. Are you saying that within a
filters ProcessRequest (RequestData maybe?), you want to use another
(internal) filter? Can you be specific about your goal at a higher level?

2010/12/12 Ronald Römer <rroemer at googlemail.com>

> Hello,
>
> I want to connect the input-port of my class to the input-port to an other
> class in the ProcessRequest-method. Because I'm new in developing
> vtk-classes I dont know how to do it! I want to get the input of my class as
> vtkAlgorithmOutput. My example:
>
> vtkInformation *inInfo0 = inputVector[0]->GetInformationObject(0);
>
> vtkCleanPolyData *clean = vtkCleanPolyData::New();
> clean->SetInputConnection(inInfo0->Get( ??? ));
>
> With what should I replace the tree question marks?
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20101213/0bdec55a/attachment.html>


More information about the vtk-developers mailing list