[Paraview] PV 3.6.2 and VisIt Plugin: crash when loading state with Tecplot files

2010-01-26 Thread Richard GRENON

Hello.

PV 3.6.2 crashes on Linux when loading a state file (*.pvsm) that 
references Tecplot files.


Here is my test:

-Starting PV 3.6.2 (Linux), I load the VisIt plugin.
-I open two 3D IJK ordered Tecplot files (*.tp). No problem (PV freezes 
while loading the files, but I can continue after the files are loaded).
-I extract the J=1 surface for each file, I group the two extracted 
surface and I color this new dataset with one variable.

-I save the state of my work in a *.pvsm file.
-I disconnect to clear all data.
-I try to load the saved pvsm file. PV freezes as it does while opening 
Tecplot files, then it crashes!
The same crash happens when I try to load the state file after 
restarting PV and reloading the VisIt plugin.


Has anyone an idea?

Best regards.

--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Info about installing ParaView 3.6.2 on RedHat Enterprise

2010-01-26 Thread bassaidai
Hi,
we installed ParaView 3.6.2 only on Linux Debian and, as explained here
http://paraview.org/Wiki/ParaView:Build_And_Install#Build_ParaView, we
installed the additional .deb packages required (mpi, qt4, python...).

But if we would install ParaView 3.6.2 on Linux RedHat Enterprise, should we
install any .rpm additional packages?

Thank you very much
Luis
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] PV 3.6.2 and VisIt Plugin: crash when loading state with Tecplot files

2010-01-26 Thread Richard GRENON

Hello.

I have made an additional test: grouping all tecplot files in a same 
dataset before any other operation allows to use the saved state file.


Test 1: the simple pipeline that cannot be used as saved state:
- open Tecplot File 1
   |
   extract subset 1
- open Tecplot File 2
   |
   extract subset 2
- group subset 1 and subset 2 in new dataset 1
- coloring the dataset 1

Saving state of this pipeline, loading the pvsm file crashes PV.

Test 2: the more complex pipeline that can be used as a saved state:
- Open Tecplot File 1
- Open Tecplot File 2
- group loaded Tecplot Files 1 and 2 in new dataset 1
  |
  extract block 1 from dataset 1 (content of Tecplot file 1)
  extract subset 1 from bloc 1
  |
  extract block 2 from dataset 1 (content of Tecplot file 2)
  extract subset 2 from block 2
- group subset 1 and subset 2 in dataset 2
- coloring the dataset 2

Saving state of this pipeline, the pvsm file can be used.
Note: After loading the pvsm file, you must go on the reader of each 
tecplot file, select the arrays (unselected by default), then click apply.


Of course, I can attach the two corresponding pvsm files if it may help.

Best regards

--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV 3.6.2 and VisIt Plugin: crash when loading state with Tecplot files

2010-01-26 Thread Dave Partyka
Hi Richard, please do. I will try running your steps with a debug build and
see if I can track down the crash.

Thanks for tracking this down!

On Tue, Jan 26, 2010 at 7:25 AM, Richard GRENON wrote:

> Hello.
>
> I have made an additional test: grouping all tecplot files in a same
> dataset before any other operation allows to use the saved state file.
>
> Test 1: the simple pipeline that cannot be used as saved state:
> - open Tecplot File 1
>   |
>   extract subset 1
> - open Tecplot File 2
>   |
>   extract subset 2
> - group subset 1 and subset 2 in new dataset 1
> - coloring the dataset 1
>
> Saving state of this pipeline, loading the pvsm file crashes PV.
>
> Test 2: the more complex pipeline that can be used as a saved state:
> - Open Tecplot File 1
> - Open Tecplot File 2
> - group loaded Tecplot Files 1 and 2 in new dataset 1
>  |
>  extract block 1 from dataset 1 (content of Tecplot file 1)
>  extract subset 1 from bloc 1
>  |
>  extract block 2 from dataset 1 (content of Tecplot file 2)
>  extract subset 2 from block 2
> - group subset 1 and subset 2 in dataset 2
> - coloring the dataset 2
>
> Saving state of this pipeline, the pvsm file can be used.
> Note: After loading the pvsm file, you must go on the reader of each
> tecplot file, select the arrays (unselected by default), then click apply.
>
> Of course, I can attach the two corresponding pvsm files if it may help.
>
>
> Best regards
>
> --
> Richard GRENON
> ONERA
> Departement d'Aerodynamique Appliquee - DAAP/ACI
> 8 rue des Vertugadins
> 92190 MEUDON - FRANCE
> phone : +33 1 46 73 42 17
> fax   : +33 1 46 73 41 46
> mailto:richard.gre...@onera.fr
> http://www.onera.fr
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV 3.6.2 and VisIt Plugin: crash when loading state with Tecplot files

2010-01-26 Thread Richard GRENON

Hi Dave.

I attached a tar gzipped file that contains the two pvsm files:
essaipv01.pvsm : state file of Test 1, crashes PV.
essaipv02.pvsm : state file of Test 2, OK.

I can't send my two formatted Tecplot files (too big) but I think you 
can easily rebuild them with any data from the headers below.

Each file is a formatted Tecplot file with name ending with ".tp"
There is only one zone (block) per file.
Each zone is a 3D IJK ordered grid with coordinates x,y,z and some other 
scalar arrays (pressure, temperature, etc...)
Following are the file headers where you will find the dimensions of the 
grids and the variables:


- File 1:
TITLE = "E_Fld0001_RAPRO2_F06_M020"
VARIABLES = "x" "y" "z" "vx" "vy" "vz" "M" "p" "Pi" "rok" "viscrapp" 
"ro" "tsta" "tgen"

ZONE T="Window(s) : Dom0001",  I=181,  J=9,  K=97, F=BLOCK

-File 2:
TITLE = "E_Fld0002_RAPRO2_F06_M020"
VARIABLES = "x" "y" "z" "vx" "vy" "vz" "M" "p" "Pi" "rok" "viscrapp" 
"ro" "tsta" "tgen"

ZONE T="Window(s) : Dom0002",  I=61,  J=9,  K=25, F=BLOCK

Best regards,

Richard

Dave Partyka wrote:
Hi Richard, please do. I will try running your steps with a debug 
build and see if I can track down the crash.


Thanks for tracking this down!



--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr



pv362test.tar.gz
Description: GNU Zip compressed data
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] cone vs. cylinder glyph orientation

2010-01-26 Thread Ricardo Reis

On Mon, 25 Jan 2010, Moreland, Kenneth wrote:


This has come up before.  I don't know if anyone has resolved to take actions 
to fix the problem, but this email thread has a workaround.


There's a request for it, you can go there and vote...

http://paraview.uservoice.com/forums/11350-general/suggestions/309509-orient-cylinder-glyp-direction-using-vector?ref=title


 Ricardo Reis

 'Non Serviam'

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

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

 Keep them Flying! Ajude a/help Aero Fénix!

 http://www.aeronauta.com/aero.fenix

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

   < sent with alpine 2.00 >___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] time evolution not working when using EnsightMaster

2010-01-26 Thread Ricardo Reis


 I've got a set of data partioned in ensight and I am using the 
EnsightMaster Server files.


 If I open just part of the set (one of the case files) I can march in 
time without any problem.


 If I launch pvserver as a mpi process the time marching is not working. 
It keeps the same data and time evolves from


 0.0 to 0. to 0. to 0. ...

 I also get this error in the xterm of the pvserver machine:

 Process id: 0 >> ERROR: In
/home/rreis/src/ParaView3/Servers/Filters/vtkPVEnSightMasterServerReader.cxx,
line 330
vtkPVEnSightMasterServerReader (0xf39df0): Number of outputs does not
match on all nodes.

Process id: 1 >> ERROR: In
/home/rreis/src/ParaView3/Servers/Filters/vtkPVEnSightMasterServerReader.cxx,
line 330
vtkPVEnSightMasterServerReader (0xf22840): Number of outputs does not
match on all nodes.


 best,

 Ricardo Reis

 'Non Serviam'

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

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

 Keep them Flying! Ajude a/help Aero Fénix!

 http://www.aeronauta.com/aero.fenix

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

   < sent with alpine 2.00 >___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] X Error: BadLength on OpenSUSE11.2

2010-01-26 Thread Robert Sawko
Dear All,

I was getting acquainted with ParaView features via tutorials but
suddenly my education was interrupted with a X Error. Whilst doing a
tutorial 2.8 from the 3.6 Version of The ParaView Tutorial and upon
clicking Volume Representation I am being propmpted with the following
message:

X Error: BadLength (poly request too large or internal Xlib length error) 16
  Extension:135 (Uknown extension)
  Minor opcode: 1 (Unknown request)
  Resource id:  0x5a002cc

And also:
paraview: xcb_io.c:176: process_responses: Assertion `!(req &&
current_request && !(((long) (req->sequence) - (long)
(current_request)) <= 0))' failed.
Aborted

Then ParaView crashes.

I am running  OpenSUSE 11.2 with KDE 4.3.1. My Qt library bears a
number 4.5.3. If anybody encountered similar issued I would earnestly
ask for some assistance.

Many thanks,
Robert
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] X Error: BadLength on OpenSUSE11.2

2010-01-26 Thread Clinton Stimpson

I've seen BadLength errors when mixing mesa-dri and nvidia for glx 
client/server side.

"glxinfo | grep -i vendor" in a terminal can probably verify that.

Clint

On Tuesday 26 January 2010 11:04:02 am Robert Sawko wrote:
> Dear All,
>
> I was getting acquainted with ParaView features via tutorials but
> suddenly my education was interrupted with a X Error. Whilst doing a
> tutorial 2.8 from the 3.6 Version of The ParaView Tutorial and upon
> clicking Volume Representation I am being propmpted with the following
> message:
>
> X Error: BadLength (poly request too large or internal Xlib length error)
> 16 Extension:135 (Uknown extension)
>   Minor opcode: 1 (Unknown request)
>   Resource id:  0x5a002cc
>
> And also:
> paraview: xcb_io.c:176: process_responses: Assertion `!(req &&
> current_request && !(((long) (req->sequence) - (long)
> (current_request)) <= 0))' failed.
> Aborted
>
> Then ParaView crashes.
>
> I am running  OpenSUSE 11.2 with KDE 4.3.1. My Qt library bears a
> number 4.5.3. If anybody encountered similar issued I would earnestly
> ask for some assistance.
>
> Many thanks,
> Robert
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] X Error: BadLength on OpenSUSE11.2

2010-01-26 Thread Robert Sawko
Thank you for your reply. This is the results of the command you suggested:

glxinfo | grep -i vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: SGI
OpenGL vendor string: NVIDIA Corporation

Robert
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] vtkSMProxy::GetProperty gives segmentation fault

2010-01-26 Thread Erik Rasmussen
I wish I could have understood this issue.  I tested a variety of 
things, examined my executable with ldd, tried various cmake variable 
changes.  The problem persisted until I got rid of the ParaView 3.6.2 
distribution, downloaded it again, and built again.  That fixed the 
problem.  So I figured I would post this to the list in case any other 
unfortunate developer has the same problem.


Erik

On 1/21/10 3:30 PM, Utkarsh Ayachit wrote:

Can you verify that the xml for your plugin is valid? Just open in up
in firefox or something to make sure that the xml syntax is correct.

Utkarsh

On Thu, Jan 21, 2010 at 5:13 PM, Erik Rasmussen  wrote:
   

OS: Ubuntu 8.10 (intrepid)
PV:  3.6.1
Qt:  4.5.3
build:  Debug

I am working with a file-reading filter.  There are no error messages or
warnings when I compile.  After I build, I copy the filter .so files to the
bin/plugins location, where they are automatically detected by paraview.

When I choose the File, all goes well.  The usual RequestDataObject and
RequestInformation methods are executed.  All my debug output looks fine.

When I press the Apply button, I know that RequestData is messaged and it
seems to finish its work OK.

As an aside, my vtkDebugMacro output now only shows up in the gdb terminal
output; it stops going to the output messages window of Paraview.  I don't
know what that means, except that it seems to tell me that something is
going haywire near the start of RequestData, even though that method seems
to run fine.  (I suppose I'm not seeing it in the output messages window
because that window may be buffered?)

The actual crash seems to happen just about when ParaView would normally be
drawing an empty cube outline on the screen (the reader puts a rectilinear
grid into the pipeline).

In the traceback (below), it looks like ParaView is messaging vtkSMProxy
object that has not been instantiated... this=0x0

Has anyone seen this before?  Any suggestions on how to debug further?

Thanks,
Erik


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x46fc8e10 (LWP 3572)]
0x4014410d in vtkSMProxy::GetProperty (this=0x0, name=0x41f1a66f "Input") at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMProxy.h:158
158  return this->GetProperty(name, 0);
(gdb) bt
#0  0x4014410d in vtkSMProxy::GetProperty (this=0x0, name=0x41f1a66f
"Input") at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMProxy.h:158
#1  0x41cc9d64 in vtkSMRenderViewProxy::CreateDefaultRepresentation
(this=0x91dff70, source=0x87b5d30, opport=0)
at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMRenderViewProxy.cxx:1768
#2  0x4067b12c in pqObjectBuilder::createDataRepresentation (this=0x8a501a0,
opPort=0x9b88ca0, view=0x9209cd8, representationty...@0xbfa578f4)
at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqObjectBuilder.cxx:446
#3  0x406483b9 in pqDisplayPolicy::createPreferredRepresentation
(this=0x8aa0da0, opPort=0x9b88ca0, view=0x9209cd8, dont_create_view=false)
at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqDisplayPolicy.cxx:252
#4  0x40683dcd in pqPendingDisplayManager::createPendingDisplays
(this=0x8b4b940, activeview=0x9209cd8) at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqPendingDisplayManager.cxx:178
#5  0x406840e4 in pqPendingDisplayManager::createPendingDisplays
(this=0x8b4b940) at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqPendingDisplayManager.cxx:254
#6  0x406fd73e in pqPendingDisplayManager::qt_metacall (this=0x8b4b940,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfa57a48)
at
/home/erik/Research/Tools/ParaView/ParaView3.6/build_debug/Qt/Core/moc_pqPendingDisplayManager.cxx:83
#7  0x418809db in QMetaObject::activate (sender=0x8ebfd80,
from_signal_index=, to_signal_index=28, argv=0x0) at
/var/tmp/qt-x11-src-4.5.3/src/corelib/kernel/qobject.cpp:3104





___
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

 


   


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to make movies using trajectory data of granular particles

2010-01-26 Thread Moreland, Kenneth
Hmm.  Sounds like there is something wrong with the format of your data or 
something is wrong with ParaView's reader or your data file is using some 
feature that ParaView's reader does not support.  At any rate, there is not 
enough information here to diagnose the problem.  It would help if you posted 
your data.  Hopefully someone on the list who knows more about the XYZ 
molecular data format can look into it.  (I have never used it.)

-Ken


On 1/25/10 9:50 PM, "Ashish Bhateja"  wrote:

I am using XYZ molecular data file.

Ashish

On 26-Jan-10, at 12:56 AM, Moreland, Kenneth wrote:

Could you be more specific about what format your files are in?  Many different 
file formats use the .xyz extension, and the .dat extension is so generic as to 
provide no real information whatsoever.  ParaView provides two readers that 
read files that use the .xyz extension: XYZ Molecular data files and PLOT3D 
files.  However, as neither of these files have an associated .dat file, I 
don't think either of those is what you want, which is probably ParaView is not 
reading the data correctly.

 -Ken


 On 1/25/10 7:57 AM, "Ashish Bhateja"  wrote:


I loaded the trajectory using .xyz and .dat files (separately). But it gives an 
error.
 The thins is that .xyz file contains the trajectory data and its not opening.
 Whereas, with .dat file there is no error but lines are displayed instead of  
individual particles.

 Please help me in this issue.

 Thanks.

 Ashish
 On 25-Jan-10, at 8:18 PM, Biddiscombe, John A. wrote:


To load your data, if you have not done so already, search this list for many 
postings of the same question.

 To display trajectories, use the "Particle Pathlines" filter

 JB

 From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
Behalf Of Ashish Bhateja
 Sent: 25 January 2010 15:37
 To: Paraview Mailing List
 Subject: [Paraview] How to make movies using trajectory data of granular 
particles

 Dear Friends,

 I am new to Paraview. I am having trajectory data from simulation of granular 
particles.
 I tried a lot to make a movie in Paraview but couldn't find the way to do it.

 Please tell me the procedure to make movies from granular particle's 
trajectory data.

 Thanks.

 With best wishes,

 Ashish






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







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

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Peavip enables VTK filters and sources in ParaView

2010-01-26 Thread Jérôme
Dear all,

I launched a few months ago an initiative on github. This is called Peavip
and aims at
exposing VTK filters to the ParaView GUI.
The structure is as follow:
- each filter/source has its own XML description
(ServerManagerConfiguration)
  It allows for fast loading of particular filter, without having to build
something
- a CMakeLists gathers the XMLs in order to produce a cxx plugin
  The user can load all XMLized filters thanks to a single so/dll/dyn file.

This git repository is under development, and new features wil be added, I
hope, soon.
Coming next:
- Choice of exposed filters during the CMake setup
- Documentation!!
- Categorization of filters in the "Filters" menu from ParaView
- ... ideas from the community

You will find the Peavip git repository here:
http://github.com/jeromevelut/Peavip

Although this is a pre-alpha-Proof-of-concept-preliminar software,
I hope that it will be useful for people. Feel free to send feedbacks!

Best regards,
Jerome
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Git repository (mirror)

2010-01-26 Thread bastil2...@yahoo.de
Thanks. ssh wont work for me and using the proxy git fails at the same
large file than before.

Regards BastiL

