[Paraview] Paraview and ITK

2016-11-25 Thread Fred Fred
Hello,

is there any work on integrating ITK filters into PV?

What is the easiest way to do it?

Is there other 2D images filters available?

Thx in advance for your help.


S.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Creating videos from animations

2013-02-15 Thread Fred Fred

Hello,
I compiled PV with FFMPEG library enabled:
 FFMPEG_INCLUDE_DIR   /usr/local/include
   
 FFMPEG_avcodec_LIBRARY   /usr/local/lib/libavcodec.dylib   
   
 FFMPEG_avformat_LIBRARY  /usr/local/lib/libavformat.dylib  
   
 FFMPEG_avutil_LIBRARY/usr/local/lib/libavutil.dylib   
so I expected being able to save an animation into a video format but if I use 
File-SaveAnimation I get a list of files, which requires an external tool to 
build a video from them.
So is there a problem with my implementation or what does FFMEG library mean in 
the configuration file?

  ___
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] How to gegt back a cell selection?

2012-05-31 Thread Fred Fred

I have a large dataset, actually about 150k cells - it is large if you have 
to browse all cell ids of the IntegrateVariables table.
I want to select a cell in the 3D view and get back the cell id to use it as a 
seed cell for a near-by-near propagation algorithm.
First solution: I select it and look in the IntegrateVariable table display the 
cell id: the problem here is I have to browse hundreds of pages to find the 
selected cell and indeed the cell seems to be highlighted only if it lies in 
the current page displayed, so anyway it is not satisfying for large dataset.
Second solution: would it be possible to extract the cell id directly, ie to 
have it displayed so as to be able to copy it into the parameter of the next 
class?
Third - ideal - solution: to have the selected cell if copied directly into the 
parameter value of the next class.
Any suggestion?

  ___
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] Please could explain what vtkUnstructuredGrid::GetCellNeighbors(vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) actually does?

2012-05-31 Thread Fred Fred

This method is really badly documented: Topological inquiry to get all cells 
using list of points exclusive of cell specified (e.g., cellId).
What does it mean? What is the purpose of ptIds?
I have spent about 30 minutes trying to understand the code but I rarely saw a 
so complicated and unclear algorithm (3 for loops, 14 different local variables 
+ 3 arguments in 50 lines of code) and actually I still do not understand the 
code (why is it necessary to find the point with the least valence??).
So my problem is simple : I want to get the cell neightbors of a given cell 
(neightbor = share at least a face), please could anybody tell me what I should 
put in that ptIds parameter?
Thx in advance for your help.

  ___
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] How to save data?

2012-05-26 Thread Fred Fred

I have clipped an unstructured grid and I would like to save the data.
I use File-Save Data but whatever data format I try (csv, legacy VTK, PV 
format), I get the following error:



ERROR: In 
/usr/local/ParaView-3.10.1/Servers/ServerManager/vtkSMWriterFactory.cxx, line 
363
vtkSMWriterFactory (0x1101b0970): No matching writer found.


Failed to create writer for:  myfile.csv 
  ___
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 save data? [fixed]

2012-05-26 Thread Fred Fred

You're right! Thx!

 Date: Sat, 26 May 2012 11:45:05 +0200
 From: sven.buijs...@tu-dortmund.de
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 Subject: Re: [Paraview] How to save data?
 
 Fred,
 
 Are you sure you really used the file name myfile.csv (and did not
 alter that part of the error message for your posting)? Sounds a bit
 like http://www.paraview.org/Bug/view.php?id=12181, especially because
 you're still using ParaView 3.10.1
 
 Sven
 
 
 Fred Fred wrote, On 26.05.2012 11:07:
  I have clipped an unstructured grid and I would like to save the data.
  I use File-Save Data but whatever data format I try (csv, legacy VTK,
  PV format), I get the following error:
  
  ERROR: In
  /usr/local/ParaView-3.10.1/Servers/ServerManager/vtkSMWriterFactory.cxx,
  line 363
  
  vtkSMWriterFactory (0x1101b0970): No matching writer found.
  
  Failed to create writer for: myfile.csv
  ___
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] VTK legacy file format supported?

2012-05-21 Thread Fred Fred

Hello,
I try to load financial.vtk - a legacy file from the VTKdata set - but PV does 
not seem to recognize the format!?

  ___
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] Paraview handles data different on MacOS

2012-05-03 Thread Fred Fred

Edit your file and change types from 32 to 64 (Int32 - Int64, Float32 - 
Float64).

Date: Thu, 3 May 2012 10:09:58 +0200
From: fabian@rwth-aachen.de
To: paraview@paraview.org
Subject: [Paraview] Paraview handles data different on MacOS


  

  
  
Dear Paraview developers and users,



I am using Paraview (3.14.1) to visualize the solution of a
simulation program. The program generates data files in vtp format
(ASCII). A representative file is attached.

Using Paraview on Windows 7 (64 Bit)  or ubuntu12.04 (32 Bit)
everything works, but on Mac OS X (64 Bit) it crashes after clicking
on the 'Apply'-Button or gives the message:

 'ERROR: In
/Source/ParaView/release/ParaView/VTK/IO/vtkXMLDataReader.cxx, line
510 vtkXMLPolyDataReader (0x126f7c220): 

 Cannot read point data array my_scalars from PointData in piece
0. The data array in the element may be too short.'



Is there anything I can do to handle this Mac OS specific problem?



Thanks for help,

Fabian 



  


___
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] Molecular viz with PV?

2012-04-06 Thread Fred Fred

Does it mean that nothing has been developped around PV to visualize molecules?

From: stan1...@hotmail.fr
To: paraview@paraview.org
Date: Tue, 3 Apr 2012 13:23:41 +0200
Subject: [Paraview] Molecular viz with PV?







Hello,
I would like to get pointers on previous or current works on visualizing 
molecules and especially molecules dynamics with PV, any help?

  

___
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


[Paraview] Backward compatibility of state files

2012-04-03 Thread Fred Fred

This page is empty on the PV wiki but I face the problem and would be happy to 
find a solution.

  ___
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] Problem applying StreamTracer Filter

2012-01-13 Thread Fred Fred

Hello,I think the problem is your dataset has no cell, just points, hence Glyph 
generation works well because it consists in drawing a glyph at a subset or 
every point.But computing streamlines requires compute trajectories, ie to 
evaluate the flow at arbitrary points.this is achieved by interpolation within 
cells and if there is no cell, no interpolation scheme exists.So my advice: 
compute a tetrahedralization of your point cloud so as to create a valid 
unstructured point dataset and it should work well.Regards

Date: Fri, 13 Jan 2012 13:27:10 +0100
From: arnox1...@web.de
To: paraview@paraview.org
Subject: [Paraview] Problem applying StreamTracer Filter


  



  
  
Hello everyone,



I am trying to visualize my Data with Paraview 3.12.0 by exporting
velocity vectors to an unstructured grid that is saved as a xml vtu
file. So far the Glyph representation worked out great, but I
couldn't get the streamtracer to work with my data. I directly
applied it to the vectors, but there where no lines with all
parameters I've tried.

I've attached an example of the data. 

Could someone please point out my mistake?



Thanks for looking into this.



Cheers, 

Arne








  


___
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


[Paraview] Computing the mean place of a set of points

2012-01-06 Thread Fred Fred

I two irregular contours (polylines) and I would like to determine the mean 
place between them.Probably the easiest way to do it is to start by 
computing the mean place for each contour, independently.So now my problem is: 
having a set of points, how to compute the mean geometric plane, ie the plane 
minimizing square distances of points to itself.Actually I just need 2 vectors 
lying on the place, from which it would be easy to define a new space.I did not 
find such a method in VTK (I am writing a plugin so I just need a VTK method, 
not a PV filter) but I suspect that the plane vectors could be extracted from 
the result of  vtkPCAAnalysisFilter::GetParameterisedShape() or 
vtkPCAAnalysisFilter::GetShapeParameters().Am I wrong?Any suggestion for my 
problem?
  ___
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] Curious faces

2011-12-13 Thread Fred Fred

Hello,discovering holes in my polydata surface, I looked at what 
vtkCell::GetFace() returns and I discovered a curious face:3 41 2
Here is what I get:
cell type is: 11
cell points are:  63: -90 -30 -60  64: -60 -30 -60  70: -90 0 -60  71: -60 0 
-60  112: -90 -30 -30  113: -60 -30 -30  119: -90 0 -30  120: -60 0 -30  face 1 
ids are: 64 71 113 120
and of course building such a face leads to holes in my dataset.So my question 
is: how to get valid faces of any 3D cell?
  ___
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] Creating cells

2011-12-13 Thread Fred Fred

Ok I understand, many thanks.

Date: Tue, 13 Dec 2011 08:04:16 +0100
From: jerome.ve...@kitware.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] Creating cells


  



  
  
Hi,



GetCell(...) is intended for internal use (see the doxygen
documentation) where loc is not the cell id, but an offset in the
internal array. Using InitTraversal together with GetNextCell
instead would be easier.



HTH

Jerome



On 12/12/2011 06:19 PM, Fred Fred wrote:

  
  
Hello,
I have been
  reading and reading this piece of code but cannot figure out
  what is wrong!
I create a
  couple of cells of 4 ids and get...anything but what is
  expected.
Please tell
  me where I am wrong!




   
vtkCellArray *faces = vtkCellArray::New();
   
vtkIdList *fIds = vtkIdList::New();
for
(int i=0 ; ifaceIds.size() ; i++) {
 
for (int j=0 ; jfaceIds[i].size() ; j++)
   
fIds-InsertNextId(faceIds[i][j]);
 
faces-InsertNextCell(fIds);
 
printf(cell %d has %d ids\n, i,
fIds-GetNumberOfIds());
 
fIds-Reset();
}
for
(int i=0 ; ifaces-GetNumberOfCells() ; i++) {
 
vtkIdList *list = vtkIdList::New();
 
faces-GetCell(i, list);
 
printf(cell %d has %d ids\n, i,
list-GetNumberOfIds());
}
  

  
  cell 0
has 4 ids
  cell 1
has 4 ids
  cell 2
has 4 ids
  cell 3
has 4 ids
  cell 4
has 4 ids
  cell 5
has 4 ids
  cell 6
has 4 ids
  cell 7
has 4 ids
  cell 8
has 4 ids
  cell 9
has 4 ids
  cell
10 has 4 ids
  cell
11 has 4 ids
  cell
12 has 4 ids
  cell
13 has 4 ids
  cell
14 has 4 ids
  cell
15 has 4 ids
  cell
16 has 4 ids
  cell
17 has 4 ids
  cell
18 has 4 ids
  cell
19 has 4 ids
  

  
  cell 0
has 4 ids
  cell 1
has 64 ids
  cell 2
has 71 ids
  cell 3
has 113 ids
  cell 4
has 120 ids
  cell 5
has 4 ids
  cell 6
has 63 ids
  cell 7
has 64 ids
  cell 8
has 112 ids
  cell 9
has 113 ids
  cell
10 has 4 ids
  cell
11 has 64 ids
  cell
12 has 63 ids
  cell
13 has 71 ids
  cell
14 has 70 ids
  cell
15 has 4 ids
  cell
16 has 71 ids
  cell
17 has 78 ids
  cell
18 has 120 ids
  cell
19 has 127 ids




  
  

  
  

  ___
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






-- 

  Jérôme Velut

  RD Engineer

  Kitware SAS

  26 rue Louis Guérin

  69100 Villeurbanne, France

  F: +33 (0)4.37.45.04.15

  http://www.kitware.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] Creating cells

2011-12-12 Thread Fred Fred

Hello,I have been reading and reading this piece of code but cannot figure out 
what is wrong!I create a couple of cells of 4 ids and get...anything but what 
is expected.Please tell me where I am wrong!
  vtkCellArray *faces = vtkCellArray::New();  vtkIdList *fIds = 
vtkIdList::New();  for (int i=0 ; ifaceIds.size() ; i++) {for (int j=0 ; 
jfaceIds[i].size() ; j++)  fIds-InsertNextId(faceIds[i][j]);
faces-InsertNextCell(fIds);printf(cell %d has %d ids\n, i, 
fIds-GetNumberOfIds());fIds-Reset();  }  for (int i=0 ; 
ifaces-GetNumberOfCells() ; i++) {vtkIdList *list = vtkIdList::New();
faces-GetCell(i, list);printf(cell %d has %d ids\n, i, 
list-GetNumberOfIds());  }
cell 0 has 4 idscell 1 has 4 idscell 2 has 4 idscell 3 has 4 idscell 4 has 4 
idscell 5 has 4 idscell 6 has 4 idscell 7 has 4 idscell 8 has 4 idscell 9 has 4 
idscell 10 has 4 idscell 11 has 4 idscell 12 has 4 idscell 13 has 4 idscell 14 
has 4 idscell 15 has 4 idscell 16 has 4 idscell 17 has 4 idscell 18 has 4 
idscell 19 has 4 ids
cell 0 has 4 idscell 1 has 64 idscell 2 has 71 idscell 3 has 113 idscell 4 has 
120 idscell 5 has 4 idscell 6 has 63 idscell 7 has 64 idscell 8 has 112 idscell 
9 has 113 idscell 10 has 4 idscell 11 has 64 idscell 12 has 63 idscell 13 has 
71 idscell 14 has 70 idscell 15 has 4 idscell 16 has 71 idscell 17 has 78 
idscell 18 has 120 idscell 19 has 127 ids
  ___
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] Bug?

2011-12-12 Thread Fred Fred

How is it possible? What is wrong in my code?I insert a face of 4 ids and get 
back a face of 64 ids!
  vtkCellArray *faces = vtkCellArray::New();  vtkIdList *fIds = 
vtkIdList::New();  for (int i=0 ; ifaceIds.size() ; i++) {for (int j=0 ; 
jfaceIds[i].size() ; j++)  fIds-InsertNextId(faceIds[i][j]);
printf(inserting face %d of %d ids\n, i, (int)fIds-GetNumberOfIds());
faces-InsertNextCell(fIds);{  vtkIdType nbpts;  vtkIdList *list = 
vtkIdList::New();  faces-GetCell(i, list);  printf(face %d has now %d 
ids\n, i, (int)list-GetNumberOfIds());}fIds-Reset();  }
inserting face 0 of 4 idsface 0 has now 4 idsinserting face 1 of 4 idsface 1 
has now 64 ids
  ___
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] Creating a ribbon

2011-12-06 Thread Fred Fred

Sorry, I confused with another class. Actually the problem is respective points 
of both polylines are connected by pairs, which implies that both polylines 
should have the same number of points, isn't it?

Date: Mon, 5 Dec 2011 20:23:18 +0100
From: jerome.ve...@kitware.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] Creating a ribbon


  



  
  
Hum... I didn't get what you told. The ruled surface filter works
for 3D polylines, as soon as you have at least two of them. I just
built a screw in ParaView with a LineSource, a SplineSource and the
RuledSurfaceFilter.

I am curious about the context in which it fails. Is it possible for
you to share the polylines and the expected result? 



Jerome



On 12/05/2011 02:28 PM, Fred Fred wrote:

  
  
It is not a reliable solution to my problem because it works in
2D and my contours are all but almost planars, which makes it
very hard to find an appropriate transform.
I finally wrote my own algorithm and, waiting to find a bad
  use case :-), it works for the time being.
Anyway thx for trying to help me.


  
Date: Thu, 1 Dec 2011 11:52:14 +0100

From: jerome.ve...@kitware.com

To: stan1...@hotmail.fr

CC: paraview@paraview.org

Subject: Re: [Paraview] Creating a ribbon





Hi,



