[Paraview] Retrieving Data (Client-Server)

David E DeMarle dave.demarle at kitware.com
Fri Jul 13 12:50:45 EDT 2012


Get the vtkPVDataInformation for the object. That will give you
lightweight information about the object (the same thing shown in the
Information tab)

If you need a local copy of the object, see how servermanager.Fetch
does it in the python layer.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Fri, Jul 13, 2012 at 12:35 PM, Dennis McWherter <dmcwhe2 at illinois.edu> wrote:
> Hello,
>
> I have created a GUI panel which I would like to populate with some
> information about a given object. I can find the object through the
> pqServerManagerModel without any issues. However, once I already have this
> object in the form of pqDataRepresentation* or vtkSMProxy* (or some slight
> variation thereof), is there a way in which I can easily retrieve basic data
> on the object? For instance, I would specifically like to know the point
> coordinates for this object (objects are expected to be standard vtk data
> types). If possible, I do not want to attempt to "reconstruct" the original
> data object locally. I have also read "GetClientSideObject()" solutions, but
> these break the client-server model which is something I would like to
> avoid, if possible. Is there any current way of doing this?
>
> Regards,
> Dennis McWherter
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list