Re: [Paraview] Press Apply Button from Toolbar

2009-02-02 Thread David E DeMarle
Does the Auto Accept toggle work for you?
It is under Options-General


On Mon, Feb 2, 2009 at 10:40 AM, Michael Geppert michaelgepp...@gmx.net wrote:
 Hi everyone,

 I wrote a toolbar plugin with a copy  paste function for filter pipelines.
 My toolbar button just copies the selected part of the pipeline to the
 selected source. Now I would like my filter to auto-press the apply button
 of every newly-created filter, is this possible somehow?

 Thanks!

 Michael Geppert
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




-- 
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Press Apply Button from Toolbar (Michael Geppert)

2009-02-02 Thread Nehme Bilal

Hi Michael,

I think you need to look on:
- pqProxy::setModifiedState(ModifiedState modified);
- vtkSMProxy::Modified();
- vtkSMProperty::SetImmediateUpdate();

I did a similar copy/paste application but also you can 
copy and paste sources and readers on the root. I didn't 
try to add the auto-apply because some time the users 
wants to changes a value before applying.


I have a question: Is your copy/paste work on clip filter 
? I mean is the widget position copying working or the 
widget always reset it's position ?


Nehme





Message: 1
Date: Mon, 02 Feb 2009 16:40:55 +0100
From: Michael Geppert michaelgepp...@gmx.net
Subject: [Paraview] Press Apply Button from Toolbar
To: paraview@paraview.org
Message-ID: 49871407.3050...@gmx.net
Content-Type: text/plain; charset=ISO-8859-15; 
format=flowed


Hi everyone,

I wrote a toolbar plugin with a copy  paste function 
for filter 
pipelines. My toolbar button just copies the selected 
part of the 
pipeline to the selected source. Now I would like my 
filter to 
auto-press the apply button of every newly-created 
filter, is this 
possible somehow?


Thanks!

Michael Geppert


--

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


End of ParaView Digest, Vol 58, Issue 1
***


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Press Apply Button from Toolbar

2009-02-02 Thread Michael Geppert

Hi everyone,

I wrote a toolbar plugin with a copy  paste function for filter 
pipelines. My toolbar button just copies the selected part of the 
pipeline to the selected source. Now I would like my filter to 
auto-press the apply button of every newly-created filter, is this 
possible somehow?


Thanks!

Michael Geppert
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on a tiled display

2009-02-02 Thread Utkarsh Ayachit
I knew I should have looked it up before responding :), I stand corrected.

On Mon, Feb 2, 2009 at 1:00 PM, Moreland, Kenneth kmo...@sandia.gov wrote:
 Sorry, but that's not true at all.  It is in fact encouraged to have more
 processors than tiles when driving a tiled display.  All the processors,
 even the non-display ones, will be involved in the processing and parallel
 rendering work.

 -Ken


 On 1/30/09 11:43 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:

 The number of processes must match the number of tiles (num of tiles =
 tdx * tdy). In your case you have 8 processes are only 2*1 = 3 tiles?

 Utkarsh

 On Fri, Jan 30, 2009 at 10:21 AM, Camilo Marin
 igetmyjunkmailh...@gmail.com wrote:
 Hi all,


 We are trying to configure and run Paraview 3.4.0 on a tiled display with
 the following command:

 mpirun -np 8 --mca btl ^openib,udapl --mca btl_tcp_if_exclude lo
 --hostfile
 /home/imagine/ParaView/hosts /bin/env DISPLAY=:0
 ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/pvserver
 --server-port=1100 -tdx=1 -tdy=2

 Then when we connect throught the paraview client it doesn't show in the
 two
 displays we requested.

 So, is there a guideline or some kind of command/configuration we are
 missing so it can be displayed as wished?



 Thnaks in advance.


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




  Kenneth Moreland
 ***  Sandia National Laboratories
 ***
 *** *** ***  email: kmo...@sandia.gov
 **  ***  **  phone: (505) 844-8919
 ***  web:   http://www.cs.unm.edu/~kmorel


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview on a tiled display

2009-02-02 Thread Moreland, Kenneth
pvserver should be creating windows on the xhost specified by the DISPLAY 
environment variable.  Are you sure that your xhost is properly accepting and 
showing windows?  What happens if you replace pvserver with a program like 
glxgears in the mpirun call you show below?  Do you see an OpenGL window on 
each of the displays?

-Ken


On 1/30/09 8:21 AM, Camilo Marin igetmyjunkmailh...@gmail.com wrote:

Hi all,


We are trying to configure and run Paraview 3.4.0 on a tiled display with the 
following command:

mpirun -np 8 --mca btl ^openib,udapl --mca btl_tcp_if_exclude lo --hostfile 
/home/imagine/ParaView/hosts /bin/env DISPLAY=:0 
~/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/pvserver 
--server-port=1100 -tdx=1 -tdy=2

Then when we connect throught the paraview client it doesn't show in the two 
displays we requested.

So, is there a guideline or some kind of command/configuration we are missing 
so it can be displayed as wished?



Thnaks in advance.




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview