[Paraview] Get name of object in Pipeline Browser

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Aug 17 09:16:24 EDT 2011


It's not possible, not from a simple exporter plugin.The exporter
lives entirely in the VTK world without any knowledge of proxies. A
unconventional approach would be explicitly make the exporter plugin
link agains the pqCore library, then you can access the
pqApplicationCore and other singletons (like ProxyManager) and get
information about what sources are present and what their names are
(this is acceptable since exporter work entirely on the client-side).
It is still, however, non trivial to determine which actor corresponds
to what source proxy.



On Wed, Aug 17, 2011 at 3:40 AM, Lars Bilke <lars.bilke at ufz.de> wrote:
> Dear ParaView users,
> is it possible to programmatically get the name of an object in the Pipeline
> Browser? To be more specific I need to get this name from a vtkActor. I am
> writing a exporter plugin
> (see http://www.mail-archive.com/paraview@paraview.org/msg12939.html) and
> want to name my objects in the exported file.
> Thanks for your help,
> Lars.
>
>
> _______________________________________________
> 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