You can easily add the vtkRuledSurfaceFilter from VTK in
ParaView. I already did it in my Peavip stuffs 
(http://github.com/jeromevelut/Peavip).

If your polylines are in different sources (eg. two
different SplineSources), you'll have to pass them through
Append Geometry prior he RuledSurfaceFilter



HTH

Jerome



On 11/29/2011 09:31 PM, Fred Fred wrote:

  
   Hello,
I have 2 polylines and I would like to create a
  ribbon between them, ie a triangulation. I did not
  find any suitable class but I wonder if I did not miss
  anything, any help?






  
  

  
  

  ___
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






-- 

  Kitware SAS

  26 rue Louis Guérin

  69100 Villeurbanne, France

  F: +33 (0)4.37.45.04.15

  http://www.kitware.fr
  

  





-- 

  Kitware SAS

  26 rue Louis Guérin

  69100 Villeurbanne, France

  F: +33 (0)4.37.45.04.15

  http://www.kitware.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] Creating a ribbon

2011-12-05 Thread Fred Fred

It is not a reliable solution to my problem because it works in 2D and my 
contours are all but almost planars, which makes it very hard to find an 
appropriate transform.I finally wrote my own algorithm and, waiting to find a 
bad use case :-), it works for the time being.Anyway thx for trying to help me.
Date: Thu, 1 Dec 2011 11:52:14 +0100
From: jerome.ve...@kitware.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] Creating a ribbon


  



  
  
Hi,



You can easily add the vtkRuledSurfaceFilter from VTK in ParaView. I
already did it in my Peavip stuffs
(http://github.com/jeromevelut/Peavip).

If your polylines are in different sources (eg. two different
SplineSources), you'll have to pass them through Append Geometry
prior he RuledSurfaceFilter



HTH

Jerome



On 11/29/2011 09:31 PM, Fred Fred wrote:

  
  
Hello,
I have 2 polylines and I would like to create a ribbon
  between them, ie a triangulation. I did not find any suitable
  class but I wonder if I did not miss anything, any help?






  
  

  
  

  ___
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






-- 

  Kitware SAS

  26 rue Louis Guérin

  69100 Villeurbanne, France

  F: +33 (0)4.37.45.04.15

  http://www.kitware.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] Creating a ribbon

2011-11-29 Thread Fred Fred

Hello,I have 2 polylines and I would like to create a ribbon between them, ie a 
triangulation. I did not find any suitable class but I wonder if I did not miss 
anything, any help?

  ___
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 extract the boundary of an unstructured grid?

2011-11-16 Thread Fred Fred

Right! Thx for your help.

 Date: Tue, 15 Nov 2011 20:15:39 -0500
 Subject: Re: [Paraview] How to extract the boundary of an unstructured grid?
 From: cquam...@cs.unc.edu
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 The Extract Surface filter in ParaView is probably what you want.
 
 - Cory
 
 On Tue, Nov 15, 2011 at 4:06 PM, Fred Fred stan1...@hotmail.fr wrote:
  Is there a filter - typically inherited from
  vtkUnstructuredGridToPolyDataFilter but I did not see any - to extract the
  boundary of an unstructured grid as a polydata set?
  Same question for a structured grid BTW.
 
  ___
  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
 
 
 
 
 
 -- 
 Cory Quammen
 Research Associate
 Department of Computer Science
 The University of North Carolina at Chapel Hill
  ___
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] Problems with Delaunay3D

2011-11-15 Thread Fred Fred

Delaunay3D is supposed to compute a tetraedralization of a domain, I suspect 
your intend was to compute a triangulation and you need vtkDelaunay.

Date: Tue, 15 Nov 2011 17:08:56 +0100
From: richschm...@web.de
To: paraview@paraview.org
Subject: [Paraview] Problems with Delaunay3D



Dear all,

I am pretty new with ParaView and I have a problem at the moment:

I wanted to generate the surface of a vessel geometry which I imported as *.csv 
file. After importing the coordinates of the points of the surface I used the 
TableToPoints Filter (I read this in an older thread) (see pic1) and after 
this I wanted to generate the surface by using Delaunay3D, but unfortunately 
the surface looks really strange (see pic2). I guess that ParaView doesn't only 
connect the three closest points but also points of both branches of the vessel.
Does anybody have an idea how I could solve this problem?
Thanks a million for your help!
Lilly  

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

___
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] Problems with Delaunay3D

2011-11-15 Thread Fred Fred

Sorry you need vtkDelaunay2D actually.

From: stan1...@hotmail.fr
To: richschm...@web.de; paraview@paraview.org
Date: Tue, 15 Nov 2011 17:24:40 +0100
Subject: Re: [Paraview] Problems with Delaunay3D








Delaunay3D is supposed to compute a tetraedralization of a domain, I suspect 
your intend was to compute a triangulation and you need vtkDelaunay.

Date: Tue, 15 Nov 2011 17:08:56 +0100
From: richschm...@web.de
To: paraview@paraview.org
Subject: [Paraview] Problems with Delaunay3D



Dear all,

I am pretty new with ParaView and I have a problem at the moment:

I wanted to generate the surface of a vessel geometry which I imported as *.csv 
file. After importing the coordinates of the points of the surface I used the 
TableToPoints Filter (I read this in an older thread) (see pic1) and after 
this I wanted to generate the surface by using Delaunay3D, but unfortunately 
the surface looks really strange (see pic2). I guess that ParaView doesn't only 
connect the three closest points but also points of both branches of the vessel.
Does anybody have an idea how I could solve this problem?
Thanks a million for your help!
Lilly  

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

___
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] Problems with Delaunay3D

2011-11-15 Thread Fred Fred

It is in mine, at letter D just above Delaunay3D.

Date: Tue, 15 Nov 2011 17:38:47 +0100
From: richschm...@web.de
To: stan1...@hotmail.fr; paraview@paraview.org
Subject: Re: [Paraview] Problems with Delaunay3D



Thank you!

Where can I actually find this Filter? It's not included in my alphabetical 
list.


Von: Fred Fred stan1...@hotmail.fr
Gesendet: 15.11.2011 17:25:23
An: richschm...@web.de, paraview@paraview.org
Betreff: RE: [Paraview] Problems with Delaunay3D

Sorry you need vtkDelaunay2D actually.

From: stan1...@hotmail.fr
To: richschm...@web.de; paraview@paraview.org
Date: Tue, 15 Nov 2011 17:24:40 +0100
Subject: Re: [Paraview] Problems with Delaunay3D

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage 
{font-size:10pt;font-family:Tahoma;}Delaunay3D is supposed to compute a 
tetraedralization of a domain, I suspect your intend was to compute a 
triangulation and you need vtkDelaunay.

Date: Tue, 15 Nov 2011 17:08:56 +0100
From: richschm...@web.de
To: paraview@paraview.org
Subject: [Paraview] Problems with Delaunay3D

Dear all,

I am pretty new with ParaView and I have a problem at the moment:

I wanted to generate the surface of a vessel geometry which I imported as *.csv 
file. After importing the coordinates of the points of the surface I used the 
TableToPoints Filter (I read this in an older thread) (see pic1) and after 
this I wanted to generate the surface by using Delaunay3D, but unfortunately 
the surface looks really strange (see pic2). I guess that ParaView doesn't only 
connect the three closest points but also points of both branches of the vessel.
Does anybody have an idea how I could solve this problem?
Thanks a million for your help!
Lilly  

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
___ 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  

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 
  ___
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] How to extract the boundary of an unstructured grid?

2011-11-15 Thread Fred Fred

Is there a filter - typically inherited from 
vtkUnstructuredGridToPolyDataFilter but I did not see any - to extract the 
boundary of an unstructured grid as a polydata set?Same question for a 
structured grid BTW.
  ___
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] Whole extend issue

2011-11-14 Thread Fred Fred

Ok but I suppose I don't do it as I should because the CopyDefaultInformation() 
is never executed.
I put these lines at the beginning of my class constructor:{  
vtkMyStreamingDemandDrivenPipeline *executive = 
vtkMyStreamingDemandDrivenPipeline::New();  this-SetExecutive(executive);  ...
and I make a printf here:
//voidvtkMyStreamingDemandDrivenPipeline::CopyDefaultInformation(vtkInformation*
 request, int direction, vtkInformationVector** 
inInfoVec, vtkInformationVector* outInfoVec){  // Let 
the superclass copy first.  this-Superclass::CopyDefaultInformation(request, 
direction,   inInfoVec, outInfoVec);
if(request-Has(REQUEST_INFORMATION())){
if(this-GetNumberOfInputPorts()  0)  {  // my stuff  }
  for (int obj=0 ; obj3 ; obj++) {vtkInformation* outInfo = 
outInfoVec-GetInformationObject(obj);int whole_ext[6];
outInfo-Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), whole_ext);
printf(Executive: %d %d %d %d %d %d\n, whole_ext[0], whole_ext[1], 
whole_ext[2], whole_ext[3], whole_ext[4], whole_ext[5]);  }
  ...}
but nothing prints and I still get the same error.

 From: dave.dema...@kitware.com
 Date: Mon, 14 Nov 2011 10:31:27 -0500
 Subject: Re: [Paraview] Whole extend issue
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Looks to me like a bug/feature of the VTK pipeline. Apparently it
 expects whole extents to be the same for all input structured data
 sets.
 
 See how just before vtkExecutive runs the algorithm's Request*()
 methods in vtkExecutive::CallAlgorithm() it calls
 CopyDefaultInformation(). In
 vtkStreamingDemandDrivenPipeline::CopyDefaultInformation() copies the
 first input's whole extent to all outputs.
 
 You might get around this by making your own executive with it's own
 CopyDefaultInformation().
 
 The actual error comes later at the start of the RequestUpdateExtent()
 pass when vtkStreamingDemandDrivenPipeline::VerifyOutputInformation()
 happens.
 
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909
 
 
 
 On Sat, Nov 12, 2011 at 5:17 AM, Fred Fred stan1...@hotmail.fr wrote:
  I really do not understand how PV/VTK works!
  I get this error:
  ERROR: In
  /usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx,
  line 882
  vtkPVPostFilterExecutive (0x12a1c6b00): The update extent specified in the
  information for output port 0 on algorithm vtkPVPostFilter(0x12a1c60c0) is 0
  24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.
  but if I print the values at the end of RequestData() I get different
  values:
int uExtent[6];
 
  this-GetExecutive()-GetOutputInformation(0)-Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(),
  uExtent);
printf(Extent: %d, uExtent[0]);
for (int i=1 ; i5 ; i++) printf( %d, uExtent[i]);
printf( %d\n, uExtent[5]);
 
  this-GetExecutive()-GetOutputInformation(0)-Get(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(),
  uExtent);
printf(Update: %d, uExtent[0]);
for (int i=1 ; i5 ; i++) printf( %d, uExtent[i]);
printf( %d\n, uExtent[5]);
  prints:
  Extent: 0 24 0 34 0 232
  Update: 0 24 0 34 0 232
  Please help!
  
  From: stan1...@hotmail.fr
  To: paraview@paraview.org
  Date: Fri, 11 Nov 2011 12:08:24 +0100
  Subject: [Paraview] Whole extend issue
 
  Hello,
  I have a filter inherited from vtkUnstructuredGridAlgorithm, with 2 inputs
  of type vtkStructuredGrid and 3 outputs, 1 and 2 are just copies of the
  input and the third one is of type vtkUnstructuredGrid.
  I copy input0 to output0 like this:
vtkInformation *in0Info = inputVector[0]-GetInformationObject(0);
vtkStructuredGrid *in0 =
  vtkStructuredGrid::SafeDownCast(coarseInfo-Get(vtkDataObject::DATA_OBJECT()));
this-GetExecutive()-GetOutputData(0)-ShallowCopy(in0);
vtkInformation *in1Info = inputVector[1]-GetInformationObject(0);
vtkStructuredGrid *in1 =
  vtkStructuredGrid::SafeDownCast(coarseInfo-Get(vtkDataObject::DATA_OBJECT()));
this-GetExecutive()-GetOutputData(1)-ShallowCopy(in1);
  but I get this error:
  ERROR: In
  /usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx,
  line 882
  vtkPVPostFilterExecutive (0x12c3e58d0): The update extent specified in the
  information for output port 0 on algorithm vtkPVPostFilter(0x12c3e4e90) is 0
  24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.
  Actually 0 24 0 34 0 232 are the dimensions of input0 and 0 96 0 20 0 63 are
  the dimensions of input1.
  So I do not understand why extends of input1 are considered as the whole
  extend (BTW what is the whole extend? whole extend of the multblock
  dataset?)
 
  ___ Powered by www.kitware.com
  Visit other Kitware open-source

Re: [Paraview] Whole extend issue

2011-11-12 Thread Fred Fred

I really do not understand how PV/VTK works!I get this error:
ERROR: In 
/usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, 
line 882vtkPVPostFilterExecutive (0x12a1c6b00): The update extent specified in 
the information for output port 0 on algorithm vtkPVPostFilter(0x12a1c60c0) is 
0 24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.
but if I print the values at the end of RequestData() I get different values:
  int uExtent[6];  
this-GetExecutive()-GetOutputInformation(0)-Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(),
 uExtent);  printf(Extent: %d, uExtent[0]);  for (int i=1 ; i5 ; i++) 
printf( %d, uExtent[i]);  printf( %d\n, uExtent[5]);  
this-GetExecutive()-GetOutputInformation(0)-Get(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(),
 uExtent);  printf(Update: %d, uExtent[0]);  for (int i=1 ; i5 ; i++) 
printf( %d, uExtent[i]);  printf( %d\n, uExtent[5]);
prints:
Extent: 0 24 0 34 0 232Update: 0 24 0 34 0 232
Please help!
From: stan1...@hotmail.fr
To: paraview@paraview.org
Date: Fri, 11 Nov 2011 12:08:24 +0100
Subject: [Paraview] Whole extend issue








Hello,I have a filter inherited from vtkUnstructuredGridAlgorithm, with 2 
inputs of type vtkStructuredGrid and 3 outputs, 1 and 2 are just copies of the 
input and the third one is of type vtkUnstructuredGrid.I copy input0 to output0 
like this:
  vtkInformation *in0Info = inputVector[0]-GetInformationObject(0);  
vtkStructuredGrid *in0 = 
vtkStructuredGrid::SafeDownCast(coarseInfo-Get(vtkDataObject::DATA_OBJECT())); 
 this-GetExecutive()-GetOutputData(0)-ShallowCopy(in0);  vtkInformation 
*in1Info = inputVector[1]-GetInformationObject(0);  vtkStructuredGrid *in1 = 
vtkStructuredGrid::SafeDownCast(coarseInfo-Get(vtkDataObject::DATA_OBJECT())); 
 this-GetExecutive()-GetOutputData(1)-ShallowCopy(in1);
but I get this error:
ERROR: In 
/usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, 
line 882vtkPVPostFilterExecutive (0x12c3e58d0): The update extent specified in 
the information for output port 0 on algorithm vtkPVPostFilter(0x12c3e4e90) is 
0 24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.
Actually 0 24 0 34 0 232 are the dimensions of input0 and 0 96 0 20 0 63 are 
the dimensions of input1.So I do not understand why extends of input1 are 
considered as the whole extend (BTW what is the whole extend? whole extend 
of the multblock dataset?)
  

___
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


[Paraview] FIXED - RE: --state does not work

2011-11-11 Thread Fred Fred

Oups! Made a mistake in typing, I apologize.

 Date: Fri, 11 Nov 2011 07:56:45 -0500
 Subject: Re: [Paraview] --state does not work
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Have you tried specifying the full path to the State.pvsm file?
 
 Utkarsh
 
 On Fri, Nov 11, 2011 at 5:58 AM, Fred Fred stan1...@hotmail.fr wrote:
  Hello,
  I save a state and just try to load it on the command line:
 
 
  /usr/local/ParaView-3.10.1_cgns2.5_BUILD/bin/paraview.app/Contents/MacOS/paraview
  --state=State.pvsm
  but I get the following error:
  ERROR: In /usr/local/ParaView-3.10.1/VTK/IO/vtkXMLParser.cxx, line 218
  vtkPVXMLParser (0x1265a8f30): Cannot open XML file: State.pvsm
 
  Root does not exist. Either state file could not be opened or it does not
  contain valid xml
 
  If now I load the state from the File menu, it works!
 
  ___
  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


