[Paraview] load state :: file filter

2008-11-24 Thread Ricardo Reis


 When doing load state

 and having in the Files of type selected Paraview state file (*.pvsm)

 instead of just showing up the files ending with .pvsm

 all files are shown.

 I'm using paraview compile from cvs right now.

 best,

 Ricardo Reis

 'Non Serviam'

 PhD student @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Highlighting Selected Area

2008-11-24 Thread Rafael March
Hey paraview comunity,

I have a problem, and I think you can show me the path to solve it.

I've programmed a plugin which has a custom Object Panel. In this panel, I can 
select in a QComboBox an integer number, from 0 to 6. Suppose now that I have 
an unstructured grid, whose cells contain a scalar data field. What I want to 
do is, when a specific integer is selected, the cells which have this number 
associated as scalar data have their edges highlighted. By highlighted I mean 
coloured in green, pink, red, or any different color. 

ParaView colors my model according to the number associated with each cell. I 
want to have this colors preserved. What I want to do is exactly what Selection 
Inspector does, when I choose to select by Threshold.

Any suggestions ?

Thanks y'all,
Rafael March.



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


Re: [Paraview] Paraview state loading

2008-11-24 Thread Nehme Bilal

Thank you utkarsh for your response,

If the names of proxies can be duplicated, and the Id's 
are regenerated after loading the state, how to re locate 
the proxies then ?




On Sun, 23 Nov 2008 22:29:26 -0500
 Utkarsh Ayachit [EMAIL PROTECTED] wrote:
You cannot. It;s risky to try to reuse the same IDs 
since they might
have been used by some other object/proxy. You can make 
the state
loader not clear the proxies it created while loading 
the state (call
vtkSMStateLoader::LoadState() with keep_proxies=1) then 
you can use
NewProxy(int) to obtain the proxies created associated 
with the

SelfIDs in the state file.

Utkarsh

On Sun, Nov 23, 2008 at 11:51 AM, Nehme Bilal 
[EMAIL PROTECTED] wrote:

Hello,

After loading Paraview state, paraview regenerate 
proxies selfID, how can I

restore the same selfID's ?

Thanks
___
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


Re: [Paraview] Paraview state loading

2008-11-24 Thread Nehme Bilal


paraview load state use :
void vtkSMProxyManager::LoadState(vtkPVXMLElement* 
rootElement, vtkIdType id,

  vtkSMStateLoader* loader/*=NULL*/)

so to test if keep_proxies works, I just added 1 to:
spLoader-LoadState(rootElement, 1);

after loading the state and saving again:
Proxy group=sources type=CubeSource id=86 
servers=1

became:
Proxy group=sources type=CubeSource id=92 
servers=1


that mean keep_proxies is not working ?


On Sun, 23 Nov 2008 22:29:26 -0500
 Utkarsh Ayachit [EMAIL PROTECTED] wrote:
You cannot. It;s risky to try to reuse the same IDs 
since they might
have been used by some other object/proxy. You can make 
the state
loader not clear the proxies it created while loading 
the state (call
vtkSMStateLoader::LoadState() with keep_proxies=1) then 
you can use
NewProxy(int) to obtain the proxies created associated 
with the

SelfIDs in the state file.

Utkarsh

On Sun, Nov 23, 2008 at 11:51 AM, Nehme Bilal 
[EMAIL PROTECTED] wrote:

Hello,

After loading Paraview state, paraview regenerate 
proxies selfID, how can I

restore the same selfID's ?

Thanks
___
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


[Paraview] How is builtin different from localhost?

2008-11-24 Thread Biao She
Hi all.
I have tested paraview on a builtin server and a localhost server(run
pvserver and connect client to it on the same computer). It seems to me that
the builtin server is much faster than localhost server. Since the computer
is the same, i am wondering if the localhost server have to readback all the
data in GPU and transfer these data to client in order to be displayed? On
the other hand, for the builtin server, the data in GPU is displayed
directly(no readback). Could you please explain why the localhost is slower
than builtin?
Thanks very much!

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


Re: [Paraview] How is builtin different from localhost?

2008-11-24 Thread David E DeMarle
On Mon, Nov 24, 2008 at 1:33 PM, Biao She [EMAIL PROTECTED] wrote:
 Hi all.
 I have tested paraview on a builtin server and a localhost server(run
 pvserver and connect client to it on the same computer). It seems to me that
 the builtin server is much faster than localhost server. Since the computer
 is the same, i am wondering if the localhost server have to readback all the
 data in GPU and transfer these data to client in order to be displayed? On
 the other hand, for the builtin server, the data in GPU is displayed
 directly(no readback). Could you please explain why the localhost is slower
 than builtin?
 Thanks very much!

 Aaron

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



The builtin server lives inside the same process as the client. All
communication between server and client takes place via pointers and
vtk class methods are directly called.

Localhost ie, running pvserver on the same machine as the client and
connecting to it consists of two separate processes. It is slower
because both processes compete for CPU cycles and memory space more
importantly, because communication between the two takes place via TCP
sockets.

-- 
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] How is builtin different from localhost?

2008-11-24 Thread Biao She
Thanks for your reply.
I have another question though. You said the two processes communicated via
TCP sockets. What do they actually transfer? The final rendered image? The
vtk class methods calls? Or both?
I also have tested the pvserver on a remote computer, and I connected to the
server with 100 M network. I am wondering if the network speed is good
enough for paraveiw? In other words, no huge display delay because of
network?
Thanks.

Biao

On Mon, Nov 24, 2008 at 11:43 AM, David E DeMarle
[EMAIL PROTECTED]wrote:

 On Mon, Nov 24, 2008 at 1:33 PM, Biao She [EMAIL PROTECTED] wrote:
  Hi all.
  I have tested paraview on a builtin server and a localhost server(run
  pvserver and connect client to it on the same computer). It seems to me
 that
  the builtin server is much faster than localhost server. Since the
 computer
  is the same, i am wondering if the localhost server have to readback all
 the
  data in GPU and transfer these data to client in order to be displayed?
 On
  the other hand, for the builtin server, the data in GPU is displayed
  directly(no readback). Could you please explain why the localhost is
 slower
  than builtin?
  Thanks very much!
 
  Aaron
 
  ___
  ParaView mailing list
  ParaView@paraview.org
  http://www.paraview.org/mailman/listinfo/paraview
 
 

 The builtin server lives inside the same process as the client. All
 communication between server and client takes place via pointers and
 vtk class methods are directly called.

 Localhost ie, running pvserver on the same machine as the client and
 connecting to it consists of two separate processes. It is slower
 because both processes compete for CPU cycles and memory space more
 importantly, because communication between the two takes place via TCP
 sockets.

 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109




-- 
She, Biao
Department of Computing Science,
University of Alberta, Edmonton, Canada
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How is builtin different from localhost?

2008-11-24 Thread David E DeMarle
On Mon, Nov 24, 2008 at 2:22 PM, Biao She [EMAIL PROTECTED] wrote:
 Thanks for your reply.
 I have another question though. You said the two processes communicated via
 TCP sockets. What do they actually transfer? The final rendered image? The
 vtk class methods calls? Or both?
 I also have tested the pvserver on a remote computer, and I connected to the
 server with 100 M network. I am wondering if the network speed is good
 enough for paraveiw? In other words, no huge display delay because of
 network?
 Thanks.

 Biao

 On Mon, Nov 24, 2008 at 11:43 AM, David E DeMarle [EMAIL PROTECTED]
 wrote:

 On Mon, Nov 24, 2008 at 1:33 PM, Biao She [EMAIL PROTECTED] wrote:
  Hi all.
  I have tested paraview on a builtin server and a localhost server(run
  pvserver and connect client to it on the same computer). It seems to me
  that
  the builtin server is much faster than localhost server. Since the
  computer
  is the same, i am wondering if the localhost server have to readback all
  the
  data in GPU and transfer these data to client in order to be displayed?
  On
  the other hand, for the builtin server, the data in GPU is displayed
  directly(no readback). Could you please explain why the localhost is
  slower
  than builtin?
  Thanks very much!
 
  Aaron
 
  ___
  ParaView mailing list
  ParaView@paraview.org
  http://www.paraview.org/mailman/listinfo/paraview
 
 

 The builtin server lives inside the same process as the client. All
 communication between server and client takes place via pointers and
 vtk class methods are directly called.

 Localhost ie, running pvserver on the same machine as the client and
 connecting to it consists of two separate processes. It is slower
 because both processes compete for CPU cycles and memory space more
 importantly, because communication between the two takes place via TCP
 sockets.

 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109



 --
 She, Biao
 Department of Computing Science,
 University of Alberta, Edmonton, Canada


