[Paraview] Turn vtk Data Object into DataObjectProxy
Andy Bauer
andy.bauer at kitware.com
Sun Sep 12 20:21:53 EDT 2010
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. <biddisco at cscs.ch>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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100912/646d06d3/attachment.htm>
More information about the ParaView
mailing list