[Paraview] Building documentation

2011-11-10 Thread Fred Fred

Hello,I can't solve this issue:
ParaView-3.10.1_cgns2.5_BUILD $ export 
DYLD_LIBRARY_PATH=/usr/local/cgnslib_2.5_BUILD/libParaView-3.10.1_cgns2.5_BUILD 
$ ll $DYLD_LIBRARY_PATHtotal 1040drwxr-xr-x  3 root  wheel 102 10 nov 18:50 
DARWIN-rwxr-xr-x  1 root  wheel  529608 26 sep 20:37 
libcgns_2.5.dylibParaView-3.10.1_cgns2.5_BUILD $ ll 
$DYLD_LIBRARY_PATH/DARWINtotal 8lrwxr-xr-x  1 root  wheel  20 10 nov 18:50 
libcgns_2.5.dylib - ../libcgns_2.5.dylib
[100%] Built target vtkSMExtractDocumentation-real[100%] Built target 
vtkSMExtractDocumentation[100%] Creating Documentation for ParaViewSourcesdyld: 
Library not loaded: DARWIN/libcgns_2.5.dylib  Referenced from: 
/usr/local/ParaView-3.10.1_cgns2.5_BUILD/bin/./vtkSMExtractDocumentation  
Reason: image not found
The software has compiled, the requested lib exists and the path is correctly 
set up so what?It seems that cmake is looking somewhere else but how does it 
works within cmake??
  ___
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] Bug in ExtractBlock?

2011-11-08 Thread Fred Fred

Up!

From: stan1...@hotmail.fr
To: paraview@paraview.org
Date: Mon, 7 Nov 2011 12:38:48 +0100
Subject: [Paraview] Bug in ExtractBlock?








Hello,I have a dataset that is actually a multi-block with just a single 
curvilinear block and I would like to convert it in a simple curvilinear 
dataset. I expected that ExtractBlock would make the job, since it is supposed 
to delete the umbrella structure when just a single block remains and the Prune 
Output option is selected, which is teh default BTW.But the output is exactly 
the same as the input.Bug of the ExtractBlock implementation?
Configuration: ParaView-3.10.1 64 bits Mac OsX Snow Leopard
  

___
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] Bug in ExtractBlock?

2011-11-08 Thread Fred Fred

Hmmm, how do you do it?If I use the Save Data submenu, I am asked to save it as 
a multi-block dataset and, as expected, I get back a multiblock dataset when I 
read it again!

 From: dave.dema...@kitware.com
 Date: Tue, 8 Nov 2011 07:20:47 -0500
 Subject: Re: [Paraview] Bug in ExtractBlock?
 To: utkarsh.ayac...@kitware.com
 CC: stan1...@hotmail.fr; paraview@paraview.org
 
 A work around is to write out the data and read it back in.
 
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909
 
 
 
 On Tue, Nov 8, 2011 at 7:15 AM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  Nope, that's expected behavior. ExtractBlock will always still produce
  a multi-block dataset. Without going too much into details, the
  requirements of VTK pipeline make it tricky to write a filter that
  produces a structured data-set from by extracting a block from a input
  composite dataset.
 
  On Mon, Nov 7, 2011 at 6:38 AM, Fred Fred stan1...@hotmail.fr wrote:
  Hello,
  I have a dataset that is actually a multi-block with just a single
  curvilinear block and I would like to convert it in a simple curvilinear
  dataset. I expected that ExtractBlock would make the job, since it is
  supposed to delete the umbrella structure when just a single block remains
  and the Prune Output option is selected, which is teh default BTW.
  But the output is exactly the same as the input.
  Bug of the ExtractBlock implementation?
  Configuration: ParaView-3.10.1 64 bits Mac OsX Snow Leopard
 
  ___
  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] Bug in ExtractBlock?

2011-11-08 Thread Fred Fred

Ok both solutions works well, although MergeBlock makes a conversion, which 
could actually be desirable.This raises a question: except from being a more 
economic storage scheme, is there any benefit of having a curvilinear grid 
rather than an unstructured one, regarding algorithm complexity? My particular 
concern is to determine which cells of 2 grids intersect the other grid.Anyway 
thx for your help.
 From: dave.dema...@kitware.com
 Date: Tue, 8 Nov 2011 12:53:25 -0500
 Subject: Re: [Paraview] Bug in ExtractBlock?
 To: stan1...@hotmail.fr
 CC: utkarsh.ayac...@kitware.com; paraview@paraview.org
 
 Actually, a better solution is to apply the Merge Blocks filter after
 the Extract Block filter. Then you shouldn't have to save and reopen.
 
 But to answer your question, save it as a vtm file and then open up
 the directory pointed to by the .vtm file and open up the one vtk file
 inside.
 
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909
 
 
 
 On Tue, Nov 8, 2011 at 12:43 PM, Fred Fred stan1...@hotmail.fr wrote:
  Hmmm, how do you do it?
  If I use the Save Data submenu, I am asked to save it as a multi-block
  dataset and, as expected, I get back a multiblock dataset when I read it
  again!
 
  From: dave.dema...@kitware.com
  Date: Tue, 8 Nov 2011 07:20:47 -0500
  Subject: Re: [Paraview] Bug in ExtractBlock?
  To: utkarsh.ayac...@kitware.com
  CC: stan1...@hotmail.fr; paraview@paraview.org
 
  A work around is to write out the data and read it back in.
 
  David E DeMarle
  Kitware, Inc.
  RD Engineer
  21 Corporate Drive
  Clifton Park, NY 12065-8662
  Phone: 518-881-4909
 
 
 
  On Tue, Nov 8, 2011 at 7:15 AM, Utkarsh Ayachit
  utkarsh.ayac...@kitware.com wrote:
   Nope, that's expected behavior. ExtractBlock will always still produce
   a multi-block dataset. Without going too much into details, the
   requirements of VTK pipeline make it tricky to write a filter that
   produces a structured data-set from by extracting a block from a input
   composite dataset.
  
   On Mon, Nov 7, 2011 at 6:38 AM, Fred Fred stan1...@hotmail.fr wrote:
   Hello,
   I have a dataset that is actually a multi-block with just a single
   curvilinear block and I would like to convert it in a simple
   curvilinear
   dataset. I expected that ExtractBlock would make the job, since it is
   supposed to delete the umbrella structure when just a single block
   remains
   and the Prune Output option is selected, which is teh default BTW.
   But the output is exactly the same as the input.
   Bug of the ExtractBlock implementation?
   Configuration: ParaView-3.10.1 64 bits Mac OsX Snow Leopard
  
   ___
   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


[Paraview] Bug in ExtractBlock?

2011-11-07 Thread Fred Fred

Hello,I have a dataset that is actually a multi-block with just a single 
curvilinear block and I would like to convert it in a simple curvilinear 
dataset. I expected that ExtractBlock would make the job, since it is supposed 
to delete the umbrella structure when just a single block remains and the Prune 
Output option is selected, which is teh default BTW.But the output is exactly 
the same as the input.Bug of the ExtractBlock implementation?
Configuration: ParaView-3.10.1 64 bits Mac OsX Snow Leopard
  ___
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] CGNS files

2011-09-30 Thread Fred Fred

That's what Robert already answered (see below) but it seems that type cgsize_t 
is not defined in cgnslib-2.5 (I downloaded it from this link: 
http://sourceforge.net/projects/cgns/files/cgnslib_2.5/Release%205/cgnslib_2.5-5.tar.gz/download):
Macintosh-4:cgnslib_2.5 $ find . -name * -exec grep cgsize_t {} \;
but is expected in PV source:
Macintosh-4:ParaView-3.10.1 $ find . -name *.C -exec grep cgsize_t {} \;  
  if(cg_array_info(i+1, namenode, dt, ndims, (cgsize_t*)dims) 
== CG_OK)if(cg_zone_read(GetFileHandle(), base, zone, zonename, 
(cgsize_t*)zsize) != CG_OK)if(cg_array_info(i+1, namenode, dt, 
ndims, (cgsize_t*)dims) == CG_OK)if(cg_zone_read(GetFileHandle(), base, 
zone, zonename, (cgsize_t*)zsize) != CG_OK) 
RealSingle, (const cgsize_t*)rmin, (const cgsize_t*)rmax, (void*)coords[c-1]) 
!= CG_OK)   (cgsize_t*)(start), 
(cgsize_t*)(end), bound, parent_flag) != CG_OK)
if(cg_ElementDataSize(GetFileHandle(), base, zone, sec, 
(cgsize_t*)(eDataSize)) != CG_OK)
if(cg_elements_read(GetFileHandle(), base, zone, sec, (cgsize_t*)elements, 
NULL)if(cg_zone_read(GetFileHandle(), base, zone, zonename, 
(cgsize_t*)zsize) != CG_OK)   fieldname, dt, 
(cgsize_t*)rmin, (cgsize_t*)rmax,
so which cgns-2.5 source code did you use?or did I miss something in the cmake 
configuration file?

From: david.part...@kitware.com
Date: Thu, 29 Sep 2011 17:54:12 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: o_le...@hotmail.com; robert.mayn...@kitware.com; paraview@paraview.org

We haven't tried CGNS 3 yet with the VisIt reader. The binaries are built with 
CGNS 2.5 still.

On Thu, Sep 29, 2011 at 5:29 PM, Fred Fred stan1...@hotmail.fr wrote:







Bad suggestion lolActually I downloaded the dmg file, indeed to check this, and 
I can read the file using the prebuilt version.

From: o_le...@hotmail.com


To: stan1...@hotmail.fr; robert.mayn...@kitware.com
CC: paraview@paraview.org


Subject: RE: [Paraview] CGNS files
Date: Thu, 29 Sep 2011 17:12:55 +









Did you try a cgns file from cgns web site ? Can you open your cgns file with 
the Windows browser, from cgns web site ?
My suggestion, had a look to your file first.


Odile Lemay

From: stan1...@hotmail.fr
To: o_le...@hotmail.com; robert.mayn...@kitware.com


CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Thu, 29 Sep 2011 18:55:50 +0200








I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got 
the following error:

ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


so what is this line 409 and what is wrong here:
  this-AvtFile-GetMesh(timestep, i, name.c_str()) );




From: o_le...@hotmail.com
To: robert.mayn...@kitware.com; stan1...@hotmail.fr


CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Wed, 28 Sep 2011 12:43:53 +









I use cgns 3.0.8 with hdf5, without any compiling errors.
Works fine

Have fun

Odile Lemay


From: robert.mayn...@kitware.com


Date: Wed, 28 Sep 2011 08:36:52 -0400
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files



That looks like you are including 3.1.X as that line is a call to CGNS. A quick 
grep returns no usage of cgsize in the CGNS reader.

On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred stan1...@hotmail.fr wrote:









I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a 
compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331:
 error: ‘cgsize_t’ was not declared in this scope




I do not understand because cgsize_t is defined in the version 3.1.3 but not in 
the version 2.5.5 of cgns!

From: robert.mayn...@kitware.com




Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org





What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:











so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 







On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote

Re: [Paraview] CGNS files

2011-09-29 Thread Fred Fred

I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got 
the following error:

ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121793510): VisIt Exception caught.

so what is this line 409 and what is wrong here:
  this-AvtFile-GetMesh(timestep, i, name.c_str()) );


From: o_le...@hotmail.com
To: robert.mayn...@kitware.com; stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Wed, 28 Sep 2011 12:43:53 +









I use cgns 3.0.8 with hdf5, without any compiling errors.
Works fine

Have fun

Odile Lemay


From: robert.mayn...@kitware.com
Date: Wed, 28 Sep 2011 08:36:52 -0400
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files

That looks like you are including 3.1.X as that line is a call to CGNS. A quick 
grep returns no usage of cgsize in the CGNS reader.

On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred stan1...@hotmail.fr wrote:







I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a 
compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331:
 error: ‘cgsize_t’ was not declared in this scope


I do not understand because cgsize_t is defined in the version 3.1.3 but not in 
the version 2.5.5 of cgns!

From: robert.mayn...@kitware.com


Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org



What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:









so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 





On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com






Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:







ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html







From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr






CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:













Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!









From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files








To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.










The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY













On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:















I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.











From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured

Re: [Paraview] CGNS files

2011-09-29 Thread Fred Fred

No no, just I did not put the catch call:
CATCH_VISIT_EXCEPTIONS(data,  this-AvtFile-GetMesh(timestep, i, 
name.c_str()) );

CC: stan1...@hotmail.fr; robert.mayn...@kitware.com; paraview@paraview.org
From: goodwin.law...@ucd.ie
Subject: Re: [Paraview] CGNS files
Date: Fri, 30 Sep 2011 00:01:03 +0400
To: o_le...@hotmail.com

Unless that's a typo, looks like one too many right brackets in line 409...
Goodwin

On 29 Sep 2011, at 21:12, Odile Lemay o_le...@hotmail.com wrote:



Did you try a cgns file from cgns web site ? Can you open your cgns file with 
the Windows browser, from cgns web site ?
My suggestion, had a look to your file first.
Odile Lemay

From: stan1...@hotmail.fr
To: o_le...@hotmail.com; robert.mayn...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Thu, 29 Sep 2011 18:55:50 +0200








I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got 
the following error:

ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


so what is this line 409 and what is wrong here:
  this-AvtFile-GetMesh(timestep, i, name.c_str()) );


From: o_le...@hotmail.com
To: robert.mayn...@kitware.com; stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Wed, 28 Sep 2011 12:43:53 +









I use cgns 3.0.8 with hdf5, without any compiling errors.
Works fine

Have fun

Odile Lemay


From: robert.mayn...@kitware.com
Date: Wed, 28 Sep 2011 08:36:52 -0400
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files

That looks like you are including 3.1.X as that line is a call to CGNS. A quick 
grep returns no usage of cgsize in the CGNS reader.

On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred stan1...@hotmail.fr wrote:







I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a 
compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331:
 error: ‘cgsize_t’ was not declared in this scope


I do not understand because cgsize_t is defined in the version 3.1.3 but not in 
the version 2.5.5 of cgns!

From: robert.mayn...@kitware.com


Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org



What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:









so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 





On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com






Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:







ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html







From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr






CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:













Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!









From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files








To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.










The other option

Re: [Paraview] CGNS files

2011-09-29 Thread Fred Fred

Bad suggestion lolActually I downloaded the dmg file, indeed to check this, and 
I can read the file using the prebuilt version.

From: o_le...@hotmail.com
To: stan1...@hotmail.fr; robert.mayn...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Thu, 29 Sep 2011 17:12:55 +









Did you try a cgns file from cgns web site ? Can you open your cgns file with 
the Windows browser, from cgns web site ?
My suggestion, had a look to your file first.
Odile Lemay

From: stan1...@hotmail.fr
To: o_le...@hotmail.com; robert.mayn...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Thu, 29 Sep 2011 18:55:50 +0200








I have no problem to compile with cgns-3.1.3 but if I load a cgns file, I got 
the following error:

ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409

vtkVisItCGNSReader (0x121793510): VisIt Exception caught.


so what is this line 409 and what is wrong here:
  this-AvtFile-GetMesh(timestep, i, name.c_str()) );


From: o_le...@hotmail.com
To: robert.mayn...@kitware.com; stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: RE: [Paraview] CGNS files
Date: Wed, 28 Sep 2011 12:43:53 +









I use cgns 3.0.8 with hdf5, without any compiling errors.
Works fine

Have fun

Odile Lemay


From: robert.mayn...@kitware.com
Date: Wed, 28 Sep 2011 08:36:52 -0400
To: stan1...@hotmail.fr
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files

That looks like you are including 3.1.X as that line is a call to CGNS. A quick 
grep returns no usage of cgsize in the CGNS reader.

On Wed, Sep 28, 2011 at 6:22 AM, Fred Fred stan1...@hotmail.fr wrote:







I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a 
compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331:
 error: ‘cgsize_t’ was not declared in this scope


I do not understand because cgsize_t is defined in the version 3.1.3 but not in 
the version 2.5.5 of cgns!