It depends on the settings.

* vtk class method names and arguments to data processing filters
(clip, slice, contour, surface generation) are always sent from the
client to the server whenever a filter parameter changes.

* If the resulting geometry is smaller than the
settings-remote-server-remote render threshold, than the geometry
is sent back (on each filter parameter change, NOT on every camera
setting change) to the client and rendered locally.

* If the geometry is larger than that, then the image is rendered by
the server and the pixels are sent back every frame.

* If the visible geometry is small enough that the client can render
it interactively, than a 100M connection shouldn't be any problem.

-- 
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


[Paraview] Fwd: [Fwd: load state :: file filter]

2008-11-24 Thread Zhanping Liu
This is the forwarded answer to 'Load State::file filter'. Hope it will be
there to the public just if it has not been.

Zhanping Liu, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x 138
http://www.zhanpingliu.org


-- Forwarded message --
From: Zhanping Liu [EMAIL PROTECTED]
Date: Mon, Nov 24, 2008 at 1:28 PM
Subject: Fwd: [Fwd: [Paraview] load state :: file filter]
To: [EMAIL PROTECTED]
Cc: paraview@paraview.org


Hi Ricardo Reis:

As you know, pqFileDialog is a sub-class of QDialog. In fact QDialog
takes a set of 'SIMILAR' files as something like a folder and groups these
files together, which are then shown, instead of being filtered out, in the
'Load State' file dialog. By 'SIMILAR', such files have the same file name
(and certainly the same file extension) EXCEPT FOR the DIGIT-based suffixes.
Here are some examples:

(1) Image00.bmp and Image01.bmp are SIMILAR.
(2) Image00.bmp and Image999.bmp are SIMILAR --- the suffixes may be of
different lengths.
(3) Image.bmp and Image00.bmp are NOT SIMILAR --- because the former
file name does not contain a digit-based suffix.
(4) Image00.bmp and Imagexx are NOT SIMILAR.

Such a grouping mechanism (applicable to only SIMILAR files) provided by
pqFileDialog (and originally QDialog) is desired in that it avoids a
possibly long list of SIMILAR files in the preview (the long list is
expandable only per the user's click --- this is desirable) when All
Files(*) is used.

In a word, what was reported might not be a bug. Instead it is just a
useful feature. If there are no any SIMILAR files in a directory, the
mis-filter 'problem'' will not occur. Should file dialog mis-filtering occur
again with a directory that contains no any SIMILAR files, please let me
know.

Thanks.

-Zhanping
  -- Forwarded message --
From: Utkarsh Ayachit [EMAIL PROTECTED]
Date: Mon, Nov 24, 2008 at 9:16 AM
Subject: [Fwd: [Paraview] load state :: file filter]
To: Zhanping Liu [EMAIL PROTECTED]


Zhanping,

Can you take a look at this?

Thanks,
Utkarsh

 Original Message 
Subject: [Paraview] load state :: file filter
Date: Mon, 24 Nov 2008 11:58:38 + (WET)
From: Ricardo Reis [EMAIL PROTECTED]
To: paraview@paraview.org


 When doing load state

 and having in the Files of type selected Paraview state file (*.pvsm)

 instead of just showing up the files ending with .pvsm

 all files are shown.

 I'm using paraview compile from cvs right now.

 best,

 Ricardo Reis

 'Non Serviam'

 PhD student @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/

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








-- 
Zhanping Liu, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x 138
http://www.zhanpingliu.org
___
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


Re: [Paraview] Paraview 3.4 cross-compilation (Cray XT4) : pvserver

2008-11-24 Thread Moreland, Kenneth
Someone who actually did the technical work can correct me, but I believe the 
the current version of the Cray XT port was done against the Cray XT3 running 
catamount.  Catamount does not support sockets, so all the socket code and 
anything relying on it was disabled.  Thus, the first step is to turn the 
sockets back on.  It sounds like you have already done that.

Not having used a Cray XT4, I cannot profess to understand all the technical 
details.  It sounds like all you may need to do is establish a reverse 
connection.  That is, the client will listen on a port and the server will 
connect back to it.  To set up a reverse connection, simply make a client 
connection with a reverse connection type and launch pvserver with the -rc flag 
and the appropriate --client-host flag.

-Ken


On 11/21/08 7:09 AM, Asimina Maniopoulou [EMAIL PROTECTED] wrote:

Dear all,
I have cross compiled Paraview 3.4 on a Cay XT4 machine following mostly
the instructions on page
http://www.paraview.org/Wiki/Compiling_ParaView3_for_Cray_supercomputers
Firstly I tested pvbatch using the coloredSphere.py I found on the page
above , which seems to have worked fine.

I have also installed on the login node the paraview GUI and I was
trying to set up paraview and pvserver to work together.
It seems though that pvserver that runs on the computed nodes is trying
to open IP sockets to establish communication with the login node.
CNL (the operating system on the compute node) supports sockets but  is
not configured  to open  ports (while opening a port on the computing
node from a server  running on the login node is possible)
Is there any way round this as far as the configuration of pvserver is
concerned?

Thanks



The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.

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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  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] How to view the multiple slices on a volumn rendered object?