Am 21.01.2010 22:13, schrieb Moreland, Kenneth:
> I believe there is a bug in git that causes the http transfer to fail
> when dealing with files above a certain size, and the ParaView
> repository has at least one such file.  That said, I also am behind a
> firewall and I have found (well, been told) two methods that have
> worked for me.  The first (and better but harder) solution is to set
> up a proxy for the git protocol.  To do this, first set up a script
> that tunnels connections through an HTTP proxy.  Copy the following
> into a file called git-proxy.sh.
>
> #!/bin/bash
> ( echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | nc //
> // | ( read a; read a; cat )
>
>
> You will of course replace // and // with the
> host and port of your http proxy.  Also keep in mind that this script
> is supposed to be exactly two lines (regardless of whether it has been
> broken up by an email program).
>
> Once you have this script, you then tell git to use it as the proxy
> for the git protocol.  Execute this script once and it will put the
> necessary parameter in the global git configuration for your machine.
>
> git config --global core.gitproxy ///git-proxy.sh
>
>
> I have gotten this to work on Mac and Linux.  I have not tried this on
> Windows.
>
> If you cannot get that to work, another method you can try is to get
> the data from github.com via ssh, which I presume your firewall will
> let through.  To do this, do the following.
>
>1. Create an account on github.com if you do not already have one.
>2. Go to Account Settings -> Account Overview -> SSH Public Keys
>   and add the public ssh key for your machine.
>3. Go to the Kitware/ParaView repository on the github.com web site.
>4. Click on the button to *fork* the repository.  This will create
>   a clone of the repository under your account.
>5. In your clone of the ParaView repository, you will see that
>   there are more URL's available to download the repository via
>   git.  Choose the *private* URL.  It will have the form
>   g...@github.com:/ParaView.git.  Although it looks like
>   the regular git protocol, it is not.  It is different.
>Underneath it uses the ssh protocol (I think).
>6. Anyway, paste that URL to a git clone command on your local
>   machine.  As long as your ssh keys are set up correctly, you
>   should be able to retrieve the repository.
>7. Once you have a clone, you can create a new remote that points
>   back to the original Kitware/ParaView repository.  At this point
>   you should be able to pull updates directly from the
>   Kitware/ParaView repository through the http protocol so long as
>   no one adds a large file.
>
>
> Hope that helps.
>
> -Ken
>
>
> On 1/21/10 12:51 PM, "bastil2...@yahoo.de"  wrote:
>
> I am wondering if I am the only guy that has problems with the htt
> checkot of this? I am behind a proxy
>
>
> Even if the clone only mentions the git: protocol, you can also use a
> http transport.
>
> git://github.com/Kitware/ParaView.git
> or
> http://github.com/Kitware/ParaView.git
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> 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
> 
>

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] PV 3.6.2 and VisIt Plugin: crash when loading state with Tecplot files

2010-01-26 Thread burlen

Hi Richard and Dave,

I think that the way the VisIt plugin currently communicates information 
between client and server is not going to work with state.


The way it is now the plugin repeatedly sends variable length vectors of 
array,block,material ids,, etc one array for each mesh. Each of these 
might have a different size depending on the user's selections. In order 
to work around the fact that PV sm vector props don't support variable 
length vectors it also expects the array of mesh ids to be sent first, 
from this it sizes the other arrays to fit what will be incoming.


One solution would be to serialize the users selections in a single 
string, using sm string vector property to send server side. That would 
work with state. Otherwise I'm afraid your going to have to do some 
heavy sm programming.


I regret the way I did that, if it's helpful I'll volunteer to fix it.

Burlen


Dave Partyka wrote:
Hi Richard, please do. I will try running your steps with a debug 
build and see if I can track down the crash.


Thanks for tracking this down!

On Tue, Jan 26, 2010 at 7:25 AM, Richard GRENON 
mailto:richard.gre...@onera.fr>> wrote:


Hello.

I have made an additional test: grouping all tecplot files in a
same dataset before any other operation allows to use the saved
state file.

Test 1: the simple pipeline that cannot be used as saved state:
- open Tecplot File 1
  |
  extract subset 1
- open Tecplot File 2
  |
  extract subset 2
- group subset 1 and subset 2 in new dataset 1
- coloring the dataset 1

Saving state of this pipeline, loading the pvsm file crashes PV.

Test 2: the more complex pipeline that can be used as a saved state:
- Open Tecplot File 1
- Open Tecplot File 2
- group loaded Tecplot Files 1 and 2 in new dataset 1
 |
 extract block 1 from dataset 1 (content of Tecplot file 1)
 extract subset 1 from bloc 1
 |
 extract block 2 from dataset 1 (content of Tecplot file 2)
 extract subset 2 from block 2
- group subset 1 and subset 2 in dataset 2
- coloring the dataset 2

Saving state of this pipeline, the pvsm file can be used.
Note: After loading the pvsm file, you must go on the reader of
each tecplot file, select the arrays (unselected by default), then
click apply.

Of course, I can attach the two corresponding pvsm files if it may
help.


Best regards

-- 
Richard GRENON

ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr 
http://www.onera.fr

___
Powered by www.kitware.com 

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
  


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Application using Paraview library in C++