From: robert.mayn...@kitware.com


Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org



What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:









so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 





On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com






Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:







ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html







From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr






CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:













Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!









From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files








To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.










The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you

Re: [Paraview] CGNS files

2011-09-28 Thread Fred Fred

I was using the last version, ie 3.1.3, so I tried with the 2.5.5 but got a 
compilation error:
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.C:331:
 error: ‘cgsize_t’ was not declared in this scope
I do not understand because cgsize_t is defined in the version 3.1.3 but not in 
the version 2.5.5 of cgns!

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:







so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 



On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com




Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:





ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html





From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr




CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:











Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!







From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files






To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.








The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY











On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:













I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.









From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.









On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  


-- 
Robert Maynard

  


-- 
Robert Maynard
  

___
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   
  


-- 
Robert Maynard
  


-- 
Robert Maynard

[Paraview] Mac OS X 10.5+ dmg crashes

2011-09-26 Thread Fred Fred

Hello,just downloaded ParaView-3.10.1-Darwin-x86_64.dmg, put the paraview exe 
in Applications, lauched it and... it crashed from the beginning (error 
message, several tries, same result).My config: Mac OS X 10.6.8Any other such 
experience?
  ___
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 superbuild?

2011-09-26 Thread Fred Fred

Hello,back to this issue, which I did not fix yet.so I typed 'make FFMPEG' as 
required and got the same error:
ParaView-3.10.1_SUPERBUILD $ make FFMPEG[ 40%] Performing build step for 
'FFMPEG'HTML   doc/developer.htmlOption number is ambiguous (number-footnotes, 
number-sections)Utiliser « texi2html --help » pour plus d'informations.make[4]: 
*** [doc/developer.html] Error 2make[3]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2make[2]: *** 
[CMakeFiles/FFMPEG.dir/all] Error 2make[1]: *** [CMakeFiles/FFMPEG.dir/rule] 
Error 2make: *** [FFMPEG] Error 2

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 09:48:36 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org

I am assuming you're building on the command line on Linux/Mac? Simply type 
'make FFMPEG' in your terminal while in your build tree.

On Tue, Jun 28, 2011 at 9:47 AM, Fred Fred stan1...@hotmail.fr wrote:







How do you make ffmpeg?

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 09:43:55 -0400


Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org



If you do make FFMPEG, do you get the same error? Just curious if this output 
is purely from FFMPEG or bleeding in from other processes if you happened to do 
a parallel build.

On Tue, Jun 28, 2011 at 9:40 AM, Fred Fred stan1...@hotmail.fr wrote:









I got the following error:
CC  cmdutils.o



LD  ffmpeg_gCP  ffmpegSTRIP ffmpeg



CC  ffprobe.oLD ffprobe_gCP ffprobe



STRIP   ffprobeHTML doc/developer.htmlOption number is ambiguous 
(number-footnotes, number-sections)



Utiliser « texi2html --help » pour plus d'informations.make[3]: *** 
[doc/developer.html] Error 2make[2]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2



make[1]: *** [CMakeFiles/FFMPEG.dir/all] Error 2make: *** [all] Error 2




I don't understand since ParaView_BUILD_DOCUMENTATION is OFF so I do not 
understand why doc/developper.html and texi2html come into play!



From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 08:26:29 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr




CC: paraview@paraview.org

Hi Fred, The basic way to use the superbuild is when you initially run CMake, 
set paraview-source/SuperBuild as your source tree instead of the root of the 
source tree. Note that I wrote it simply for generating release binaries so 
it's not as robust or as flexible as I'd like it at the moment. It builds 
nearly everything that ParaView needs, not allowing one to turn some of the 
components off.






If you need any help let me know.

On Tue, Jun 28, 2011 at 6:15 AM, Fred Fred stan1...@hotmail.fr wrote:











I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?






  

___

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


[Paraview] How to superbuild?

2011-06-28 Thread Fred Fred

I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?
  ___
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 superbuild?

2011-06-28 Thread Fred Fred

Thanks, actually I just want to check if I can read cgns files with this 
version since my customized build makes cgns reading fail.

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 08:26:29 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred, The basic way to use the superbuild is when you initially run CMake, 
set paraview-source/SuperBuild as your source tree instead of the root of the 
source tree. Note that I wrote it simply for generating release binaries so 
it's not as robust or as flexible as I'd like it at the moment. It builds 
nearly everything that ParaView needs, not allowing one to turn some of the 
components off.


If you need any help let me know.

On Tue, Jun 28, 2011 at 6:15 AM, Fred Fred stan1...@hotmail.fr wrote:







I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?


  

___

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] CGNS files

2011-06-28 Thread Fred Fred

so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 

On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com


Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:



ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html



From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr


CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:









Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!





From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files




To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.






The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY









On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:











I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.







From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.







On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  


-- 
Robert Maynard

  


-- 
Robert Maynard
  

___
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   
  


-- 
Robert Maynard
  ___
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] CGNS files

2011-06-28 Thread Fred Fred

The last one ie 3.1.3, do you suspect that backward compatibility might not be 
ensured by cgns development team?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 09:13:36 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

What version of CGNS do you have installed? We have only tested the reader 
using the 2.5.5 version of CGNS
On Tue, Jun 28, 2011 at 9:00 AM, Fred Fred stan1...@hotmail.fr wrote:







so why do I get this error?

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 08:53:23 -0400


Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The CGNS reader with the official 3.10.1 release can load the 5blocks test 
file. 



On Tue, Jun 28, 2011 at 5:47 AM, Fred Fred stan1...@hotmail.fr wrote:







I have exactly the same error while trying to read 
ParaViewData-3.10.1/Data/VisItBridge/5blocks.cgns

From: stan1...@hotmail.fr
To: robert.mayn...@kitware.com




Date: Mon, 27 Jun 2011 18:22:18 +0200
CC: paraview@paraview.org
Subject: Re: [Paraview] CGNS files








Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:





ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html





From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr




CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:











Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!







From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files






To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.








The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY











On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:













I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.









From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.









On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  


-- 
Robert Maynard

  


-- 
Robert Maynard
  

___
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   
  


-- 
Robert Maynard
  


-- 
Robert Maynard

  ___
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

Re: [Paraview] How to superbuild?

2011-06-28 Thread Fred Fred

I got the following error:
CC  cmdutils.oLDffmpeg_gCP  ffmpegSTRIP ffmpegCC
ffprobe.oLD ffprobe_gCP ffprobeSTRIPffprobeHTML 
doc/developer.htmlOption number is ambiguous (number-footnotes, 
number-sections)Utiliser « texi2html --help » pour plus d'informations.make[3]: 
*** [doc/developer.html] Error 2make[2]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2make[1]: *** 
[CMakeFiles/FFMPEG.dir/all] Error 2make: *** [all] Error 2
I don't understand since ParaView_BUILD_DOCUMENTATION is OFF so I do not 
understand why doc/developper.html and texi2html come into play!

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 08:26:29 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred, The basic way to use the superbuild is when you initially run CMake, 
set paraview-source/SuperBuild as your source tree instead of the root of the 
source tree. Note that I wrote it simply for generating release binaries so 
it's not as robust or as flexible as I'd like it at the moment. It builds 
nearly everything that ParaView needs, not allowing one to turn some of the 
components off.


If you need any help let me know.

On Tue, Jun 28, 2011 at 6:15 AM, Fred Fred stan1...@hotmail.fr wrote:







I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?


  

___

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

2011-06-28 Thread Fred Fred

How do you make ffmpeg?

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 09:43:55 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org

If you do make FFMPEG, do you get the same error? Just curious if this output 
is purely from FFMPEG or bleeding in from other processes if you happened to do 
a parallel build.

On Tue, Jun 28, 2011 at 9:40 AM, Fred Fred stan1...@hotmail.fr wrote:







I got the following error:
CC  cmdutils.o

LD  ffmpeg_gCP  ffmpegSTRIP ffmpeg

CC  ffprobe.oLD ffprobe_gCP ffprobe

STRIP   ffprobeHTML doc/developer.htmlOption number is ambiguous 
(number-footnotes, number-sections)

Utiliser « texi2html --help » pour plus d'informations.make[3]: *** 
[doc/developer.html] Error 2make[2]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2

make[1]: *** [CMakeFiles/FFMPEG.dir/all] Error 2make: *** [all] Error 2


I don't understand since ParaView_BUILD_DOCUMENTATION is OFF so I do not 
understand why doc/developper.html and texi2html come into play!



From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 08:26:29 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr


CC: paraview@paraview.org

Hi Fred, The basic way to use the superbuild is when you initially run CMake, 
set paraview-source/SuperBuild as your source tree instead of the root of the 
source tree. Note that I wrote it simply for generating release binaries so 
it's not as robust or as flexible as I'd like it at the moment. It builds 
nearly everything that ParaView needs, not allowing one to turn some of the 
components off.




If you need any help let me know.

On Tue, Jun 28, 2011 at 6:15 AM, Fred Fred stan1...@hotmail.fr wrote:









I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?




  

___

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

2011-06-28 Thread Fred Fred

ParaView-3.10.1_SUPERBUILD $ sudo make FFMPEGPassword:[  0%] Performing build 
step for 'FFMPEG'HTML doc/developer.htmlOption number is ambiguous 
(number-footnotes, number-sections)Utiliser « texi2html --help » pour plus 
d'informations.make[4]: *** [doc/developer.html] Error 2make[3]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2make[2]: *** 
[CMakeFiles/FFMPEG.dir/all] Error 2make[1]: *** [CMakeFiles/FFMPEG.dir/rule] 
Error 2make: *** [FFMPEG] Error 2

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 09:48:36 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org

I am assuming you're building on the command line on Linux/Mac? Simply type 
'make FFMPEG' in your terminal while in your build tree.

On Tue, Jun 28, 2011 at 9:47 AM, Fred Fred stan1...@hotmail.fr wrote:







How do you make ffmpeg?

From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 09:43:55 -0400


Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr
CC: paraview@paraview.org



If you do make FFMPEG, do you get the same error? Just curious if this output 
is purely from FFMPEG or bleeding in from other processes if you happened to do 
a parallel build.

On Tue, Jun 28, 2011 at 9:40 AM, Fred Fred stan1...@hotmail.fr wrote:









I got the following error:
CC  cmdutils.o



LD  ffmpeg_gCP  ffmpegSTRIP ffmpeg



CC  ffprobe.oLD ffprobe_gCP ffprobe



STRIP   ffprobeHTML doc/developer.htmlOption number is ambiguous 
(number-footnotes, number-sections)



Utiliser « texi2html --help » pour plus d'informations.make[3]: *** 
[doc/developer.html] Error 2make[2]: *** 
[FFMPEG-prefix/src/FFMPEG-stamp/FFMPEG-build] Error 2



make[1]: *** [CMakeFiles/FFMPEG.dir/all] Error 2make: *** [all] Error 2




I don't understand since ParaView_BUILD_DOCUMENTATION is OFF so I do not 
understand why doc/developper.html and texi2html come into play!



From: david.part...@kitware.com
Date: Tue, 28 Jun 2011 08:26:29 -0400
Subject: Re: [Paraview] How to superbuild?
To: stan1...@hotmail.fr




CC: paraview@paraview.org

Hi Fred, The basic way to use the superbuild is when you initially run CMake, 
set paraview-source/SuperBuild as your source tree instead of the root of the 
source tree. Note that I wrote it simply for generating release binaries so 
it's not as robust or as flexible as I'd like it at the moment. It builds 
nearly everything that ParaView needs, not allowing one to turn some of the 
components off.






If you need any help let me know.

On Tue, Jun 28, 2011 at 6:15 AM, Fred Fred stan1...@hotmail.fr wrote:











I wonder what is this superbuild' building, I suppose it means every third 
party library is compiled during the PV building process but how to proceed for 
this super building process, I did not find any info on the PV wiki?






  

___

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] CGNS handling - curious

2011-06-28 Thread Fred Fred

Right, I did not pay attention to this since it does not appear whether data 
are attached to points or cells, I needed to load IntegrateVariables to see 
it.Thx.

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 10:55:00 -0400
Subject: Re: [Paraview] CGNS handling - curious
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The contour filter only operates on point scalars. If you have cell based 
properties you will need to use a cell data to point data filter first.

On Tue, Jun 28, 2011 at 10:44 AM, Fred Fred stan1...@hotmail.fr wrote:








I download PV-3.10.1 prebuilt for Mac OSX, managed to load a cgns file but 
while the file contains several sclar fields, contour filter can not be 
selected.Did anybody face this behaviour?
  




___

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




-- 
Robert Maynard
  ___
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] CGNS handling - curious

2011-06-28 Thread Fred Fred

Ok, thx for the tip, actually I did not realize it because I only have cell 
data.

From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 11:42:09 -0400
Subject: Re: [Paraview] CGNS handling - curious
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The information tab shows if a data array is point or cell. Point data arrays 
have a point icon, while the cell data arrays have a cube icon.

On Tue, Jun 28, 2011 at 11:39 AM, Fred Fred stan1...@hotmail.fr wrote:







Right, I did not pay attention to this since it does not appear whether data 
are attached to points or cells, I needed to load IntegrateVariables to see 
it.Thx.



From: robert.mayn...@kitware.com
Date: Tue, 28 Jun 2011 10:55:00 -0400
Subject: Re: [Paraview] CGNS handling - curious
To: stan1...@hotmail.fr


CC: paraview@paraview.org

The contour filter only operates on point scalars. If you have cell based 
properties you will need to use a cell data to point data filter first.



On Tue, Jun 28, 2011 at 10:44 AM, Fred Fred stan1...@hotmail.fr wrote:








I download PV-3.10.1 prebuilt for Mac OSX, managed to load a cgns file but 
while the file contains several sclar fields, contour filter can not be 
selected.Did anybody face this behaviour?
  






___

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




-- 
Robert Maynard
  


-- 
Robert Maynard
  ___
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] CGNS files

2011-06-27 Thread Fred Fred

Actually I finally got it!So now I have a CGNS reader but when I apply, I got 
the following errors:

ERROR: In 
/usr/local/ParaView-3.10.1/Utilities/VisItBridge/AvtAlgorithms/vtkAvtSTMDFileFormatAlgorithm.cxx,
 line 409
vtkVisItCGNSReader (0x121f1b970): VisIt Exception caught.

even with a - supposed to be valid - cgns file downloaded from here (the bump 
file): http://cgns.sourceforge.net/CGNSFiles.html

From: robert.mayn...@kitware.com
Date: Mon, 27 Jun 2011 08:03:33 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Can you please email me your CMakeCache.txt please.

On Sun, Jun 26, 2011 at 5:12 PM, Fred Fred stan1...@hotmail.fr wrote:







Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!



From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.




The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY







On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:









I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.





From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.





On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  


-- 
Robert Maynard

  


-- 
Robert Maynard
  ___
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] CGNS files

2011-06-26 Thread Fred Fred

Si I finally did it, skipping cmake to build cgns library, toggled options as 
written below and finally... still not abe to read any cgns file!I mean, same 
issue as before, ie if I select a cgns file, I am asked about which type of 
reader I want to use but no cgns reader in the list!

From: robert.mayn...@kitware.com
Date: Fri, 24 Jun 2011 08:31:46 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
You have two options to enable CGNS in ParaView. The easiest is to use the 
SuperBuild process in ParaView which will automatically enable the VisIt bridge 
and the CGNS reader and build CGNS itself.


The other option is to manually enable CGNS support if you already have CGNS 
built. You will need to enable PARAVIEW_USE_VISITBRIDGE and set the 
Boost_INCLUDE_DIR. Once that is done you will need to enable 
VISIT_BUILD_READER_CGNS and set the CGNS_INCLUDE_DIR and CGNS_LIBRARY





On Fri, Jun 24, 2011 at 6:08 AM, Fred Fred stan1...@hotmail.fr wrote:







I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.



From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files


To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.



On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  


-- 
Robert Maynard

  ___
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] CGNS files

2011-06-24 Thread Fred Fred

I just compiled it but am unable to load a CGNS file - and CGNS is not included 
in the list of supported file formats - so I suppose I missed something in the 
configuration but did not see anything related to CGNS, please tell me which 
option has to be toggled.

From: robert.mayn...@kitware.com
Date: Fri, 17 Jun 2011 12:01:12 -0400
Subject: Re: [Paraview] CGNS files
To: stan1...@hotmail.fr
CC: paraview@paraview.org

ParaView 3.10.1 has CGNS support. It will support structured and unstructured 
meshes and will only read cell and point centered properties.

On Fri, Jun 17, 2011 at 5:24 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  

___

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




-- 
Robert Maynard
  ___
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] CGNS files

2011-06-17 Thread Fred Fred

Hello,what is the current status of CGNS file support by PV?Thanks in advance 
for your answer.
  ___
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] Simulation data with CAD model

2011-06-08 Thread Fred Fred

Hello,I am looking for a CFD simulation dataset together with the corresponding 
CAD model.The bluntfin dataset included in the the PV distrib is ok but 
unfortunately only the simulation data are provided, do you know where I could 
download the corresponding CAD data?Any other set (CAD + CFD data) in the 
aeronautics domains, particularly turbine models, would be appreciated.
Stan
  ___
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] VisIt bridge

2011-01-11 Thread Fred Fred

The instructions for building the bridge at 
http://www.paraview.org/Wiki/VisIt_Database_Bridge, esp. the section entitled 
Building the ParaView Plugin seems to be outdated:

#!/bin/bash
cd ./ParaView3/Plugins/VisItDatabaseBridge  # Switch into the bridge plugin 
source directory.
curious recomendation since the usual way to build with cmake consists in not 
building in the source directory
mkdir bin   # Make a directory for our out 
of source build.
cd bin  # Switch into the out of source 
build dir.
ccmake ../  # Set BOOTSTRAP=ON, and 
whatever else makes sense ;) there is no BOOTSTRAP value in the ccmake menu

and last I get the following errors:

 CMake Error at CMake/ParaViewConfig.cmake:8 (INCLUDE):
   include called with wrong number of arguments.  Include only takes one
   file.
 Call Stack (most recent call first):
   CMakeLists.txt:42 (include)

 CMake Error at CMake/VisItConfig.cmake:33 (MESSAGE):
   Set VISIT_BASE to the path to your local VisIt 1.10.0 sources.
 Call Stack (most recent call first):
   CMakeLists.txt:43 (include)

Any help?

  ___
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] VisIt bridge

2011-01-11 Thread Fred Fred

Had a look but I don't have the option PARAVIEW_USE_VISITBRIDGE in ccmake 
(cmake-2.8.3  PV-3.8.1)!

From: robert.mayn...@kitware.com
Date: Tue, 11 Jan 2011 11:40:46 -0500
Subject: Re: [Paraview] VisIt bridge
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Hi Fred,
I just finished the update to the 
http://www.paraview.org/Wiki/VisIt_Database_Bridge 



On Tue, Jan 11, 2011 at 9:35 AM, Robert Maynard robert.mayn...@kitware.com 
wrote:


Hi Fred,
I am currently updating the VisItBridge wiki page with the updated compilation 
instructions and design information.

On Tue, Jan 11, 2011 at 9:12 AM, David Partyka david.part...@kitware.com 
wrote:



Hi Fred,
That version of the plugin has been depricated and those pages should all be 
removed. Rob rewrote and vastly improved the VisIt bridge.  The CMake options 
that need to be set now are PARAVIEW_USE_VISITBRIDGE:BOOL=ON and to tell 
ParaView where a boost header installation is. Our apologize for the confusion!








On Tue, Jan 11, 2011 at 5:23 AM, Fred Fred stan1...@hotmail.fr wrote:










The instructions for building the bridge at 
http://www.paraview.org/Wiki/VisIt_Database_Bridge, esp. the section entitled 
Building the ParaView Plugin seems to be outdated:








#!/bin/bash
cd ./ParaView3/Plugins/VisItDatabaseBridge  # Switch into the bridge plugin 
source directory.
curious recomendation since the usual way to build with cmake consists in not 
building in the source directory







mkdir bin   # Make a directory for our out 
of source build.
cd bin  # Switch into the out of source 
build dir.
ccmake ../  # Set BOOTSTRAP=ON, and 
whatever else makes sense ;) 






there is no BOOTSTRAP value in the ccmake menu

and last I get the following errors:

 CMake Error at CMake/ParaViewConfig.cmake:8 (INCLUDE):
   include called with wrong number of arguments.  Include only takes one







   file.
 Call Stack (most recent call first):
   CMakeLists.txt:42 (include)

 CMake Error at CMake/VisItConfig.cmake:33 (MESSAGE):
   Set VISIT_BASE to the path to your local VisIt 1.10.0 sources.
 Call Stack (most recent call first):







   CMakeLists.txt:43 (include)

Any help?

  

___

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




-- 
Robert Maynard




-- 
Robert Maynard

  ___
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] VisIt bridge

2011-01-11 Thread Fred Fred

LOL
so...how do I proceed NOW?

From: robert.mayn...@kitware.com
Date: Tue, 11 Jan 2011 12:34:24 -0500
Subject: Re: [Paraview] VisIt bridge
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The new VisItBridge will be in 3.10

On Tue, Jan 11, 2011 at 11:53 AM, Fred Fred stan1...@hotmail.fr wrote:







Had a look but I don't have the option PARAVIEW_USE_VISITBRIDGE in ccmake 
(cmake-2.8.3  PV-3.8.1)!

From: robert.mayn...@kitware.com


Date: Tue, 11 Jan 2011 11:40:46 -0500
Subject: Re: [Paraview] VisIt bridge
To: stan1...@hotmail.fr
CC: paraview@paraview.org



Hi Fred,
I just finished the update to the 
http://www.paraview.org/Wiki/VisIt_Database_Bridge 





On Tue, Jan 11, 2011 at 9:35 AM, Robert Maynard robert.mayn...@kitware.com 
wrote:




Hi Fred,
I am currently updating the VisItBridge wiki page with the updated compilation 
instructions and design information.

On Tue, Jan 11, 2011 at 9:12 AM, David Partyka david.part...@kitware.com 
wrote:





Hi Fred,
That version of the plugin has been depricated and those pages should all be 
removed. Rob rewrote and vastly improved the VisIt bridge.  The CMake options 
that need to be set now are PARAVIEW_USE_VISITBRIDGE:BOOL=ON and to tell 
ParaView where a boost header installation is. Our apologize for the confusion!










On Tue, Jan 11, 2011 at 5:23 AM, Fred Fred stan1...@hotmail.fr wrote:










The instructions for building the bridge at 
http://www.paraview.org/Wiki/VisIt_Database_Bridge, esp. the section entitled 
Building the ParaView Plugin seems to be outdated:










#!/bin/bash
cd ./ParaView3/Plugins/VisItDatabaseBridge  # Switch into the bridge plugin 
source directory.
curious recomendation since the usual way to build with cmake consists in not 
building in the source directory









mkdir bin   # Make a directory for our out 
of source build.
cd bin  # Switch into the out of source 
build dir.
ccmake ../  # Set BOOTSTRAP=ON, and 
whatever else makes sense ;) 








there is no BOOTSTRAP value in the ccmake menu

and last I get the following errors:

 CMake Error at CMake/ParaViewConfig.cmake:8 (INCLUDE):
   include called with wrong number of arguments.  Include only takes one









   file.
 Call Stack (most recent call first):
   CMakeLists.txt:42 (include)

 CMake Error at CMake/VisItConfig.cmake:33 (MESSAGE):
   Set VISIT_BASE to the path to your local VisIt 1.10.0 sources.
 Call Stack (most recent call first):









   CMakeLists.txt:43 (include)

Any help?

  

___

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




-- 
Robert Maynard




-- 
Robert Maynard

  


-- 
Robert Maynard
  ___
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] [CMake] Reusing configuration

2010-10-17 Thread Fred Fred

Since nobody was able to help me on the cmake list, may be this is a PV issue?
My problem is I do not manage to compile a plugin with the development 
distribution.
After a couple os discussions on the cmake list, my CMakeLists.txt now looks 
like this:

SET(ParaView_DIR /ParaView-Development-3.8.1-Linux-i686/lib/paraview-3.8)
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

ADD_PARAVIEW_PLUGIN(MyPlugin 1.0
 SERVER_MANAGER_XML MyPlugin.xml
 SERVER_MANAGER_SOURCES vtkMyPlugin.cxx)

INCLUDE_DIRECTORIES(/ParaView-3.8.1/VTK)

but the header files are still not found:

[ 14%] Generating vtkSMXML_MyPlugin.h
-- Generate module: MyPlugin
[ 28%] Generating vtkMyPluginClientServer.cxx
Scanning dependencies of target MyPlugin
[ 42%] Building CXX object CMakeFiles/MyPlugin.dir/vtkMyPlugin.o
/vtk/vtkLocal/MyPlugin2/vtkMyPlugin.cxx:26:35: error:  
vtkMarchingCubesCases.h: Aucun fichier ou dossier de ce type

find /ParaView-3.8.1/VTK -name vtkMarchingCubesCases.h
/ParaView-3.8.1/VTK/Filtering/vtkMarchingCubesCases.h

And this plugin compiles well with a PV-3.8.0 source installation.

Any help?

  ___
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] PassData() question

2010-10-06 Thread Fred Fred

Of course I suspected that a shallow copy was performed, and I explained
 to my students that it was to save memory and avoid duplicated of 
information in the pipeline, but when I looked at the code of the PassData() 
method, it was not clear if arrayIndex = 
this-AddArray(dsa-GetAbstractArray(i)); actually performed a shallow copy or 
not.
So I tried to do a deep copy but I surely made a mistake since nothing happen 
and finally I decided to ask you concerning the first issue.
So thanks to confirm that a shallow copy was the reason of my first problem.
Now please help a little bit more to fix this one:

  // since pass data makes shallow copies, make a deep copy of the normals
  vtkFloatArray *normals = vtkFloatArray::New();
  normals-DeepCopy(input-GetPointData()-GetNormals());

  float *coords = normals-GetPointer(0);

  for (int i=0 ; ioutput-GetNumberOfPoints() ; i++,coords+=3)
*coords = 0;

  output-GetPointData()-AddArray(normals);

As far as I read in the VTK doc, adding an array with the same name as an 
existing one will replace it by the new one, so I expected that normals would 
replace the existing array of normals, but I am probably wrong...

From: biddi...@cscs.ch
To: stan1...@hotmail.fr; paraview@paraview.org
Date: Wed, 6 Oct 2010 15:24:13 +0200
Subject: RE: [Paraview] PassData() question
















You have shallow copied the point normals from the input to the
output. Then overwritten them in the output. And therefore have overwritten
them in the input too. so of course they look the same. Passdata just passes
the array pointers using a shallow copy

 

Deepcopy the normals from input to output, then overwrite them.
Now you have different arrays for in and out.

 

this is a very common mistake and your students will learn a great
deal about how the pipeline operates. And hopefully you will too!

 

JB

 





From: paraview-boun...@paraview.org
[mailto:paraview-boun...@paraview.org] On Behalf Of Fred Fred

Sent: 06 October 2010 14:48

To: paraview@paraview.org

Subject: [Paraview] PassData() question





 

Hello,

I was just showing to my students how to write a very basic filter, for them to
concentrate on the different steps rather than on the algorithm itself but... my
example did not work!

The filter was supposed just to withdraw the X components of the normal of a
PolyData and the students were asked to show a cylinder before and after the
filter so as to compare the shading.

Looking at the code of the PassData() function, it seems that it really copies
everything but when I apply my filter, the shading is modified both in the
output and the input.

So where is the problem and how should I do it?



int vtkPbPassData::RequestData(

  vtkInformation *vtkNotUsed(request),

  vtkInformationVector **inputVector,

  vtkInformationVector *outputVector)

{

  // get the info objects

  vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);

  vtkInformation *outInfo = outputVector-GetInformationObject(0);



  // get the input and output

  vtkPolyData *input = vtkPolyData::SafeDownCast(

inInfo-Get(vtkDataObject::DATA_OBJECT()));

  vtkPolyData *output = vtkPolyData::SafeDownCast(

outInfo-Get(vtkDataObject::DATA_OBJECT()));



  // pass all associated data to output dataset

  output-CopyStructure(input);

  output-GetPointData()-PassData(input-GetPointData());

  output-GetFieldData()-PassData(input-GetFieldData());



  // modify the normals

  vtkPointData *pd = output-GetPointData();

  if (pd ==NULL) {

vtkErrorMacro(No point data);

return 1;

  }

  vtkFloatArray *norms = (vtkFloatArray *)pd-GetNormals();

  if (norms == NULL) {

vtkErrorMacro(Normals must be defined for this
filter to work);

return 1;

  }

  float *coords = norms-GetPointer(0);



  for (int i=0 ; ioutput-GetNumberOfPoints() ; i++,coords+=3)

*coords = 0;



  return 1;

}

  ___
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] CGNS reader

2010-09-17 Thread Fred Fred

Hello,
is there any news regarding a CGNS reader?
What is the situation now, I mean how to read a CGNS file, what works/fails?
Which are the development plans?
I really need such a functionality and I wonder if I should consider 
developping it or not.
Thx in advance for your answers.

  ___
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] vtkstd with VS2008 issue

2010-07-08 Thread Fred Fred

Hello,
how to cope with the fact using vtkstd:: causes syntax errors on VS2008 while 
it works well on g++?

p = vtkstd::lower_bound(start, end, *it, vtkstd::lessdouble());

error C2039: 'lower_bound' : is not a member of 'std'

  
_
Exclu : Téléchargez la nouvelle version de Messenger !
http://clk.atdmt.com/FRM/go/244627952/direct/01/___
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] vtkstd with VS2008 issue

2010-07-08 Thread Fred Fred

Thx all of you.
I actually did not include algorithm.h but since everything went fine with g++ 
I simply did never realize that something was missing.

From: dave.part...@kitware.com
Date: Thu, 8 Jul 2010 11:25:17 -0400
Subject: Re: [Paraview] vtkstd with VS2008 issue
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Or
If you prefer to use vtkstd instead of vtksys (Don't ask me what is different 
between them). Did you include #include vtkstd/algorithm ?
On Thu, Jul 8, 2010 at 11:15 AM, Dave Partyka dave.part...@kitware.com wrote:


Use this instead.
#include vtksys/stl/algorithm  // lower_bound
 vtksys_stl::lower_bound(



On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred stan1...@hotmail.fr wrote:








Hello,
how to cope with the fact using vtkstd:: causes syntax errors on VS2008 while 
it works well on g++?

p = vtkstd::lower_bound(start, end, *it, vtkstd::lessdouble());

error C2039: 'lower_bound' : is not a member of 'std'




  
Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège 
gratuitement

___

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





  
_
Messenger arrive enfin sur iPhone ! Venez le télécharger gratuitement !
http://www.messengersurvotremobile.com/?d=iPhone___
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] .idb and .lib vs .dll?

2010-07-06 Thread Fred Fred

Hello,
I have built PV with VS2008 and shared libs.
When I compile my plugins, it creates for each one a .idb and a .lib file, 
while it seems that only .dll are expected as plugins.
Should I ask CMake to create a .dll instead and how?

  
_
Exclu : Téléchargez la nouvelle version de Messenger !
http://clk.atdmt.com/FRM/go/244627952/direct/01/___
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] Is this page outdated? http://www.cmake.org/Wiki/BuildingWinDLL

2010-07-06 Thread Fred Fred

Because I tried it but it did not work:
  - the first error is due to this line:   static MYLIB_EXPORT 
vtkFiniteDifference *New();
that is I followed the advice at the end of the cmake page:
If you have some static functions then you will need something like 
the following: 



class MyStaticFunctionClass
{
  public:
static MYLIB_EXPORT void MyExportedFunction(int i);
};
but it seems that it does not work with constructors since contructors do not 
have any return type.

My CMakeFiles.txt looks like this:

FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

ADD_LIBRARY(vtkFiniteDifference SHARED vtkFiniteDifference.cxx)

# Add the new plugin in the MOSART submenu
ADD_PARAVIEW_PLUGIN(FiniteDifference 1.0
SERVER_MANAGER_XML FiniteDifference.xml 
SERVER_MANAGER_SOURCES vtkFiniteDifference.cxx
GUI_RESOURCE_FILES ../MOSART_GUI.xml)

INCLUDE_DIRECTORIES(/Developpement/ParaView-3.8.0/VTK)

Is there any redondancy between the ADD_LIBRARY and the ADD_PARAVIEW_PLUGIN 
lines?

Any help?


-- Build started: Project: FiniteDifference, Configuration: Release Win32 
--
Compiling...
vtkFiniteDifferenceClientServer.cxx
C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(34) : 
error C2487: 'New' : member of dll interface class may not be declared with dll 
interface
vtkFiniteDifference.cxx
C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(34) : 
error C2487: 'New' : member of dll interface class may not be declared with dll 
interface
..\vtkFiniteDifference.cxx(24) : warning C4273: 
'vtkFiniteDifference::CollectRevisions' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(29) : 
see previous definition of 'CollectRevisions'
..\vtkFiniteDifference.cxx(25) : warning C4273: 'vtkFiniteDifference::New' : 
inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(34) : 
see previous definition of 'New'
..\vtkFiniteDifference.cxx(28) : warning C4273: 
'vtkFiniteDifference::vtkFiniteDifference' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(58) : 
see previous definition of '{ctor}'
..\vtkFiniteDifference.cxx(33) : warning C4273: 
'vtkFiniteDifference::~vtkFiniteDifference' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(59) : 
see previous definition of '{dtor}'
..\vtkFiniteDifference.cxx(41) : warning C4273: 
'vtkFiniteDifference::RequestData' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(61) : 
see previous definition of 'RequestData'
..\vtkFiniteDifference.cxx(124) : warning C4273: 'vtkFiniteDifference::SetAxis' 
: inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(51) : 
see previous definition of 'SetAxis'
..\vtkFiniteDifference.cxx(132) : warning C4273: 
'vtkFiniteDifference::PrintSelf' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(30) : 
see previous definition of 'PrintSelf'
Generating Code...
Build log was saved at 
file://c:\Developpement\ParaView_Plugins\FiniteDifference\PV\FiniteDifference.dir\Release\BuildLog.htm
FiniteDifference - 2 error(s), 7 warning(s)
-- Build started: Project: vtkFiniteDifference, Configuration: Release 
Win32 --
Compiling...
vtkFiniteDifference.cxx
C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(34) : 
error C2487: 'New' : member of dll interface class may not be declared with dll 
interface
..\vtkFiniteDifference.cxx(24) : warning C4273: 
'vtkFiniteDifference::CollectRevisions' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(29) : 
see previous definition of 'CollectRevisions'
..\vtkFiniteDifference.cxx(25) : warning C4273: 'vtkFiniteDifference::New' : 
inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(34) : 
see previous definition of 'New'
..\vtkFiniteDifference.cxx(28) : warning C4273: 
'vtkFiniteDifference::vtkFiniteDifference' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(58) : 
see previous definition of '{ctor}'
..\vtkFiniteDifference.cxx(33) : warning C4273: 
'vtkFiniteDifference::~vtkFiniteDifference' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(59) : 
see previous definition of '{dtor}'
..\vtkFiniteDifference.cxx(41) : warning C4273: 
'vtkFiniteDifference::RequestData' : inconsistent dll linkage

C:\Developpement\ParaView_Plugins\FiniteDifference\vtkFiniteDifference.h(61) : 
see previous definition of 'RequestData'
..\vtkFiniteDifference.cxx(124) : warning C4273: 

Re: [Paraview] PV on Windows with VS requirements

2010-06-30 Thread Fred Fred

But their pre-built version is, by default, built on MinGW (at least those that 
is listed in their GPL download page).And using the version attached to the 
link below implies having VS2008, while only VS2010 is now available (someone 
here reported compatibility issues between VS2008 and VS2010, that is Microsoft 
lol).If you can tell me where to find VS2008, it may help me.

From: dave.part...@kitware.com
Date: Wed, 30 Jun 2010 10:23:13 -0400
Subject: Re: [Paraview] PV on Windows with VS requirements
To: stan1...@hotmail.fr
CC: paraview@paraview.org

You can either build Qt yourself or download their pre-built Qt. Both use the 
LGPL license. It needs to match your version of VS though. For 4.6.3 you need 
to use Visual Studio 2008 if you use their binaries. Otherwise you will need to 
build it yourself.


http://qt.nokia.com/downloads/windows-cpp-vs2008

On Wed, Jun 30, 2010 at 10:18 AM, Fred Fred stan1...@hotmail.fr wrote:







Hello,
I want to to be able to develop plugins for PV on Windows XP.
This requires that I compile PV (vs using pre-compiled binaries), right?
So I need Qt for VS but VS is only supported by Qt through commercial versions, 
which means that I need to build a commercial version of Qt to be able to have 
a development version of PV, am I still right?



  
Vous voulez protéger votre vie privée ? La solution avec Internet Explorer 8

___

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



  
_
La boîte mail NOW Génération vous permet de réunir toutes vos boîtes mail dans 
Hotmail !
http://www.windowslive.fr/hotmail/nowgeneration/___
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 on Windows with VS requirements

2010-06-30 Thread Fred Fred

Thx, I should be able to do it successfully now.

From: dave.part...@kitware.com
Date: Wed, 30 Jun 2010 10:35:40 -0400
Subject: Re: [Paraview] PV on Windows with VS requirements
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Are you talking about where to get Visual Studio 2008 Express? You can download 
it from here:
http://www.microsoft.com/express/Downloads/#2008-Visual-CPP


That should match the VS 2008 Qt on the nokia website.
On Wed, Jun 30, 2010 at 10:31 AM, Fred Fred stan1...@hotmail.fr wrote:







But their pre-built version is, by default, built on MinGW (at least those that 
is listed in their GPL download page).And using the version attached to the 
link below implies having VS2008, while only VS2010 is now available (someone 
here reported compatibility issues between VS2008 and VS2010, that is Microsoft 
lol).

If you can tell me where to find VS2008, it may help me.

From: dave.part...@kitware.com
Date: Wed, 30 Jun 2010 10:23:13 -0400
Subject: Re: [Paraview] PV on Windows with VS requirements


To: stan1...@hotmail.fr
CC: paraview@paraview.org

You can either build Qt yourself or download their pre-built Qt. Both use the 
LGPL license. It needs to match your version of VS though. For 4.6.3 you need 
to use Visual Studio 2008 if you use their binaries. Otherwise you will need to 
build it yourself.




http://qt.nokia.com/downloads/windows-cpp-vs2008

On Wed, Jun 30, 2010 at 10:18 AM, Fred Fred stan1...@hotmail.fr wrote:









Hello,
I want to to be able to develop plugins for PV on Windows XP.
This requires that I compile PV (vs using pre-compiled binaries), right?
So I need Qt for VS but VS is only supported by Qt through commercial versions, 
which means that I need to build a commercial version of Qt to be able to have 
a development version of PV, am I still right?





  
Vous voulez protéger votre vie privée ? La solution avec Internet Explorer 8

___

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



  
Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège 
gratuitement !



  
_
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx___
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] Compiling error with 3.8.0

2010-06-02 Thread Fred Fred

Ok thx, this issue has been solved but now I face another one:

[ 80%] Built target vtkPVFiltersPython
[ 80%] Building CXX object 
Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/vtkSMBarChartViewProxy.cxx.o
In file included from 
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:32,
 from 
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h:31,
 from 
/usr/local/ParaView-3.8.0/Servers/ServerManager/vtkSMBarChartViewProxy.cxx:18:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:25:21: error: 
vtkView.h: No such file or directory
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:30: error: expected 
class-name before ‘{’ token
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:34: error: ‘vtkView’ 
does not name a type
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h: In static member 
function ‘static int vtkQtView::IsTypeOf(const char*)’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:34: error: ‘vtkView’ 
has not been declared
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h: In static member 
function ‘static vtkQtView* vtkQtView::SafeDownCast(vtkObjectBase*)’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:34: error: invalid 
static_cast from type ‘vtkObjectBase*’ to type ‘vtkQtView*’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h: In member function 
‘virtual vtkObjectBase* vtkQtView::NewInstanceInternal() const’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtView.h:34: error: ‘New’ is not 
a member of ‘vtkQtView’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h: At global scope:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:233: error: ISO 
C++ forbids declaration of ‘vtkDataRepresentation’ with no type
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:233: error: 
‘vtkDataRepresentation’ declared as a ‘virtual’ field
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:233: error: 
expected ‘;’ before ‘*’ token
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h: In static member 
function ‘static vtkQtChartView* vtkQtChartView::SafeDownCast(vtkObjectBase*)’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:51: error: invalid 
static_cast from type ‘vtkObjectBase*’ to type ‘vtkQtChartView*’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h: In member 
function ‘virtual vtkObjectBase* vtkQtChartView::NewInstanceInternal() const’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtChartView.h:51: error: ‘New’ 
is not a member of ‘vtkQtChartView’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h: In static 
member function ‘static vtkQtBarChartView* 
vtkQtBarChartView::SafeDownCast(vtkObjectBase*)’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h:43: error: 
invalid static_cast from type ‘vtkObjectBase*’ to type ‘vtkQtBarChartView*’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h: In member 
function ‘virtual vtkObjectBase* vtkQtBarChartView::NewInstanceInternal() 
const’:
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h:43: error: 
cannot convert ‘vtkQtBarChartView*’ to ‘vtkObjectBase*’ in return
/usr/local/ParaView-3.8.0/Servers/ServerManager/vtkSMBarChartViewProxy.cxx: In 
member function ‘vtkQtBarChartView* vtkSMBarChartViewProxy::GetBarChartView()’:
/usr/local/ParaView-3.8.0/Servers/ServerManager/vtkSMBarChartViewProxy.cxx:40: 
error: no matching function for call to 
‘vtkQtBarChartView::SafeDownCast(vtkQtChartView*)’
/usr/local/ParaView-3.8.0/VTK/GUISupport/Qt/vtkQtBarChartView.h:43: note: 
candidates are: static vtkQtBarChartView* 
vtkQtBarChartView::SafeDownCast(vtkObjectBase*)
make[2]: *** 
[Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/vtkSMBarChartViewProxy.cxx.o]
 Error 1
make[1]: *** [Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/all] 
Error 2
make: *** [all] Error 2


From: dave.part...@kitware.com
Date: Tue, 1 Jun 2010 17:12:05 -0400
Subject: Re: [Paraview] Compiling error with 3.8.0
To: stan1...@hotmail.fr
CC: paraview@paraview.org

Turn VTK_USE_RPATH to ON or export DYLD_LIBRARY_PATH to your bin dir.

On Tue, Jun 1, 2010 at 5:07 PM, Fred Fred stan1...@hotmail.fr wrote:







Hello,
I have downloaded the 3.8 release source from the download page and I try to 
compile it on Mac OS X Leopard, using the classic cmake porcedure that has been 
successful with the 3.6.2 but I get a surprising error:



[ 34%] Building CXX object 
VTK/VolumeRendering/CMakeFiles/vtkVolumeRenderingPython.dir/vtkVolumeRenderingPythonInit.cxx.o
Linking CXX shared module ../../bin/libvtkVolumeRenderingPython.so
[ 34%] Built target vtkVolumeRenderingPython


[ 34%] Generating vtkCompositeZPassShader_fs.cxx, vtkCompositeZPassShader_fs.h
[ 34%] Generating vtkSocketCommunicatorHash.h
dyld: Library not loaded: libvtksys.pv3.8.dylib
  Referenced from: 
/usr/local/ParaView3_BUILD/VTK/Parallel/../../bin/vtkHashSource


  Reason: image

Re: [Paraview] Compiling error with 3.8.0

2010-06-02 Thread Fred Fred

It seems that this was the reason since now it passes it. BTW this seems to be 
a mandatory option :-)
But now I have another problem:

 QT_LIBRARY_DIR   /Library/Frameworks
 QT_QTXMLPATTERNS_INCLUDE_DIR 
/Library/Frameworks/QtXmlPatterns.framework/Headers 
 
 QT_QTXMLPATTERNS_LIBRARY /Library/Frameworks/QtXmlPatterns.framework   
   
 QT_QTXMLPATTERNS_LIBRARY_DEBUG   QT_QTXMLPATTERNS_LIBRARY_DEBUG-NOTFOUND   
   
 QT_QTXMLPATTERNS_LIBRARY_RELEA   /Library/Frameworks/QtXmlPatterns.framework   


[ 88%] Built target vtkPVPython
Linking CXX executable ../../../bin/pvbatch
ld: file not found: QtXmlPatterns.framework/Versions/4/QtXmlPatterns
collect2: ld returned 1 exit status
make[2]: *** [bin/pvbatch] Error 1
make[1]: *** 
[Utilities/VTKPythonWrapping/Executable/CMakeFiles/pvbatch.dir/all] Error 2
make: *** [all] Error 2

The file /Library/Frameworks/QtXmlPatterns.framework/Versions/4/QtXmlPatterns 
exists, so any idea?

  
_
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx___
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] Compiling error with 3.8.0

2010-06-01 Thread Fred Fred

Hello,
I have downloaded the 3.8 release source from the download page and I try to 
compile it on Mac OS X Leopard, using the classic cmake porcedure that has been 
successful with the 3.6.2 but I get a surprising error:

[ 34%] Building CXX object 
VTK/VolumeRendering/CMakeFiles/vtkVolumeRenderingPython.dir/vtkVolumeRenderingPythonInit.cxx.o
Linking CXX shared module ../../bin/libvtkVolumeRenderingPython.so
[ 34%] Built target vtkVolumeRenderingPython
[ 34%] Generating vtkCompositeZPassShader_fs.cxx, vtkCompositeZPassShader_fs.h
[ 34%] Generating vtkSocketCommunicatorHash.h
dyld: Library not loaded: libvtksys.pv3.8.dylib
  Referenced from: 
/usr/local/ParaView3_BUILD/VTK/Parallel/../../bin/vtkHashSource
  Reason: image not found
/bin/sh: line 1:   970 Trace/BPT trap  ../../bin/vtkHashSource 
/usr/local/ParaView-3.8.0/VTK/Parallel/vtkSocketCommunicator.cxx 
vtkSocketCommunicatorHash vtkSocketCommunicatorHash.h
make[2]: *** [VTK/Parallel/vtkSocketCommunicatorHash.h] Error 133
make[1]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/all] Error 2
make: *** [all] Error 2
Macintosh-3:ParaView3_BUILD$ find . -name *libvtksys*
./bin/libvtksys.dylib
./bin/libvtksys.pv3.8.dylib

So the required library is available in ./bin, which should be included in the 
path to search for librairies, but it does not work.
What should I do to solve this issue?


  
_
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx___
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] Loading xml plugins at startup

2010-03-30 Thread Fred Fred

Hmmm, what do you call .so plugins and .xml plugins actually?
To create a plugin, you need to specify its interface, that is the components 
of its object inspector and where the new filter should appear in the menus.
And then the linker generates a library, which extension is .so in the case of 
a dynamic library on Linux.
So may be the plugin appears in the plugin manager with its extension but there 
is only one plugin and the .xml should not appear as far as I know.
And the .xml file allows you to put your new filter in the filter list, or even 
create a new submenu with your own plugins grouped into it, which would avoir 
the need to go to the plugin inspector to launch them.
Hope it helps.

 Date: Mon, 29 Mar 2010 18:49:57 -0400
 From: daviddo...@gmail.com
 To: paraview@paraview.org
 Subject: [Paraview] Loading xml plugins at startup
 
 I added some paths to my PV_PLUGIN_PATH. When I start Paraview, in the
 plugin manager I see the .so plugins in those paths, but not the .xml
 plugins. Is there a reason xml plugins must be loaded manually?
 
 Thanks,
 
 David
 ___
 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
  
_
Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL 
!
http://www.windowslive.fr/hotmail/agregation/___
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] Windows intall issue

2010-03-22 Thread Fred Fred

Just coz having the same environment on the Mac and on Win is more comfortable 
for me.
So I tried to use the command line ccmake instead, configuring PV in the same 
way as on Linux.
But this time I faced another issue, which turns out to have been already 
identified here:

http://www.itk.org/Bug/view.php?id=8516

without having been fixed by the cmake team!

 Date: Mon, 22 Mar 2010 09:43:17 -0400
 Subject: Re: [Paraview] Windows intall issue
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Any reason why you are not simply using Visual Studio tools for
 building instead of cygwin?
 
 Utkarsh
 
 On Sat, Mar 20, 2010 at 11:39 AM, Fred Fred stan1...@hotmail.fr wrote:
  Hello,
  I try to install PV on Windows, I am a Mac user.
  So I install everything necessary for compiling PV from source, since I
  would like to be able to compile some plugins too: Cygwin, MinGV, CMake, Qt
  and of course PV.
  I managed to run CMake, following the instructions on the PV pages. Now I
  have some Makefiles but only the Visual Studio procedure is described on the
  doc pages and I use g++ through Cygwin.
  So I go in the ParaView_BUILD dir and run make, but nothing happen, make
  seems to find that nothing has to be done.
  So I checked the Makefile, which seems to be ok.
  Any idea?
 
 
  
  Hotmail débarque sur votre téléphone ! Paramétrez Hotmail sur votre
  téléphone! Gratuit !
  ___
  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
 
 
  
_
Hotmail arrive sur votre téléphone ! Compatible Iphone, Windows Phone, 
Blackberry, …
http://www.messengersurvotremobile.com/?d=Hotmail___
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] Windows intall issue

2010-03-20 Thread Fred Fred

Hello,
I try to install PV on Windows, I am a Mac user.
So I install everything necessary for compiling PV from source, since I would 
like to be able to compile some plugins too: Cygwin, MinGV, CMake, Qt and of 
course PV.
I managed to run CMake, following the instructions on the PV pages. Now I have 
some Makefiles but only the Visual Studio procedure is described on the doc 
pages and I use g++ through Cygwin.
So I go in the ParaView_BUILD dir and run make, but nothing happen, make seems 
to find that nothing has to be done.
So I checked the Makefile, which seems to be ok.
Any idea?

  
_
Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL 
!
http://www.windowslive.fr/hotmail/agregation/___
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] Problem (and work-around) for ArbitrarySourceStreamTracer on Mac

2010-03-07 Thread Fred Fred

That's right, I am on Mac OS X Leopard and I regularly face such problems.
The easiest way to cope with it is to drag the object inspector out of its 
container and then enlarge it enough to have access to all the widgets.

 Date: Mon, 1 Mar 2010 12:58:05 -0500
 To: paraview@paraview.org
 From: tayl...@cs.unc.edu
 Subject: [Paraview] Problem (and work-around) for ArbitrarySourceStreamTracer 
 on Mac
 
 One of the students in my class was using ArbitrarySourceStreamTracer 
 on a mac and found that he couldn't see the Source: radio button to 
 enable selection of a source.  Another student in the class noticed 
 that if they resized the dialog box then they could see the 
 control.  So it must be some sort of font/resizing issue.
 
 This may affect other pop-up control panels on the mac as well.
 
 Russ
 
 
 ---
 Russell M. Taylor II, Ph.D.   tayl...@cs.unc.edu
 CB #3175, Sitterson Hallwww.cs.unc.edu/~taylorr
 University of North Carolina, Voice: (919) 962-1701
 Chapel Hill, NC 27599-3175FAX:   (919) 962-1799 
 
 ___
 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
  
_
Consultez gratuitement vos emails Orange, Gmail, Free, ... directement dans 
HOTMAIL !
http://www.windowslive.fr/hotmail/agregation/___
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 get back the first line of a VTK legacy file

2010-02-28 Thread Fred Fred

Hmm, I tried it without success:

FIELD FieldData 1
FEmethod 1 1 string
Lagrange

yieds to:


ERROR: In /usr/local/ParaView3/VTK/Filtering/vtkDataSet.cxx, line 439
vtkPolyData (0xae3eac0): Cell array FEmethod with 1 components, has only 1 
tuples but there are 4 cells

ERROR: In /usr/local/ParaView3/VTK/Parallel/vtkPDataSetReader.cxx, line 921
vtkPDataSetReader (0xa5d5c60): Attribute Mismatch.

ERROR: In /usr/local/ParaView3/VTK/Filtering/vtkExecutive.cxx, line 757
vtkCompositeDataPipeline (0xa5d6420): Algorithm vtkFileSeriesReader(0xa5a2600) 
returned failure for request: vtkInformation (0xae3e650)
 Debug: Off
 Modified Time: 97070
 Reference Count: 1
 Registered Events: (none)
 Request: REQUEST_DATA
 FROM_OUTPUT_PORT: 0
 FORWARD_DIRECTION: 0
 ALGORITHM_AFTER_FORWARD: 1



while:

FIELD FieldData 1
FEmethod 1 4 string
Lagrange Lagrange Lagrange Lagrange

works!

 Date: Tue, 23 Feb 2010 17:07:02 -0500
 Subject: Re: [Paraview] How to get back the first line of a VTK legacy file
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Yes, in field data, the number of tuples doesn't have to match the
 number of points or cells, so you can have arbitrary length arrays.
 
 Utkarsh
 
 On Tue, Feb 23, 2010 at 4:51 PM, Fred Fred stan1...@hotmail.fr wrote:
  Does it mean that a field data array store only the variable once for all
  the dataset? I would like to avoir having the same value stored for each
  component.
 
  Date: Tue, 23 Feb 2010 12:51:14 -0500
  Subject: Re: [Paraview] How to get back the first line of a VTK legacy
  file
  From: utkarsh.ayac...@kitware.com
  To: stan1...@hotmail.fr
  CC: paraview@paraview.org
 
  A possible alternative to put such additional parameters in a field data
  array.
 
  On Tue, Feb 23, 2010 at 6:34 AM, Fred Fred stan1...@hotmail.fr wrote:
   The first - not comment - line in a legacy VTK file is free for the user
   and
   can be used to mention, let us say, an approximation method to use with
   the
   data for instance, at least I would like to use it for this purpose.
   This line can be got back in a C++ code by using
   vtkDataReader::GetHeader().
   Is it possible to get ot from the VTK dataset instead? since a filter
   has
   only access to the data, not to the reader.
   Or is it another (better) way to encode general information in a
   dataset? I
   suppose vtkInformation can be used for this purpose but where does it
   appear
   in a file?
  
  
  
   
   Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez
   !
   ___
   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
  
  
 
  
  Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] How to get back the first line of a VTK legacy file

2010-02-23 Thread Fred Fred

The first - not comment - line in a legacy VTK file is free for the user and 
can be used to mention, let us say, an approximation method to use with the 
data for instance, at least I would like to use it for this purpose.
This line can be got back in a C++ code by using vtkDataReader::GetHeader().
Is it possible to get ot from the VTK dataset instead? since a filter has only 
access to the data, not to the reader.
Or is it another (better) way to encode general information in a dataset? I 
suppose vtkInformation can be used for this purpose but where does it appear in 
a file?


  
_
Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/___
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] Can I delete some items in PV interface?

2010-02-23 Thread Fred Fred

Suppose I want to have a PV configured without any toolbar, is it possible?
My general concern is in which respect is it possible to customize the PV 
interface, using XML specs?

  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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 get back the first line of a VTK legacy file

2010-02-23 Thread Fred Fred

Does it mean that a field data array store only the variable once for all the 
dataset? I would like to avoir having the same value stored for each component.

 Date: Tue, 23 Feb 2010 12:51:14 -0500
 Subject: Re: [Paraview] How to get back the first line of a VTK legacy file
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 A possible alternative to put such additional parameters in a field data 
 array.
 
 On Tue, Feb 23, 2010 at 6:34 AM, Fred Fred stan1...@hotmail.fr wrote:
  The first - not comment - line in a legacy VTK file is free for the user and
  can be used to mention, let us say, an approximation method to use with the
  data for instance, at least I would like to use it for this purpose.
  This line can be got back in a C++ code by using vtkDataReader::GetHeader().
  Is it possible to get ot from the VTK dataset instead? since a filter has
  only access to the data, not to the reader.
  Or is it another (better) way to encode general information in a dataset? I
  suppose vtkInformation can be used for this purpose but where does it appear
  in a file?
 
 
 
  
  Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
  ___
  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
 
 
  
_
Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/___
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] Instanciating an unknown type

2010-02-20 Thread Fred Fred

Right, vtkDataSetAlgorithm::RequestDataObject() seems to do the job but now I 
have another problem: the point data are no longer copied to the output.
Here is my code, what is wrong?

  // get the output
  vtkInformation *outInfo = outputVector-GetInformationObject(0);
  vtkDataSet *output = 
vtkDataSet::SafeDownCast(outInfo-Get(vtkDataObject::DATA_OBJECT()));

  // pass all associated data to output dataset
  output-CopyStructure(this-input);
  output-GetPointData()-PassData(this-input-GetPointData());
  output-GetFieldData()-PassData(this-input-GetFieldData());

and another question: is GetFieldData() the same as GetPointData() + 
GetCellData() ?

Date: Fri, 19 Feb 2010 06:38:50 -0500
Subject: Re: [Paraview] Instanciating an unknown type
From: berk.gev...@kitware.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org

vtkDataSet* output = input-NewInstance();

vtkDataSetAlgorithm::RequestDataObject() already does this though. You 
shouldn't need to. See that method for details.

-berk

On Fri, Feb 19, 2010 at 6:35 AM, Fred Fred stan1...@hotmail.fr wrote:






My problem is as follow: I am writing a vtkDataSetAlgorithm filter and I need 
to create the ouput dataset, which must be of the same type as the input.
Is there a one-line way to do it, ie avoiding if (input-IsA(vtkPolyData) 
output=vtkPolyData::New(); else if ... ?


  
Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez ici !

___

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



  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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] Color scale editor

2010-02-19 Thread Fred Fred

I am on a Mac Leopard and this occurs both with the pad and an external 
bluetooth mouse.
But thx for the tip: with the tab key I am able to do exactly what I wanted!

 Date: Thu, 18 Feb 2010 09:42:22 -0500
 Subject: Re: [Paraview] Color scale editor
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 What platform is this on? On my linux box the value seems to be
 updated quite reliably. You may want to use tab to make the line
 edit loose focus so that it accepts the value.
 
 On Thu, Feb 18, 2010 at 8:17 AM, Fred Fred stan1...@hotmail.fr wrote:
  Hello,
  I tried to add 3 points to the blue-to-red colormap:
- 1 point at value -0.001 with default color (ie I keep the color from the
  blue-to-red ramp)
- 1 point at value 0.001 with default color
- 1 point at value 0 with black color
  in order to clearly identify zone for which the value is exactly 0.
  But the editor behaviour is annoying: I put a value in the line edit widget,
  click close, and when I come back to the editor the value has not been
  changed.
  Dragging the circle with the mouse is not more reliable: it seems that the
  editor prevents from having the circle going too close from each other.
  So:
- a suggestion: a set button would be useful to take into account a
  change in the coordinates of a point without having to close the editor and
  go back to it next
- a question: how to cope with this annoying behaviour of the editor?
 
 
  
  Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
  ___
  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
 
 
  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] Instanciating an unknown type

2010-02-19 Thread Fred Fred

My problem is as follow: I am writing a vtkDataSetAlgorithm filter and I need 
to create the ouput dataset, which must be of the same type as the input.
Is there a one-line way to do it, ie avoiding if (input-IsA(vtkPolyData) 
output=vtkPolyData::New(); else if ... ?

  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] Maximum number of pieces, what does it mean?

2010-02-03 Thread Fred Fred

Or how to cope with it? I mean how to specify the maximum number of pieces in a 
multi-output filter?

From: stan1...@hotmail.fr
To: paraview@paraview.org
Date: Tue, 2 Feb 2010 23:57:02 +0100
Subject: [Paraview] Maximum number of pieces, what does it mean?









I get this error when I select the 2nd output as displayable, although it 
contains 4 cells and 10 points, so it is not empty.
What does it mean?

ERROR: In 
/usr/local/ParaView3/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 
806
vtkCompositeDataPipeline
(0x2361e150): No maximum number of pieces has been set in the
information for output port 1 on algorithm vtkFlowCoordinates(0x2361d8c0).

  
Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez ici !   
  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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] Maximum number of pieces, what does it mean?

2010-02-02 Thread Fred Fred


I get this error when I select the 2nd output as displayable, although it 
contains 4 cells and 10 points, so it is not empty.
What does it mean?

ERROR: In 
/usr/local/ParaView3/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 
806
vtkCompositeDataPipeline
(0x2361e150): No maximum number of pieces has been set in the
information for output port 1 on algorithm vtkFlowCoordinates(0x2361d8c0).

  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] Wireframe display without culling

2010-01-30 Thread Fred Fred

Anyway, I am just interested in this tool to observe the connections in a 
specific zone, so I cancut part of the whole dataset before.
Thx for your help.

 Date: Sat, 30 Jan 2010 12:48:40 -0500
 Subject: Re: [Paraview] Wireframe display without culling
 From: berk.gev...@kitware.com
 To: utkarsh.ayac...@kitware.com
 CC: stan1...@hotmail.fr; paraview@paraview.org
 
 keeping in mind that the output of Extract Edges will be a big dataset.
 
 -berk
 
 On Fri, Jan 29, 2010 at 5:35 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  Try using the Extract Edges filter,.
 
  Utkarsh
 
  On Fri, Jan 29, 2010 at 11:09 AM, Fred Fred stan1...@hotmail.fr wrote:
  Hello,
  I would like to see the topology of an unstructured grid but only the front
  or back enveloppe is displayed, depending on which kind of display is
  selected.
  Is it possible to display the interior of the grid in wireframe?
 
 
  
  Windows 7 : Trouvez le PC qui vous convient! Découvrez notre offre !
  ___
  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
 
  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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] Wireframe display without culling

2010-01-29 Thread Fred Fred

Hello,
I would like to see the topology of an unstructured grid but only the front or 
back enveloppe is displayed, depending on which kind of display is selected.
Is it possible to display the interior of the grid in wireframe?

  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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 pick a point and get it in a plugin?

2010-01-19 Thread Fred Fred

Sorry to put this message up but I suspect there is a way to get the coords or 
point id of a point picked with select point on functionnality, so please may 
someone give me some hints?

From: stan1...@hotmail.fr
To: paraview@paraview.org
Date: Sat, 16 Jan 2010 19:29:09 +0100
Subject: [Paraview] How to pick a point and get it in a plugin?








I would like to use the picking functionnality, ie pick a point of a surface, 
and get it in my plugin, for instance to compute a streamline.
StreamTracer offers this functionnality but it actually does not work because 
the pick point is not necessary a point of the dataset, as with the picking 
functionnality when select points on is selected. Thus, in case of a surface, 
the point does not lie on the surface ad no streamline is computed (I mean with 
StreamTracer).
So my question is: is it possible to pick a point of a surface with the select 
points on functionnality and get it back in my filter, connected to the 
SetOrigin(double [3]) function for instance?

  
Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez ici !   
  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] A simple question

2010-01-18 Thread Fred Fred

Consider an arbitrary surface with tangent vectors defined on it. How do you do 
for computing streamlines on such a surface? I mean how do you place seed 
points? Placing seeds on a shere or on a line does not work since of course 
seed points are not on the surface.

  
_
Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/___
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] How to pick a point and get it in a plugin?

2010-01-16 Thread Fred Fred

