The short answer is you can't. However if you don't care about this
code working in client-server mode, then you can do something like
follows:
vtkPVDataRepresentation* rep = repProxy-GetClientSideObject();
vtkDataObject* dobj = rep-GetRenderedDataObject(0);
Utkarsh
On Sun, Apr 3, 2011 at
Hi
How do I get the vtkPolyData from a ParaView representation that is created
by pqObjectBuilder?
For example if I click on the Create Source button, in ParaView, I can
modify the position property of that source in my plugin using the following
code:
pqDataRepresentation *data =