I'm not sure if it will work but maybe using vtkTrivialProducer might do it
for you with SetOutput().

Andy

On Sun, Sep 12, 2010 at 4:40 PM, Biddiscombe, John A. <[email protected]>wrote:

>  I'm experimenting with calling functions in the ServerManager directly
> from a parallel application
>
>
>
> On each node, I have a vtkDataset (piece of),
>
>
>
> I need to set the dataset as input to a pipeline - for example
>
>
>
> *  vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager();*
>
> *  vtkSMProxy *contour = pxm->NewProxy("filters", "Contour");*
>
> *  //*
>
> *  vtkSMInputProperty *input = vtkSMInputProperty::SafeDownCast(*
>
> *    contour->GetProperty("Input"));*
>
>
>
> How can I manually set the vtkDataSet as the input to the contour filter
> (through the inputproxy). I presume I need a data object proxy, which has
> its pointer set directly. But I can’t seem to find that right combination of
> calls.
>
>
>
> Thanks
>
>
>
> JB
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to