I would like to use the picking functionnality, ie pick a point of a surface, 
and get it in my plugin, for instance to compute a streamline.
StreamTracer offers this functionnality but it actually does not work because 
the pick point is not necessary a point of the dataset, as with the picking 
functionnality when select points on is selected. Thus, in case of a surface, 
the point does not lie on the surface ad no streamline is computed (I mean with 
StreamTracer).
So my question is: is it possible to pick a point of a surface with the select 
points on functionnality and get it back in my filter, connected to the 
SetOrigin(double [3]) function for instance?

  
_
Découvrez Windows 7 en 7 secondes !
http://clk.atdmt.com/FRM/go/181574577/direct/01/___
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] Why 2 CMakeLists files ?

2010-01-04 Thread Fred Fred

On this page: 
http://www.paraview.org/Wiki/Paraview_Make_building_Paraview_plugin_optional
2 CMakeLists.txt files appear, is it a mistake? should one of them be a link on 
the other one? what else?

  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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] How to bound values of a variable as a function of a given array?

2010-01-04 Thread Fred Fred

I would like May anybody tell me what is wrong in my XML code?

  StringVectorProperty 
 name=SelectInputScalars 
 command=SetInputArrayToProcess
 number_of_elements=5
 element_types=0 0 0 0 2
 animateable=0
 label=Scalars
ArrayListDomain name=array_list attribute_type=Scalars
  RequiredProperties
Property name=Input function=Input/
  /RequiredProperties
/ArrayListDomain
/StringVectorProperty

  DoubleVectorProperty
 name=TimeStep
 label=Time Step
 command=SetTimeStep
 number_of_elements=1
 default_values=0
ArrayRangeDomain name=scalar_range
  RequiredProperties
Property name=Input function=Input/
Property name=SelectInputScalars function=ArraySelection/
  /RequiredProperties
/ArrayRangeDomain 
  /DoubleVectorProperty

  
_
Vivez Noël avant l'heure avec Hotmail Magic Moment !
http://www.hotmailmagicmoment.com___
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 bound values of a variable as a function of a given array?

2010-01-04 Thread Fred Fred

I would like that the possible values of variable TimeStep be chosen in the 
range of the selected scalar array, for instance thanks to a slider.


 Date: Mon, 4 Jan 2010 10:37:05 -0500
 Subject: Re: [Paraview] How to bound values of a variable as a function of a  
 given array?
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Can you be a bit more elaborate on what you are trying to achieve here please?
 Thanks.
 
 Utkarsh
 
 On Mon, Jan 4, 2010 at 10:26 AM, Fred Fred stan1...@hotmail.fr wrote:
  I would like May anybody tell me what is wrong in my XML code?
 
StringVectorProperty
   name=SelectInputScalars
   command=SetInputArrayToProcess
   number_of_elements=5
   element_types=0 0 0 0 2
   animateable=0
   label=Scalars
  ArrayListDomain name=array_list attribute_type=Scalars
RequiredProperties
  Property name=Input function=Input/
/RequiredProperties
  /ArrayListDomain
  /StringVectorProperty
 
DoubleVectorProperty
   name=TimeStep
   label=Time Step
   command=SetTimeStep
   number_of_elements=1
   default_values=0
  ArrayRangeDomain name=scalar_range
RequiredProperties
  Property name=Input function=Input/
  Property name=SelectInputScalars function=ArraySelection/
/RequiredProperties
  /ArrayRangeDomain
/DoubleVectorProperty
 
 
  
  Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !
  ___
  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
 
 
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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] Filter input types

2009-12-11 Thread Fred Fred

I wrote a filter inherited from vtkPolyDataAlgorithm.
As far as I have understood, such a filter is supposed to produce a vtkPolyData 
but may use any kind of dataset as input.
The problem is I get an error because my input is an ImageData set while a 
PolyData is expected.
Any idea of what I missed in my code?

  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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] Programmable Filter issue

2009-12-09 Thread Fred Fred

I changed the PYTHONPATH to add the requested directory but nothin changed:

Macintosh-2:Python fred$ env|grep PYTH
PYTHONPATH=/usr/local/ParaView3_BUILD/Utilities/VTKPythonWrapping/paraview:/usr/local/ParaView3_BUILD/bin:/usr/local/ParaView3/Utilities/VTKPythonWrapping
Macintosh-2:Python fred$ python resample.py grid1.vtk grid2.vtk 
paraview version 3.7.0, Date: 2009-11-12
Traceback (most recent call last):
  File resample.py, line 23, in module
from paraview import numpy_support
ImportError: cannot import name numpy_support


 Date: Tue, 8 Dec 2009 06:54:13 -0500
 Subject: Re: [Paraview] Programmable Filter issue
 From: berk.gev...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Then something is wrong with your PYTHONPATH. If you are running
 pvpython or the Python shell from the GUI, this should already work -
 please report it as a bug to me. If you are running pure Python, this
 directory has to be in your PYTHONPATH (not a bug). I am surprised
 that your could import any modules at all. I am guessing that you have
 the module directory in the source code in your path. If that's the
 case, please replace it with the one in the binary tree.
 
 -berk
 
 On Tue, Dec 8, 2009 at 3:45 AM, Fred Fred stan1...@hotmail.fr wrote:
  Yes.
 
  Macintosh-2:~ fred$ find
  /usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview -name
  numpy_support.py
  /usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview/numpy_support.py
 
  Date: Mon, 7 Dec 2009 10:46:13 -0500
  Subject: Re: [Paraview] Programmable Filter issue
  From: berk.gev...@kitware.com
  To: stan1...@hotmail.fr
  CC: paraview@paraview.org
 
  Strange. Is there a file called numpy_support.py in
  /usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview ?
 
  -berk
 
  On Fri, Dec 4, 2009 at 4:38 PM, Fred Fred stan1...@hotmail.fr wrote:
   Macintosh-2:Paraview fred$ pwd
   /Users/fred/Paraview
   Macintosh-2:~ fred$ which paraview
   /usr/local/ParaView3_BUILD/bin/paraview.app/Contents/MacOS/paraview
  
  
   Date: Fri, 4 Dec 2009 14:45:43 -0500
   Subject: Re: [Paraview] Programmable Filter issue
   From: berk.gev...@kitware.com
   To: stan1...@hotmail.fr
   CC: paraview@paraview.org
  
   Are you running from the compile folder or did you make an app?
  
   On Fri, Dec 4, 2009 at 8:31 AM, Fred Fred stan1...@hotmail.fr wrote:
I am running from the cvs 3.7.0 source, which I compiled on Mac OS X
Leopard, nothing else.
So does it mean that using the programmable filter requires to
install
an
additionnal module?
   
Date: Fri, 4 Dec 2009 06:44:49 -0500
Subject: Re: [Paraview] Programmable Filter issue
From: berk.gev...@kitware.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org
   
Hmmm. Are you running from an install ParaView? Which version and
which platform? numpy_support is a Python module that is in VTK. It
should be copied to an install but maybe there is a bug somewhere.
   
-berk
   
On Thu, Dec 3, 2009 at 9:06 AM, Fred Fred stan1...@hotmail.fr
wrote:
 I just put this line in the script area:

 pdo = self.GetOutput()

 and I get this error:

 Traceback (most recent call last):

 File string, line 11, in module

 File



 /usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
 line 8, in module

 from paraview import numpy_support

 ImportError: cannot import name numpy_support

 Any idea of the problem?

 
 Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici
 !
 ___
 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


   

PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail !
C'est
ici !
  
   
   Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? !  Découvrez notre
   offre
   !
 
  
  Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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

Re: [Paraview] Programmable Filter issue

2009-12-08 Thread Fred Fred

Yes.

Macintosh-2:~ fred$ find 
/usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview -name 
numpy_support.py
/usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview/numpy_support.py

 Date: Mon, 7 Dec 2009 10:46:13 -0500
 Subject: Re: [Paraview] Programmable Filter issue
 From: berk.gev...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Strange. Is there a file called numpy_support.py in
 /usr/local/ParaView3_BUILD//Utilities/VTKPythonWrapping/paraview ?
 
 -berk
 
 On Fri, Dec 4, 2009 at 4:38 PM, Fred Fred stan1...@hotmail.fr wrote:
  Macintosh-2:Paraview fred$ pwd
  /Users/fred/Paraview
  Macintosh-2:~ fred$ which paraview
  /usr/local/ParaView3_BUILD/bin/paraview.app/Contents/MacOS/paraview
 
 
  Date: Fri, 4 Dec 2009 14:45:43 -0500
  Subject: Re: [Paraview] Programmable Filter issue
  From: berk.gev...@kitware.com
  To: stan1...@hotmail.fr
  CC: paraview@paraview.org
 
  Are you running from the compile folder or did you make an app?
 
  On Fri, Dec 4, 2009 at 8:31 AM, Fred Fred stan1...@hotmail.fr wrote:
   I am running from the cvs 3.7.0 source, which I compiled on Mac OS X
   Leopard, nothing else.
   So does it mean that using the programmable filter requires to install
   an
   additionnal module?
  
   Date: Fri, 4 Dec 2009 06:44:49 -0500
   Subject: Re: [Paraview] Programmable Filter issue
   From: berk.gev...@kitware.com
   To: stan1...@hotmail.fr
   CC: paraview@paraview.org
  
   Hmmm. Are you running from an install ParaView? Which version and
   which platform? numpy_support is a Python module that is in VTK. It
   should be copied to an install but maybe there is a bug somewhere.
  
   -berk
  
   On Thu, Dec 3, 2009 at 9:06 AM, Fred Fred stan1...@hotmail.fr wrote:
I just put this line in the script area:
   
pdo = self.GetOutput()
   
and I get this error:
   
Traceback (most recent call last):
   
File string, line 11, in module
   
File
   
   
/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
line 8, in module
   
from paraview import numpy_support
   
ImportError: cannot import name numpy_support
   
Any idea of the problem?
   

Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !
___
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
   
   
  
   
   PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail !
   C'est
   ici !
 
  
  Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? !  Découvrez notre offre
  !
  
_
Vivez Noël avant l'heure avec Hotmail Magic Moment !
http://www.hotmailmagicmoment.com___
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] Programmable Filter issue

2009-12-04 Thread Fred Fred

I am running from the cvs 3.7.0 source, which I compiled on Mac OS X Leopard, 
nothing else.
So does it mean that using the programmable filter requires to install an 
additionnal module?

 Date: Fri, 4 Dec 2009 06:44:49 -0500
 Subject: Re: [Paraview] Programmable Filter issue
 From: berk.gev...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 Hmmm. Are you running from an install ParaView? Which version and
 which platform? numpy_support is a Python module that is in VTK. It
 should be copied to an install but maybe there is a bug somewhere.
 
 -berk
 
 On Thu, Dec 3, 2009 at 9:06 AM, Fred Fred stan1...@hotmail.fr wrote:
  I just put this line in the script area:
 
  pdo = self.GetOutput()
 
  and I get this error:
 
  Traceback (most recent call last):
 
  File string, line 11, in module
 
  File
  /usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
  line 8, in module
 
  from paraview import numpy_support
 
  ImportError: cannot import name numpy_support
 
  Any idea of the problem?
 
  
  Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici !
  ___
  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
 
 
  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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 save a multiblock dataset as a legacy VTK file format?

2009-12-03 Thread Fred Fred

Just for some test purpose but anyway, the solution given by Utkarsh is 
convenient for my problem.
Thx

 Date: Wed, 2 Dec 2009 15:26:50 -0500
 Subject: Re: [Paraview] How to save a multiblock dataset as a legacy VTK file 
 format?
 From: berk.gev...@kitware.com
 To: utkarsh.ayac...@kitware.com
 CC: stan1...@hotmail.fr; paraview@paraview.org
 
 The longer way of doing this is to save it as a vtm file, then opening
 file(s) referring to individual blocks one by one and saving them as
 vtk. Why do you want to save the file as legacy vtk?
 
 -berk
 
 On Wed, Dec 2, 2009 at 10:42 AM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  Not directly. Even if you extracted a single block, it's still a
  vtkMultiBlockDataSet and vtkMultiBlockDataSet cannot be written out as
  legacy VTK. What is the data type of the block? You can always use
  vtkMergeBlocks to create a vtkUnstructuredGrid and then save out as
  legacy vtk files.
 
  Utkarsh
 
  On Wed, Dec 2, 2009 at 10:38 AM, Fred Fred stan1...@hotmail.fr wrote:
  I have a multiblock dataset in which I have selected a single block and now
  I would like to save it as a legacy VTK file, is it possible?
 
 
  
  Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
  ___
  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
 
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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] Grid source?

2009-12-03 Thread Fred Fred

Sorry but I did not get any answer to this problem: is it a normal behaviour 
that ResampleWithDataset does not resample PointData?

From: stan1...@hotmail.fr
To: utkarsh.ayac...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] Grid source?
Date: Wed, 2 Dec 2009 17:27:42 +0100








Thx, it works except that it did not resample the point data, so all my point 
data are assigned 0 values!

 Date: Wed, 2 Dec 2009 11:08:33 -0500
 Subject: Re: [Paraview] Grid source?
 From: utkarsh.ayac...@kitware.com
 To: stan1...@hotmail.fr
 CC: paraview@paraview.org
 
 You can use something like Wavelet to generate your regular grid.
 
 Utkarsh
 
 On Wed, Dec 2, 2009 at 11:05 AM, Fred Fred stan1...@hotmail.fr wrote:
  I would like to resample an unstructured grid with a regular grid.
  My idea was to create a regular grid and then to resample the data with this
  soucre but I do not find any grid source.
  Any help?
 
 
  
  Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez ici
  !
  ___
  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
 
 
  
Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !   
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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] Programmable Filter issue

2009-12-03 Thread Fred Fred



I just put this line in the script area:
pdo = self.GetOutput()

and I get this error:
Traceback (most recent call last):
  File string, line 11, in module
  File 
/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
 line 8, in module
from paraview import numpy_support
ImportError: cannot import name numpy_support
Any idea of the problem?


  
_
Vivez Noël avant l'heure avec Hotmail Magic Moment !
http://www.hotmailmagicmoment.com___
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] Programmable Filter issue

2009-12-03 Thread Fred Fred

I get the same error if I create a python script outsite of interactive PV and 
I try to execute it with the python interpreter.

paraview version 3.7.0, Date: 2009-11-12
vtkFileSeriesReader : [ ...]
vtkPythonProgrammableFilter : [ .paraview version 3.7.0, Date: 2009-11-12
Traceback (most recent call last):
  File string, line 11, in module
  File 
/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
 line 8, in module
from paraview import numpy_support
ImportError: cannot import name numpy_support

From: stan1...@hotmail.fr
To: paraview@paraview.org
Subject: Programmable Filter issue
Date: Thu, 3 Dec 2009 15:06:11 +0100










I just put this line in the script area:
pdo = self.GetOutput()

and I get this error:
Traceback (most recent call last):
  File string, line 11, in module
  File 
/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py,
 line 8, in module
from paraview import numpy_support
ImportError: cannot import name numpy_support
Any idea of the problem?


  
Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici ! 
  
_
Windows 7 à 35€ pour les étudiants !
http://www.windows-7-pour-les-etudiants.com___
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] Generating several fields with Calculator

2009-12-02 Thread Fred Fred

With the Python API, is it possile, in a single instance of Calculator, to 
compute several new scalar or vector fields, which would involve having several 
different functions associated to the newly created fields?

  
_
Windows 7 à 35€ pour les étudiants !
http://www.windows-7-pour-les-etudiants.com___
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] Python-StreamTracer.MaximumPropagation

2009-12-02 Thread Fred Fred

This attribute is supposed to exist in the Python API but I get an error:
  AttributeError: Attribute MaximumPropagation does not exist

  
_
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows 
phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/___
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] Python: access to point coordinates and cells

2009-12-02 Thread Fred Fred

In Tcl [reader GetOutput] returns the data set from a reader. Is there the same 
kind of method in Python? I have just found method for getting cell data, point 
data and field data.

  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
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


  1   2   >