Re: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered

2017-01-09 Thread Lodron, Gerald
Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps…: output vtkImageData (0087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 0087AC049A90 Data Released: False Global Release Data: Off

Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered

2017-01-09 Thread Lodron, Gerald
Hi Good try but does not effect anything except the string in paraview’s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)… but on information tab point data and cell data is there…. Von: Joachim Pouderoux

Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered

2017-01-09 Thread Joachim Pouderoux
Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific

Re: [Paraview] upgrading reader module/plugin

2017-01-09 Thread Mark Olesen
The SetImmediateUpdate seems be needed for cases where I do bypass the addPropertyLink mechanism. Eg, QCheckBox* b = new QCheckBox(this); setButtonProperties(b, showPointNumbers_); //<- text, tips etc... form->addWidget(b, 0, 1, Qt::AlignLeft); connect(b,

Re: [Paraview] get name of source in pipeline gui

2017-01-09 Thread Moreland, Kenneth
I think the only way to get the name of the active source (or any source for that matter) is to search for it in the values of the dictionary returned by GetSources(). If you look at this dictionary, it has a set of keys that are a pair consisting of the name in the pipeline browser and a

Re: [Paraview] Paraview Vtu to Exodus. Single block, multi element?

2017-01-09 Thread Moreland, Kenneth
Andi, You said you need an output with multiple blocks, but your last comment, “I need 1 block data set with 2 or more element data inside it,” suggests that what you really need is to add a second field of data. Try using the calculator to add that second field. Set the attribute mode to

Re: [Paraview] upgrading reader module/plugin

2017-01-09 Thread Utkarsh Ayachit
I don't think `SetImmediateUpdate` should be needed any more. Are you sure it's needed? If I remember correctly, it's one of the obselete ivars that should truly be deprecated and removed. On Mon, Jan 9, 2017 at 4:10 AM, Mark Olesen wrote: > Hi Utkarsh, > > The

Re: [Paraview] [ParaView] data from multiple servers rendered in the same view

2017-01-09 Thread Claude
Hi Mathieu, Too bad, and at the same time understandable it is not possible in a parallel remote rendering architecture. Thank you for the workaround!! Cheers Claude Thank you for the trick Mathieu. > On Jan 9, 2017, at 3:02 AM, Mathieu Westphal > wrote: > >

[Paraview] vtkImageData Plugin, vtkImageData not rendered

2017-01-09 Thread Lodron, Gerald
Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data

Re: [Paraview] get name of source in pipeline gui

2017-01-09 Thread Bob Flandard
Perfect! Thanks very much Mathieu. Regards, Bob On 9 January 2017 at 09:07, Mathieu Westphal wrote: > Hi > > pxm = servermanager.ProxyManager() > > a=GetActiveSource() > > pxm.GetProxyName('sources',a.SMProxy) > > 'Box1' > > Regards, > > Mathieu Westphal > > On

Re: [Paraview] upgrading reader module/plugin

2017-01-09 Thread Mark Olesen
Hi Utkarsh, The addPropertyLink works exactly as desired and triggers the necessary update mechanism. For a few places I still have direct connect() to catch the signal and do something additional with it, but that was expected. I don't know why I still need an SetImmediateUpdate to get the

Re: [Paraview] get name of source in pipeline gui

2017-01-09 Thread Mathieu Westphal
Hi pxm = servermanager.ProxyManager() a=GetActiveSource() pxm.GetProxyName('sources',a.SMProxy) 'Box1' Regards, Mathieu Westphal On Sun, Jan 8, 2017 at 12:37 PM, Bob Flandard wrote: > Hi, > > How to get the name of the active source in the pipeline? (the gui name) > >

Re: [Paraview] [ParaView] data from multiple servers rendered in the same view

2017-01-09 Thread Mathieu Westphal
Hi Claude Sadly, no, you can't. However, one find you can do is use the interactive view link. Right click on one view. add a CameraLink with the other view and check "Interactive View Link" You now have a "window" of a view into another view. Checkout the options in the "adjust camera" dialog,