2008-11-24 Thread Moreland, Kenneth
Weicheng,

The Auto Accept option mostly does what you want.  Open up the ParaView 
options dialog box (Edit - Settings or ParaView - Preferences on Mac), go to 
the General page and click on the Auto Accept checkbox.  Once you turn this on, 
you will never have to hit Apply; all changes get applied as soon as you make 
it.  This change is system wide, it will happen for any reader, source, or 
filter, not just the slice filter.  Also, slice filter will only update once 
you let go of the 3D widget; it will not continuously change as you move it 
around.

Another option you might be interested in is the slice offset values option in 
the slice filter.  The slice filter allows you to place multiple slices at 
once.  Just scroll to the bottom of the object inspector and add a new range of 
slice offset values.

Yet another option you might be interested in is the ability to animate the 
slice plane.  Open the animation view (View - Animation View) and add a track 
for the Slice Offset Values parameter of the slice filter.  The default values 
will animate the slice plane along the normal direction of the slice widget.

-Ken


On 11/21/08 4:51 PM, SHEN, WEICHENG . [EMAIL PROTECTED] wrote:

I have a volume rendered 3D cube (uniform rectilinear grid data), which
is rendered by loading the data into the Paraview and applying a
threshold filter on it. Now I apply a slice filter on this volume
rendered 3D cube. However, in order to see that 2D plane cut by the
slice, I have to click at the apply button wherever I place the
slice on the 3D cube.
Is it possible that I can see the 2D plane cut by the slice as I move
the slice on the 3D cube?

Thanks!

Weicheng Shen


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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  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] Example of displaying information

2008-11-24 Thread Michael Jackson

I have some example code that might help if you are interested..

On Nov 24, 2008, at 5:43 PM, Moreland, Kenneth wrote:

A straightforward way of implementing this would be to add a custom  
view via a plugin.  The Plugin HowTo Wiki page describes how to make  
a plugin with a custom view in it.  The implementation to get the  
data you need to display in the view is up to you.


  http://www.paraview.org/Wiki/Plugin_HowTo

-Ken


On 11/24/08 10:24 AM, Bryn Lloyd [EMAIL PROTECTED] wrote:

Hi

I have been looking for an example, which would help me understand how
I can get some information about a dataset and display it in a GUI
element (e.g. in a QLabel).

E.g. as an example, I would like to have a panel or some other gui
element, which displays certain values which it gets from a data set
(e.g. number of lines in a polydata, or total volume of a unstructured
grid, or ...)

Can you please suggest how I could achieve this?

Thanks,
Bryn






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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

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


_
Mike Jackson  [EMAIL PROTECTED]
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio



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


Re: [Paraview] Example of displaying information

2008-11-24 Thread Moreland, Kenneth
A straightforward way of implementing this would be to add a custom view via a 
plugin.  The Plugin HowTo Wiki page describes how to make a plugin with a 
custom view in it.  The implementation to get the data you need to display in 
the view is up to you.

  http://www.paraview.org/Wiki/Plugin_HowTo

-Ken


On 11/24/08 10:24 AM, Bryn Lloyd [EMAIL PROTECTED] wrote:

Hi

I have been looking for an example, which would help me understand how
I can get some information about a dataset and display it in a GUI
element (e.g. in a QLabel).

E.g. as an example, I would like to have a panel or some other gui
element, which displays certain values which it gets from a data set
(e.g. number of lines in a polydata, or total volume of a unstructured
grid, or ...)

Can you please suggest how I could achieve this?

Thanks,
Bryn






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




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  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] Fwd: [Fwd: load state :: file filter]

2008-11-24 Thread Ricardo Reis


Hi Zhanping

On Mon, 24 Nov 2008, Zhanping Liu wrote:


   In a word, what was reported might not be a bug. Instead it is just a
useful feature. If there are no any SIMILAR files in a directory, the
mis-filter 'problem'' will not occur. Should file dialog mis-filtering occur
again with a directory that contains no any SIMILAR files, please let me
know.


Let me put it this way: all files (*.case, *.scl, *.vec) show up, besides 
the *.pvsm which were the only files I expected. If you want I can make a 
film or take a printscreen for you to see. If there is any other info that 
can be helpful let me know.


best,

 Ricardo Reis

 'Non Serviam'

 PhD student @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Multiple temporal shifts still not working right

2008-11-24 Thread Moreland, Kenneth
Nuts.  I guess it wasn't fixed after all.  I submitted a new bug report with 
your new description.

  http://www.paraview.org/Bug/view.php?id=8156

Note that I think I found a workaround using the temporal cache filter.  
(Details in the bug report.)

-Ken


On 11/21/08 8:15 AM, Eric E. Monson [EMAIL PROTECTED] wrote:

Hey,

Sorry for the long email, but I find this problem difficult to
describe succinctly...

In February I was trying to use multiple Temporal Shift Scale filters
as input to a Python Programmable Filter to do on-the-fly point
velocity calculations (for diffusing particles in my simulation
output). There were troubles with the pipeline updating properly, and
Ken Moreland came up with a nice self-contained test case and filed
the bug 6307:

http://www.paraview.org/Bug/view.php?id=6307

which was listed in August as fixed because the test case seemed to
work now. But, I don't think this is really resolved yet.

If you load in the TimeShiftTest2.pvsm state file, the animation seems
to play correctly, but I think that's a red herring. If you turn off
the visibility of the TemporalShiftScale filters, you can see that no
boxes move until after t=1.0, whereas if the temporal filters are
turned on, and the group filter is turned off, one box moves and then
the other.

I don't know if this helps, but if you look at the Output printed by
the Python filter in TimeShiftTest1.pvsm, you can see that the
temporal data sets have the correct time, but the ImageData within
them doesn't match.
..

All of this is much more clear to me when I load in a simple data set
with one point moving in time (attached Xdmf data set -- I'll also
attach a link to a state file which sets this pipeline up, but you'll
have to change the path for the data file in the state file manually
if you want to use it).

The pipeline is: Load data. Add a Temporal Shift Scale with (post)
shift=0. Add another TSS off the original data set with (post) shift =
1. Highlight both TSSs and route into a Python Programmable Filter
with Unstructured Grid output and this script:

in0 = self.GetInputDataObject(0,0)
ds0 = in0.GetTimeStep(0)
in1 = self.GetInputDataObject(0,1)
ds1 = in1.GetTimeStep(0)
print 'in1 t = %.1f' % in1.GetInformation().Get(in1.DATA_TIME_STEPS(),0)
print 'ds1 t = %.1f' % ds1.GetInformation().Get(ds1.DATA_TIME_STEPS(),0)
print 'in0 t = %.1f' % in0.GetInformation().Get(in0.DATA_TIME_STEPS(),0)
print 'ds0 t = %.1f' % ds0.GetInformation().Get(ds0.DATA_TIME_STEPS(),0)
out1 = self.GetOutputDataObject(0)
out1.ShallowCopy(ds0)
print 'out1 t = %.1f' %
out1.GetInformation().Get(out1.DATA_TIME_STEPS(),0)

