[Paraview] Extension from Plugin-Reader does not apper - QT 4.4 issue?

2008-11-19 Thread Fabian Wein
Hi, I want to write a Reader for Paraview (I guess a plugin is better than directly hacking into the Paraview source). As I have to base on an vtkUnstructuredGridAlgorithm I cloned the vtkGAMBITReader as it was the shortest (Only change of name, no functionality yet). I follwed the Plugin-HowTO

[Paraview] Time tutorial animation uploads

2008-11-19 Thread John Biddiscombe
Burlen Loring wrote: There is a tutorial on time in PV here: http://www.vtk.org/Wiki/IEEE_Vis08_ParaView_Tutorial Please note that I've just uploaded the accompanying animations. they are rather large, clocking in almost 200MB (which is why I didn't previously put them on the wiki). The

[Paraview] extracting surfaces 3.4.0

2008-11-19 Thread Stephen Wornom
My mesh has rectangular exterior boundaries. Extracting one of them is fairly easy. The problem is that the interior is a cylinder. 1-How do I tell PV that the cylinder boundary is a surface? 2-How do I extract the cylinder surface? Stephen -- [EMAIL PROTECTED] 2004 route des lucioles - BP93

Re: [Paraview] Extension from Plugin-Reader does not apper - QT 4.4 issue?

2008-11-19 Thread Moreland, Kenneth
There are not quite enough details here to say exactly what your problem might be. Rather, I will try to answer your specific questions. * The extension(s) you specify in the Reader tag of your GUI_RESOURCE_FILES (along with the file description) should show up in the file types combo box of

[Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Nehme Bilal
Hello, I am looking for a way to save a proxy properties and restore it later. The only way I found is by saving and restoring the state using: virtual vtkPVXMLElement* SaveState(vtkPVXMLElement* root); virtual int LoadState(vtkPVXMLElement* element, vtkSMStateLoaderBase* loader); I don't

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Nehme Bilal
Hello, Sorry I missed a few commas in the last message. this is the correct one: I am looking for a way to save a proxy properties and restore it later. The only way I found is by saving and restoring the state using: virtual vtkPVXMLElement* SaveState(vtkPVXMLElement* root); virtual int

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
Nehme, What properties are you changing/trying to restore? Is tempProxy of the same type as src? Utkarsh Nehme Bilal wrote: Hello, Sorry I missed a few commas in the last message. this is the correct one: I am looking for a way to save a proxy properties and restore it later. The only way

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Nehme Bilal
tempProxy is just a proxy I created using: vtkSMProxy tempProxy = vtkSMProxy::New(); I am trying to save/restore all the object properties displayed in the object inspector. On Wed, 19 Nov 2008 09:30:55 -0500 Utkarsh Ayachit [EMAIL PROTECTED] wrote: Nehme, What properties are you

Re: [Paraview] extracting surfaces 3.4.0

2008-11-19 Thread rnelias
Quoting Stephen Wornom [EMAIL PROTECTED]: My mesh has rectangular exterior boundaries. Extracting one of them is fairly easy. The problem is that the interior is a cylinder. 1-How do I tell PV that the cylinder boundary is a surface? Actually, you don't need to do that to extract the

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
Here's one way of doing it: vtkSMProxyManager* pxm = vtkSMObject::GetProxyManager(); vtkSMProxy *tempProxy = pxm-NewProxy( src-GetXMLGroup(), src-GetXMLName()); tempProxy-Copy(src); src-Copy(tempProxy); Utkarsh Nehme Bilal wrote: tempProxy is just a proxy I created using:

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Nehme Bilal
Thank you Utkarsh ! it works but I have some problems like: - after restoring the proxy, changing some display properties in Paraview has no effect (like color ...) - only the display properties are saved/restored. (variables in object inspector properties tab are not restored) It's

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Geoff Draper
Hello, I'm also facing a related problem when I save/restore vtkSMProxy's. The proxy ID is stored in the XML file. So when I reload the proxies, the StateLoader attempts to recreate the proxy with the same ID as before. But because I'm running a new ParaView session, sometimes the saved ID

[Paraview] PVPython where is PiecewiseFunction

2008-11-19 Thread Kevin H. Hobbs
I'm trying to make a ParaView python script to do some volume rendering. I can load my data, set the representation to volume rendering, and set the color scale the way I want, but I can't figure out how to set the opacity. I found rep.ScalarOpacityFunction, but what do I set it to? I created a

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
What state loader are you using? If you use vtkSMPQStateLoader or subclass it should not try to reassing IDs. Utkarsh Geoff Draper wrote: Hello, I'm also facing a related problem when I save/restore vtkSMProxy's. The proxy ID is stored in the XML file. So when I reload the proxies, the

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Geoff Draper
I'm using vtkSMUndoRedoStateLoader, which is the state loader used by pqUndoStack. My proxies are encapsulated within vtkUndoSet objects when they are saved/restored. --Geoff On Wed, 19 Nov 2008, Utkarsh Ayachit wrote: What state loader are you using? If you use vtkSMPQStateLoader or

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
UndoRedo states are not meant to loaded across different sessions. If loaded in the same session such ID conflicts should not occur. Utkarsh Geoff Draper wrote: I'm using vtkSMUndoRedoStateLoader, which is the state loader used by pqUndoStack. My proxies are encapsulated within vtkUndoSet

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
For saving the object inspector properties you'll have to save/restore the state for the source proxy (and not merely it's representation proxy). Utkarsh Nehme Bilal wrote: Thank you Utkarsh ! it works but I have some problems like: - after restoring the proxy, changing some display

Re: [Paraview] vtkSMProxy saving/restoring

2008-11-19 Thread Utkarsh Ayachit
Ah I think I know the problem. vtkSMProxy::Copy() copies all properties even those on the sub proxies. A representation is a complex beast with several internal subproxies which are linked up internally. You actually simply want to save/restore the exposed properties so I'd do something like

Re: [Paraview] LD_LIBRARY_PATH

2008-11-19 Thread Satheesh Maheswaran
thanks for your help. I found that if i compile Qt with -release option, and then compile pv-3.4.0 as normal, I don't need to add qt libs to my LD_LIBRARY_PATH. 2008/11/17 Berk Geveci [EMAIL PROTECTED]: CMake strips RPATH during installation. The only way to achieve what you want without

[Paraview] vtkGaussianSplatter

2008-11-19 Thread John Vines (CISD/HPCD)
All, I have an application which requires the vtkGaussianSplatter filter. I'm assuming I will need to write a plugin for Paraview to add this VTK filter, is this correct? Thanks in advance, John ___ ParaView mailing list ParaView@paraview.org

Re: [Paraview] vtkGaussianSplatter

2008-11-19 Thread David E DeMarle
Yes, but the plugin in this case consists only of the XML file which defines the proxy that tells ParaView about the filter. Write that and then load it with via the plugin manager dialog. cheers, Dave On Wed, Nov 19, 2008 at 3:44 PM, John Vines (CISD/HPCD) [EMAIL PROTECTED] wrote: All, I