Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-06-10 Thread Nenad Vujicic
Dear Utkarsh, I'm sorry for delay, I was out of home for a while. Yes, I think this will help. Thank you very much for your help! Nenad. On Sat, May 30, 2015 at 4:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Nenad, DataLabelRepresentation is a subproxy of the

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-30 Thread Utkarsh Ayachit
Nenad, DataLabelRepresentation is a subproxy of the GeometryRepresentation and that has been the case since as long as I remember. That means that when you iterate over representations in the view, you'll never see a separate DataLabelRepresentation proxy. Each source proxy has a

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Nenad Vujicic
Utkarsh, - Strange 1: I don't have anymore instance in DataLabelRepresentation for Elevation pipeline source (btw, during this traversing I get only one actor), I don't follow. DataLableRepresentation is indeed created for every representation shown in the render view. It seems it is

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
Nenad, Okay I must be missing something very obvious here, but I am totally lost here. EventHandlers.cpp confused more than it clarified things for me :). Just focusing on EventHandlers.cpp for now. Are you saying EventHandlers::DataRepresentationCreated() isn't called when a new

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Nenad Vujicic
Utkarsh, I'm sorry for confusing:-(. I want to say DataRepresentationCreated is never called! When I create instance of my pipeline source with this source code, I get only 3 messages: Source Created, and 2 times Representation Added after pushing Apply button. Nenad. On Wed, May 20, 2015 at

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
I want to say DataRepresentationCreated is never called! When I create instance of my pipeline source with this source code, I get only 3 messages: Source Created, and 2 times Representation Added after pushing Apply button. Ah ok. That's because pqObjectBuilder no longer creates the standard

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
Step into createDataRepresentation in a debugger. You'll see one of the arguments is NULL. I suspect its the view. The view isn't setup yet. Try making the slot connection to a queued connection that way ParaView gets the change to setup the representation object. On Wed, May 20, 2015 at 11:07

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Nenad Vujicic
Utkarsh, You are right, view is really NULL!! Ok, when I catch signals fired I'll wait appropriate view is created and then they creating representation. Thanks! On Wed, May 20, 2015 at 5:12 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Step into createDataRepresentation in a

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-18 Thread Utkarsh Ayachit
- Strange 1: I don't have anymore instance in DataLabelRepresentation for Elevation pipeline source (btw, during this traversing I get only one actor), I don't follow. DataLableRepresentation is indeed created for every representation shown in the render view. - Strange 2: When I

Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-16 Thread Nenad Vujicic
Hello again, I have one another problem with the latest PV sources (v4.3.1, I used VS2008 x64 built with most of extra packages from super-build enabled) and creating labels. Again everything worked fine on v4.0 (and I think v4.2), but now, not anymore .. Here is what I tried: 1. I created a

[Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-13 Thread Nenad Vujicic
Hello everyone, It has been a long time ParaView sources worked excellent with my patches and the plugin (3D exporter). However, I'm having troubles with the latest version (v4.3.1) to export labels which are shown over selected points (both per point and per cell). This was my approach which