When I animate this (PV CVS or 3.4, OS X 10.5.5), with the TSSs on and
the PPF off, I see the expected: two points, one following the other.
When the TSSs are off and the PPF is on, only one point shows up.
Also, the behavior is different if the animation is stepped backwards
rather than forwards. And, the printed Output times from the PPF show
one of the ImageData sets time doesn't match its temporal host.

As in Ken's example, this works very similarly with a Group filter in
place of the PPF.

This still seems very confusing, and I hope someone will have some clue!

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group

Test data set:




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: [EMAIL PROTECTED]
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

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


[Paraview] volume rendering for image data

2008-11-24 Thread Biao She
Hi all.
I just got two quick questions. I am wondering what's the algorithms used in
paraview for image data volume rendering? Does these algorithms use GPU at
all?
Thanks!

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


Re: [Paraview] Fwd: [Fwd: load state :: file filter]

2008-11-24 Thread Scott, W Alan
Ricardo,

You are correct, it is a bug. From what I could see, not all files will show up 
besides *.pvsm ones (for instance, .exo does not show up in the list).  This 
makes the problem pretty confusing.  I wrote up bug number 8159.

Zhanping, if this is incorrect, please just resolve the bug and I can take a 
further look at it.

Thanks,

Alan  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Reis
Sent: Monday, November 24, 2008 4:49 PM
To: Zhanping Liu
Cc: paraview@paraview.org
Subject: Re: [Paraview] Fwd: [Fwd: load state :: file filter]


Hi Zhanping

On Mon, 24 Nov 2008, Zhanping Liu wrote:

In a word, what was reported might not be a bug. Instead it is just 
 a useful feature. If there are no any SIMILAR files in a directory, 
 the mis-filter 'problem'' will not occur. Should file dialog 
 mis-filtering occur again with a directory that contains no any 
 SIMILAR files, please let me know.

Let me put it this way: all files (*.case, *.scl, *.vec) show up, besides the 
*.pvsm which were the only files I expected. If you want I can make a film or 
take a printscreen for you to see. If there is any other info that can be 
helpful let me know.

best,

  Ricardo Reis

  'Non Serviam'

  PhD student @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Post processing discrete phase

2008-11-24 Thread Berk Geveci
I apologize for my ignorance. It sounds like you are referring to a
set of particles that change position over time. Am I correct?

-berk

On Mon, Nov 24, 2008 at 5:45 AM, Michele Vascellari
[EMAIL PROTECTED] wrote:
 Hello!
 I want to post-process the discrete phase matter from Fluent, does anyone
 have experience on it.
 In particular which format for discrete phase (trajectories of particles) is
 compatible with paraview?
 Thank you!
 Michele
 ___
 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


[Paraview] Bug in Color Scale

2008-11-24 Thread Shi Jin
Hi there,

I just upgraded my paraview from 3.10 to 3.40. Immediately I found that the 
same data was not colored correctly with the new version. It turned out that in 
the Display Tab, Rescale to Data Range button actually does nothing. If I 
clicked on Edit Color Map.., I found that the maximum of data range is always 1 
(minimum always 0), no matter what the real range is. I can of course uncheck 
Automatically Rescale to Fit Data Range, and set the range using Rescale Range 
button by hand. However, I think this is not what it is supposed to be.  I 
tried both the Linux-64bit binary found online and my own build on an ubuntu 
box and they have the same problem.  Please let me know if it is indeed a bug 
or just something I didn't get right. Thanks a lot.

Thanks a lot.
Shi


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


Re: [Paraview] plot over line

2008-11-24 Thread Berk Geveci
Hi Stephen,

This is a feature we are looking at implementing for the next release.
Just a question though, how did you generate the line?

-berk

On Thu, Nov 20, 2008 at 5:29 AM, Stephen Wornom
[EMAIL PROTECTED] wrote:
 How does one plot over line if the line is curved in x,y,z?
 I would like to plot pressure over a curved line in a x-y plane.

 I tried:
 1-using the calculator to compute the arc length but the plot options remain
 lines in x or y or z (no arc length is added).
 2-I tried exporting, I get the x,y, z coordinates to process outside of PV
 but the pressure does not get written.
 Any ideas?
 Stephen

 --
 [EMAIL PROTECTED]
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


 ___
 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