Re: [Paraview] How to get the vtkPolyData from ParaView representations?

2011-04-07 Thread Utkarsh Ayachit
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

[Paraview] How to get the vtkPolyData from ParaView representations?

2011-04-03 Thread Alexis Chan
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 =