Re: [Paraview] PluginFilter based on vtkPolyDataAlgorithm with two different types of input data

2012-03-29 Thread Boettcher, Prof. Dr. Peter
Perfect. It works, thank you. PB Von: Paul Edwards [mailto:paul.m.edwa...@gmail.com] Gesendet: Donnerstag, 29. März 2012 22:45 An: Boettcher, Prof. Dr. Peter; paraview Betreff: Re: AW: [Paraview] PluginFilter based on vtkPolyDataAlgorithm with two different types of input data It's a

Re: [Paraview] PluginFilter based on vtkPolyDataAlgorithm with two different types of input data

2012-03-29 Thread Paul Edwards
It's a virtual method on vtkAlgorithm. Vtkpolydataalgorithm implements a function that the type to polydata for all ports. Regards, Paul On 29 Mar 2012 21:27, "Boettcher, Prof. Dr. Peter" < boettc...@kleintierklinik.uni-leipzig.de> wrote: > Great! Do I have to do that in the xml-file or in the fi

Re: [Paraview] Modeling a earth sphere

2012-03-29 Thread Pat Marion
You may find it useful to checkout this link: http://www.earthmodels.org/data-and-tools/topography/paraview-topography-by-texture-mapping There, you can download a unit sphere with texture coordinates: http://www.earthmodels.org/data-and-tools/topography/unitsphere_5deg_open_surfacenormals.vtp

[Paraview] Modeling a earth sphere

2012-03-29 Thread Ju
Good afternoon, I am new to working with paraview and heard about the group mailing list, so I hope I stumbled into the right place. I am in need of some hopeful reliable references or advice that anyone can give so thank you in advance. I am currently working on a project that will visua

[Paraview] PluginFilter based on vtkPolyDataAlgorithm with two different types of input data

2012-03-29 Thread Boettcher, Prof. Dr. Peter
I try to implement a vtkPolyDataAlgorithm filter as plugin in PV. The filter has 2 inputs: (1) vtkPolyData and (2) vtkImageData. Within the xml-file the different data types are declared:

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Lorenzo
Thank you anybody once again. I'm very pleased to see you can get so many tips here and that there are so many people from the industry. >From what I've seen so far the LIC seems the best way. I tried do uncheck the >"Use LIC when using LOD" option as per Richard suggestion but it doesn't seem

Re: [Paraview] Clip on Extract Subset crashes when Extract Subset reduces to a surface

2012-03-29 Thread Richard GRENON
David The bug has been reported. Please see http://paraview.org/Bug/view.php?id=13045 Richard David E DeMarle a écrit : Please file a bug report with these steps to reproduce it so that we do not forget to look into it. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAA

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Adriano Gagliardi
Best way I've found so far for oilflows is to: (1) Select surface and run mask points (random, say 100 points) (2) Use the stream tracer with custom source (being the mask points filter) That should give some good answers. ParaView does need a form of snap-to-surface spline to overcome the issue

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Richard GRENON
Lorenzo. There is a LIC parameter that is responsible of the "heavy" feature when you pan, rotate, zoom, etc.. Look at the bottom of the "Display" tab of your object that use LIC: you will see the option "Use LIC when using LOD". This option is checked by default and makes LIC to recompute t

Re: [Paraview] Clip on Extract Subset crashes when Extract Subset reduces to a surface

2012-03-29 Thread David E DeMarle
Please file a bug report with these steps to reproduce it so that we do not forget to look into it. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Mar 29, 2012 at 9:32 AM, Richard GRENON wrote: > Hello, all. > > Just to let

[Paraview] another question about polydata

2012-03-29 Thread Laurent Paul
Re-Hi! I'm a bit lost with my programmable filter... I have a PolyData as input, I want to compute points (it's ok, I've got their coordinates) and display only the points. I've tried using vtkCellArray as vertices and lines. When I add the new points to the array, the output contains the input

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread lovecraft22
Thank you Richard. The LIC seems heavy when you pan, zoom in or zoom out your geometry, not in generating the flow paths. What you get is actually really nice. If there no way in getting good streamlines (as you pointed out I got short lines only) then the LIC is fine. Maybe there's a way of g

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread David E DeMarle
On Thu, Mar 29, 2012 at 9:58 AM, Richard GRENON wrote: > Hi Lorenzo. > > The Stream Tracer works very well to follow a 3D streamline in a  volume, > but I always got bad results to follow streamlines on a curved surface. When > you start from a point on a surface to follow a streamline, the next p

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Richard GRENON
Hi Lorenzo. The Stream Tracer works very well to follow a 3D streamline in a volume, but I always got bad results to follow streamlines on a curved surface. When you start from a point on a surface to follow a streamline, the next point is found with a small step in the direction of the tang

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread David E DeMarle
Try clipping and otherwise subsetting the original geometry to make the seeds and use that as the source in the "Stream Tracer with Custom Source" filter. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Mar 29, 2012 at 9:25 A

[Paraview] Clip on Extract Subset crashes when Extract Subset reduces to a surface

2012-03-29 Thread Richard GRENON
Hello, all. Just to let you to know that the "Clip" filter applied on an "Extract Subset" object crashes when the "Extract Subset" reduces to a surface. Here is an example tested on PV 314 : - Loading a structured IJK domain (Tecplot reader or else), say Imax=40, Jmax=8 and Kmax=20 - Add t

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Lorenzo
Hi all; I managed to calculate the wall shear stress in openFoam using the command wallShearStress -latestTime and using the results (vector) as in input for the LIC! That's great! Now I'd have another question related to this topic: as I see the LIC is pretty heavy in paraview even though mine

[Paraview] problem when trying to display points using programmable filter

2012-03-29 Thread Laurent Paul
Dear users, I try to compute points, lines, axes using the programmable filter from 5 points acquired by a PointSource. I select the 5 pointsource, compute axis but paraview simply crashes when I InsertNextCell on the output. This happens when I get several InputData using GetInputDataObject()

Re: [Paraview] Oilflow - Surface flow

2012-03-29 Thread Richard GRENON
Hi Lorenzo. If your data are the results of a CFD computation, the surface velocity should be non zero when solving Euler equations with wall slip conditions, or zero everywhere when solving the Navier-Stokes equations with wall adherence conditions (non slip). But when solving Navier-Stokes