Hello,
Using a plugin I can create a point source with the following code:
pqApplicationCore* core = pqApplicationCore::instance();
pqObjectBuilder* builder = core->getObjectBuilder();
pqServerManagerModel* sm = core->getServerManagerModel();
pqServerManagerSelectionModel* sms = core->getSelectionModel();
pqServer *activeServer = sm->getItemAtIndex<pqServer*>(0);
pqPipelineSource *newSource = builder->createSource("sources",
"PointSource", activeServer);
I would like to add a vtkStringArray to the server side of this
source. From the server side,
I can easly do it using:
vtkPolyData::GetPointData()->AddArray("my vtkStringArray");
How can I do the same from the client side, using the pqPipelineSource
that I created ?
Thank you.
_______________________________________________
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