2010-01-26 Thread pat marion
Hi,

You should include the exact error message you are getting so that people
can help.

I'm not very familiar with building custom apps using paraview so I won't be
able to answer your question exactly... but to change the representation to
volume you must create proxy objects for a lookup table and a piecewise
function, then assign them to the representation's proxy properties
LookupTable and ScalarOpacityFunction.

The best example I have is in python- a image-data source is created and the
representation is set to volume, the scalar value 37 is set to the color red
with an opacity value of 0, and scalar value 270 is set to the color blue
with opacity value 0.5:

Wavelet()
rep = Show()
rep.ColorArrayName = "RTData"
rep.Representation = "Volume"

lut = CreateLookupTable()
lut.RGBPoints = [37, 1, 0, 0, 270, 0, 0, 1]
rep.LookupTable = lut

func = CreatePiecewiseFunction()
func.Points = [37, 0, 270, 0.5]
rep.ScalarOpacityFunction = func

Render()


Goodluck!

Pat

On Tue, Jan 26, 2010 at 2:38 AM, Adebayo Olowoyeye wrote:

> Hi all,
>   I am attempting to use paraview's library to visualize medical volumes in
> an application I am building from scratch.  The program is written in C++.
> I am having a hard time finding adequate documentation (forums and examples)
> that shows how to build an application that uses paraview's library in C++.
> I have ran the example program BasicApp.cxx and it works, but it uses a
> SphereSource.  I am loading dicom images or .vtk images.  When I edit the
> code for BasicApp.cxx to load .vtk files I get an error after setting the
> representation to volume.  From reading similar problems on forums, I think
> the problem pertains to colormaps and scalars, but I cannot find
> documentation on how to fix this in C++.  I'm including my code below.  I
> may be over complicating this, but any help is appreciated.
> Thanks for your time!
>
> using namespace std;
>
> // our main window
> class MainWindow : public QMainWindow
> {
> public:
>   MainWindow()
>   {
> // automatically make a server connection
> pqApplicationCore* core = pqApplicationCore::instance();
> pqObjectBuilder* ob = core->getObjectBuilder();
> pqServer* server = ob->createServer(
> pqServerResource("builtin:"));
>
> // create a graphics window and put it in our main window
> this->RenderView =
> qobject_cast(ob->createView(pqRenderView::renderViewType(),
> server));
> this->setCentralWidget(this->RenderView->getWidget());
>
> // create source and elevation filter
> pqPipelineSource* source;
> pqPipelineSource* elevation;
>
> source = ob->createSource("sources", "SphereSource", server);
> // updating source so that when elevation filter is created, the
> defaults
> // are setup correctly using the correct data bounds etc.
> vtkSMSourceProxy::SafeDownCast(source->getProxy())->UpdatePipeline();
>
> QStringList files;
> files.push_back("../brain.vtk");
>
> pqPipelineSource *reader;
> pqObjectBuilder *builder = core->getObjectBuilder();
> reader = builder->createReader(QString("internal_sources"),
> QString("legacyreader"), files, server);
>
>
> pqDataRepresentation *repr =
> ob->createDataRepresentation(reader->getOutputPort(0), this->RenderView);
>
> if(repr){
>
> vtkSMPropertyHelper(repr->getProxy(),
> "Representation").Set(vtkSMPVRepresentationProxy::VOLUME);
>
> pqDisplayPolicy pqDisplayP = core->getDisplayPolicy();
> repr->getProxy()->UpdateVTKObjects();
>
> }
>
> //elevation = ob->createFilter("filters", "ElevationFilter", source);
>
> // put the elevation in the window
> //ob->createDataRepresentation(elevation->getOutputPort(0),
> this->RenderView);
>
> // zoom to sphere
> this->RenderView->resetCamera();
> // make sure we update
> this->RenderView->render();
>   }
>
>   QPointer RenderView;
>
> };
> ...
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview