[Paraview] tube filter, surfaces aren't closed?

2010-01-13 Thread burlen
Any ideas as to why tubes from the tube filter aren't closed surfaces 
now? screenshot:

http://public.kitware.com/Bug/view.php?id=10139

___
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] vtkStdString

2010-01-13 Thread David Thompson
> Could someone provide me an example 'to lowcase' a vtkStdString ?
> I would like to apply a tolower() method but don't know how.
> 
>   vtkStdString units;
>   if (units.find(" since ") != vtkStdString::npos)
>  {
>  ...
> 
Take a look at VTK/Utilities/kwsys/SystemTools.hxx.in and
RegularExpression.hxx. SystemTools::LowerCase is a routine to downcase
strings and RegularExpression lets you define searches. To use them, you
need to
#include 
#include 
Note that the includes use vtksys, not kwsys.

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


[Paraview] vtkStdString

2010-01-13 Thread Brockmann Patrick

Hi all,

Could someone provide me an example 'to lowcase' a vtkStdString ?
I would like to apply a tolower() method but don't know how.

 vtkStdString units;
 if (units.find(" since ") != vtkStdString::npos)
{
...

Thanks
Patrick


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

2010-01-13 Thread Brockmann Patrick

Moreland, Kenneth a écrit :
The netCDF reader in ParaView implements the COARDS convention, which 
is a subset of the CF convention. To the best of my knowledge, both 
conventions define the spherical coordinates in the same way. So if 
you have a netCDF file containing the CF convention for latitude and 
longitude, then the ParaView netCDF reader should understand that.


That said, I see that the netCDF reader will only actually create 
spherical coordinates for 3D grids. I am not sure I remember the logic 
behind that, but I think it was that in general it is usually better 
to visualize a map surface as a 2D projection to prevent occlusion and 
that it is ambiguous what the height of the surface should be. That 
said, it is easy to implement spherical coordinates to 2D grids. I 
just checked in a change that creates a sphere at radius 1.


The idea of the netCDF reader outputting a vtkPolyData is unworkable. 
Many netCDF files contain 3D grids, and vtkPolyData is incapable of 
representing those. It could always output a vtkUnstructuredGrid, but 
this is a highly inefficient format for storing the structured arrays 
stored in netCDF COARDS files. It is conceivable that the netCDF 
reader could always output a vtkStructuredGrid. But that means that 
non-COARDS files are forced to also output vtkStructuredGrid and they 
loose the features for using vtkImageData. I know there are issues 
with the VTK/ParaView pipeline when you change the output of the 
reader when you change the dimensions. But there are also similar 
problems when you change the extent and dimensionality anyway, so I 
don’t know how much help such a change would make.



Kenneth,
Thank you for your answer.
Indeed my main reproach for that filter is that I get different 
structures (a vtkImage or a vtkRectilinear Grid or a vtkStructuredGrid)

following the netCDF grid read.
COARDS convention deals with regular grids in a sens that the cross 
product of the coordinates variables (1D) define the grid.
Define different structures because the grid has regular spacing or not 
is not what I would have computed.
I am doing some tests and I will propose something using only 
vtkStructuredGrid.


I have identified those points which causes problems with the actual 
/ParaView3/VTK/IO/vtkNetCDFCOARDSReader.cxx
- if a regular spacing coordinate variable decreases (90 to -90 for 
example), you always get a vtkRectilinear grid.
It should reach, wth the computing choice made, to the creation of 
vtkImageData. This is the case if you put

the axis in an increasing order.
You can correct this by placing a fabs set on tolerance variable
108c108
< double tolerance = fabs(0.01*this->Spacing);
---
> double tolerance = 0.01*this->Spacing;
- Test on units should be case independant
line 133, units.find(" since ")
I have netCDF files where "since" is typed with uppercase (generated by 
ferret software from the NOAA/PMEL).


Spherical coordinates should be possible in any case (regular spacing or 
not), even with a 2D variable where

height is 0 because field is at surface.
User choices for zorigin and zscale should be taken in consideration . 
Both set to 1 by default.
In addition, a user choice zpositive to tell the direction in which the 
coordinate values are increasing

should also be proposed. With allowed values : up or down (up by default).
Perhaps also a zorder choice to treat files where zdimension has to be 
reordered to get k=1 representing

surface.

There is also the problem of connectivity and blank cells (and Z 
clipping range - in spherical coordinates you

don't want to see the globe when missing cells exist).
Plus, the fact that CF conventions covers also curvilinear grids where 
longitudes and latitudes
are described with a 2D arrays. This is why I haved used a vtkPolydata 
structure (with limitation
that the application was not really to visualize 3D field, only 2D 
fields in a 3D mapping when

projection uses spherical coordinates.

Thanks for reading.

Patrick

--
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
IPSL Global Climate Modelling Group
mailto:Patrick.Brockmann @ cea.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] Clip filter bogs down after repeated Clip Type changes

2010-01-13 Thread Eric E. Monson
Hello,

I noticed something strange when debugging a variation on the clip filter as a 
plugin, but found that it happens with the standard Clip filter, too. If you 
switch repeatedly back and forth between Clip Types (Applying in between), the 
filter starts getting slower and slower and eventually bogs downs completely. 
To demonstrate:

Create a default Wavelet Source
Clip Filter -> Apply
Switch from Plane to Box Clip Type -> Apply
Switch back to Plane Clip Type -> Apply
Repeat last two...

After switching clip types about a dozen times I can see a few second delay 
before the new clipped data shows up in the render view, and by 13 it takes 
many seconds to show up. Memory use seems to increase on each iteration, but 
from about 85 to 110 Mb over those steps, so it's not enormous by the end... If 
you delete the Clip filter and create a new one, it starts over fresh (w/o 
memory usage drop) and you can repeat the same eventual slowdown.

(I can get this to happen both on Mac OS X 10.6.2 x86_64 Cocoa CVS Paraview 
built with CVS CMake, as well as on today's Ubuntu 9.10 32-bit PV 3.6.2 binary 
download -- haven't tried any others yet.)

Any ideas?

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group

___
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 Moments Plugin CMake Code

2010-01-13 Thread Dave Partyka
Ick! Will do.

On Wed, Jan 13, 2010 at 1:42 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:

> ParaView3/Plugins/CMakeLists.txt line 37:
>
> paraview_build_optional_plugin(Moments, "Filters for Flux and Circulation
> Fields" Moments ON)
> --^
> Note the comma after Moments. Should be
>
> paraview_build_optional_plugin(Moments "Filters for Flux and Circulation
> Fields" Moments ON)
>
> Was throwing me a bit. Can someone commit this to CVS?
>
>  Found in the ParaView 3.6.2 Source Download.
> _
> Mike Jackson  mike.jack...@bluequartz.net
> BlueQuartz Softwarewww.bluequartz.net
> Principal Software Engineer  Dayton, Ohio
>
> ___
> 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] Patch for pqPluginManager to better readability

2010-01-13 Thread Michael Jackson
I was trying to diagnose why ParaView was not loading some of my  
plugins and it occurred to me that the dialog box for loading plugins,  
while somewhat verbose, is not that easy to interpret:


ParaView.app/Contents/MacOS/../Plugins;ParaView.app/Contents/ 
MacOS/../../Plugins.


 I was thinking it would be easier if it just read:

[Path To ParaView]/ParaView.app/Contents/Plugins;[Path To ParaView]/ 
Plugins;


So in pqPluginManager.cxx, down around line 471 I have the following:

#if defined (Q_OS_MAC)
//Look in the Application Package "ParaView.app/Contents/Plugins
QDir appDir (QCoreApplication::applicationDirPath());
appDir.cdUp();
pv_plugin_path += appDir.absolutePath() + QDir::separator() +  
"Plugins;";

//Look for a folder called "Plugins" at the same level as ParaView.app
appDir.cdUp();
appDir.cdUp();
pv_plugin_path += appDir.absolutePath() + QDir::separator() +  
"Plugins;";

//Look for a plugins at the same level as ParaView.app
pv_plugin_path += appDir.absolutePath() + QDir::separator() + ";";
#else
pv_plugin_path += QCoreApplication::applicationDirPath() +  
QDir::separator()

  + "plugins";
#endif

Thoughts from anyone?

Also, I noticed that while plugins are built into the  
$PARAVIEW_BINARY_DIR/bin they are not automatically loaded from there?  
In the patch above, an additional line is there to add this directory  
to the list of directories to check. At least on OS X, this makes it  
easier to debug plugins? Or am I missing something completely? I know  
about PV_PLUGIN_PATH but really consider that a hack. Thoughts?


_
Mike Jackson  mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio

___
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?] Transform Filter does not transform vectors in point data

2010-01-13 Thread Oliver Borm
I just want to pick up the discussion about the transformation of
vectors with the transform filter. As stated in bug 7387, only the
"active" vectors are transformed properly. As I tried from my simple
test case (see attachment), "active" vectors just means the last vector
in the vector list is properly transformed, which is the active one. Is
this correct? That means, when I use the ArrayCalculator or the
ComputeDerivatives Filter, I cannot use the transform filter afterwards,
or I have to transform all the vectors and tensors (except the last one)
by hand with an additional ArrayCalculator for each of these variables.
Furthermore, if I have to animate for example the rotation of the
TransformFilter I will in addition also have to animate the
FunctionalExpression of each of the additional ArrayCalculators in order
to transform the vectors correctly. This is in my opinion very error
prone and a lot of additional work if one has a lot of transform filters
and vectors.

Well maybe not every 3-tuple is a vector, but most of them are (in my
opinion), and transforming just the last vector is a worse idea, than
transforming each 3-tuple. Because nobody knows if the last vector is a
real vector or not. Therefore I want to ask if there is any possibility
to transform all 3-tuples and 9-tuples and not just the last 3-tuple of
the list (till there is some additional magic for the transform filter
available in order to choice, which vectors should be transformed and
which not)?



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

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

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

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


Re: [Paraview] Setting a string property from list in information_only property

2010-01-13 Thread Moreland, Kenneth
Not until you just suggested it.  That works perfectly.  Thanks.

-Ken


On 1/13/10 11:41 AM, "Utkarsh Ayachit"  wrote:

Have you tried StringListDomain?


On Wed, Jan 13, 2010 at 1:34 PM, Moreland, Kenneth  wrote:
> I have a reader that in RequestInformation loads a list of dimensions
> (represented by strings) and then requires that the user selects one of
> these dimensions.  I need the corresponding object inspector panel to show a
> combo box that gets populated with the list of strings provided by the
> reader and then set the selected string to the selection property.  I
> basically want something similar to the existing variable selection except
> that you are only able to select exactly one of the "variables".
>
> Is there a way to do this?  I tried using an ArraySelectionDomain, but that
> gave me a list with checkboxes, which is no good because you are only
> allowed to select one.  I also got a bunch of errors which I think are
> related to the panel trying to set two elements in a property that only
> accepts one.  I also tried an ArrayListDomain like below.  This gave a combo
> box, but it has nothing in it.  Any suggestions?
>
>   command="GetVariableDimensions"
> information_only="1">
> 
>   
>
>command="SetDimensions"
> number_of_elements="1"
> animatelable="0">
> 
>   
> 
>   
> 
> 
>   Load the grid with the given dimensions.  Any arrays that conform
>   to these dimensions will be loaded.
> 
>   
>
> -Ken
>
>  Kenneth Moreland
> ***  Sandia National Laboratories
> ***
> *** *** ***  email: kmo...@sandia.gov
> **  ***  **  phone: (505) 844-8919
> ***  web:   http://www.cs.unm.edu/~kmorel
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>




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

___
Powered by www.kitware.com

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

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

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


[Paraview] Bug In Moments Plugin CMake Code

2010-01-13 Thread Michael Jackson

ParaView3/Plugins/CMakeLists.txt line 37:

paraview_build_optional_plugin(Moments, "Filters for Flux and  
Circulation Fields" Moments ON)

--^
Note the comma after Moments. Should be

paraview_build_optional_plugin(Moments "Filters for Flux and  
Circulation Fields" Moments ON)


Was throwing me a bit. Can someone commit this to CVS?

 Found in the ParaView 3.6.2 Source Download.
_
Mike Jackson  mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio

___
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] Setting a string property from list in information_only property

2010-01-13 Thread Utkarsh Ayachit
Have you tried StringListDomain?


On Wed, Jan 13, 2010 at 1:34 PM, Moreland, Kenneth  wrote:
> I have a reader that in RequestInformation loads a list of dimensions
> (represented by strings) and then requires that the user selects one of
> these dimensions.  I need the corresponding object inspector panel to show a
> combo box that gets populated with the list of strings provided by the
> reader and then set the selected string to the selection property.  I
> basically want something similar to the existing variable selection except
> that you are only able to select exactly one of the “variables”.
>
> Is there a way to do this?  I tried using an ArraySelectionDomain, but that
> gave me a list with checkboxes, which is no good because you are only
> allowed to select one.  I also got a bunch of errors which I think are
> related to the panel trying to set two elements in a property that only
> accepts one.  I also tried an ArrayListDomain like below.  This gave a combo
> box, but it has nothing in it.  Any suggestions?
>
>   command="GetVariableDimensions"
> information_only="1">
> 
>   
>
>    command="SetDimensions"
> number_of_elements="1"
> animatelable="0">
> 
>   
> 
>   
> 
> 
>   Load the grid with the given dimensions.  Any arrays that conform
>   to these dimensions will be loaded.
> 
>   
>
> -Ken
>
>      Kenneth Moreland
> ***  Sandia National Laboratories
> ***
> *** *** ***  email: kmo...@sandia.gov
> **  ***  **  phone: (505) 844-8919
> ***  web:   http://www.cs.unm.edu/~kmorel
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
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] Setting a string property from list in information_only property

2010-01-13 Thread Moreland, Kenneth
I have a reader that in RequestInformation loads a list of dimensions 
(represented by strings) and then requires that the user selects one of these 
dimensions.  I need the corresponding object inspector panel to show a combo 
box that gets populated with the list of strings provided by the reader and 
then set the selected string to the selection property.  I basically want 
something similar to the existing variable selection except that you are only 
able to select exactly one of the "variables".

Is there a way to do this?  I tried using an ArraySelectionDomain, but that 
gave me a list with checkboxes, which is no good because you are only allowed 
to select one.  I also got a bunch of errors which I think are related to the 
panel trying to set two elements in a property that only accepts one.  I also 
tried an ArrayListDomain like below.  This gave a combo box, but it has nothing 
in it.  Any suggestions?

 

  

  

  

  


  Load the grid with the given dimensions.  Any arrays that conform
  to these dimensions will be loaded.

  

-Ken

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

___
Powered by www.kitware.com

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

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

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


Re: [Paraview] netCDF reader

2010-01-13 Thread Moreland, Kenneth
The netCDF reader in ParaView implements the COARDS convention, which is a 
subset of the CF convention.  To the best of my knowledge, both conventions 
define the spherical coordinates in the same way.  So if you have a netCDF file 
containing the CF convention for latitude and longitude, then the ParaView 
netCDF reader should understand that.

That said, I see that the netCDF reader will only actually create spherical 
coordinates for 3D grids.  I am not sure I remember the logic behind that, but 
I think it was that in general it is usually better to visualize a map surface 
as a 2D projection to prevent occlusion and that it is ambiguous what the 
height of the surface should be.  That said, it is easy to implement spherical 
coordinates to 2D grids.  I just checked in a change that creates a sphere at 
radius 1.

The idea of the netCDF reader outputting a vtkPolyData is unworkable.  Many 
netCDF files contain 3D grids, and vtkPolyData is incapable of representing 
those.  It could always output a vtkUnstructuredGrid, but this is a highly 
inefficient format for storing the structured arrays stored in netCDF COARDS 
files.  It is conceivable that the netCDF reader could always output a 
vtkStructuredGrid.  But that means that non-COARDS files are forced to also 
output vtkStructuredGrid and they loose the features for using vtkImageData.  I 
know there are issues with the VTK/ParaView pipeline when you change the output 
of the reader when you change the dimensions.  But there are also similar 
problems when you change the extent and dimensionality anyway, so I don't know 
how much help such a change would make.

-Ken


On 1/12/10 5:52 PM, "Brockmann Patrick"  wrote:

Hi all,

Testing the netCDF reader with "spherical coordinates" set, I get
a vtkStructured Grid incomplete. There is no circular topology.
I was expecting a complete sphere where points from first column would be
connected to points from last column in the vtkStructuredGrid created.

Is there a way to do this from an existing filter or from
the python programmable filter ?
Or better could the netCDF reader be corrected
(VTK/IO/vtkNetCDFCOARDSReader.cxx) ?

By the past, I have installed and used the external plugin CSCSnetCDF
reader
from John Biddiscombe of the Swiss National Supercomputing Centre.
I was quite happy with it.
Today, I discover that paraview binairies are distributed with the
netCDFCOARDS reader
with some features I don't like. For example, that fact that the vtk
structure created
are different following the netCDF grid topology (regular spacing or
not, spherical coordinates or not).

I think it would be attractive for all the General Circulation Model
(GCM)/ /community
to provide a netCDF reader, closer to the CF (Climate and Forecast
netCDF convention) widely adopted.
This reader would create for example a same vtkPolydata structure
whatever the netCDF grid read
as in the vtk application described from
http://www.prism.enes.org/Publications/Reports/Report19.pdf

Is there any interest to develop this netCDFCF reader among offcial dev
team ?

Thanks
Patrick
___
Powered by www.kitware.com

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

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

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




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

___
Powered by www.kitware.com

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

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

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


[Paraview] Programmatic Generation of 3D Extruded Text

2010-01-13 Thread David Morris
Is there any way to generate strings of 3D extruded text using Paraview? I
would like to do it outside of the GUI to automate the process as much as
possible and make it easy to repeat for different strings.

Thanks for your help in advance,


-- 
Dave Morris
http://dave.showviz.net/
http://3dcamphouston.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] Octree Mesh

2010-01-13 Thread Ivo Roghair

Hi,

With respect to the slicing; you could try to use the Extract Cells By 
Region filter, instead of the slice filter; my structured grid -- 
consisting of cubic cells -- is then sliced in the expected way keeping 
the cell structure as it was, whereas the slice tool seems to create an 
unstructured mesh first hereby generating additional edges, resulting in 
the triangular mesh that you see.


I'm also looking for a robust way to write out my OctTree meshes. Here's 
how I do it now, assuming cubic cells;


Create a point dataset (.vtp, .csv, .vtk) with a variable called 'size', 
the point coordinates at the cell centers. Then generate a glyph on this 
dataset, set it to cubes with size of course the variable that you have 
in the file. You can of course color the glyphs with any other variable 
in your dataset.


This saves you the trouble of generating 8 points per cubic cell and 
conncting them properly in your output files as you would in an 
unstructured mesh datafile. But still I'm convinced that there is 
(should be) an easier way of doing this.


Best,
Ivo


Mohammad Mirzadeh wrote:

Dear all,

I am rather new to paraview and I work in the area of CSE. The typical 
meshes that I use to discretize my PDEs over is the 3D Octree data 
structure. I was just wondering if anyone is aware of a dedicated 
dataset in paraview to handle such meshes? I can go ahead and export 
my data in a way that can be loaded as an unstructured dataset, but 
I'd prefer to use a specific dataset for Octrees. 

One more question. When I use, say, a simple structured 3D mesh and 
use the slice filter to generate the corresponding mesh on a 
surface(through wireframe) it just shows me some extra diagonal lines 
on each square cell, which it should not.


Any help will greatly be appreciated.

Best,
-M


___
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] Paraview 3.6.2 on Windows Vista 32 : Help crashes

2010-01-13 Thread Richard GRENON

Hi Dave.

PV 3.6.2 help from the new installer is now working on Windows Vista 32.
Thank you for solving quickly this issue.
I will test further this new release in following days.

Best regards.

Richard


Dave Partyka wrote:

Hi Richard,

I found the issue, feel free to re-download the installer and let me 
know if you have any more issues.


Thanks!

On Tue, Jan 12, 2010 at 11:10 AM, Dave Partyka 
mailto:dave.part...@kitware.com>> wrote:


Hi Richard, thanks for your report. I will take a look.


On Tue, Jan 12, 2010 at 10:49 AM, Richard GRENON
mailto:richard.gre...@onera.fr>> wrote:

Hello.

Help menu in PV 3.6.2 works on Linux but not on Windows Vista
32 where it gives an error from Microsoft Visual C++ Runtime
library:

Runtime error!

Program: C:\Program Files\Paraview 3.6.2\bin\assistant.exe

R6034
An application has made an attempt to load the C runtime
library incorrectly.
Please the application's support time for more information.

In addition, the PV Output window shows "Qt assistant crashes"

This is quite different from the problem I had with PV 3.6.1
(see previous mails) and that I could solve.

Any idea for this one?

Best regards.

-- 
Richard GRENON

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

___
Powered by www.kitware.com 

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

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

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






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

___
Powered by www.kitware.com

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

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

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