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

[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 ... ?

Re: [Paraview] Instanciating an unknown type

2010-02-19 Thread Berk Geveci
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 wrote: > My problem is as follow: I am writing a vtkDataSetAlgorithm filter and I

[Paraview] Building paraview with shared libraries on

2010-02-19 Thread J Cook
Hi I am currently trying to build paraview from the source code with shared libraries on. I was able to build this code using CMake 2.8.0 and microsoft visual studio 9 before however BUILD_SHARED_LIBS was off. When I turn this value to on I am still able to generate the files in CMake but I get err

Re: [Paraview] Building paraview with shared libraries on

2010-02-19 Thread Utkarsh Ayachit
YOu may have to do a clean build. Utkarsh On Fri, Feb 19, 2010 at 9:27 AM, J Cook wrote: > Hi > I am currently trying to build paraview from the source code with shared > libraries on. I was able to build this code using CMake 2.8.0 and microsoft > visual studio 9 before however BUILD_SHARED_LIB

Re: [Paraview] Moving slice with particle

2010-02-19 Thread Thorsten Hater
Thanks for this! But contrary to my earlier optimism it seems not so easy to use a slice filter in a programmable filter (I played mostly with the pvpython up to this point) The python vtk module does not export ExtractVOI or ImageSlice filter, the generic cutter does not work for me. If I impo

Re: [Paraview] Moving slice with particle

2010-02-19 Thread David E DeMarle
I just wrapped servers/filters (where vtkPVExtractVOI and vtkPVImageSlice reside) the other day. So, to use them you will need to use paraview cvs and import pvfilters in your script. David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x10

[Paraview] plotting allong curves

2010-02-19 Thread Josef Dubský
Hi, I'd need to do X-Y plot along curves in ParaView. I've looked throught the mail list and the wiki and it seems this feature has been requested (and also promised to come in the next release) in 2008. However I didn't find any more information to this. What I need to do is to plot the scalars

Re: [Paraview] plotting allong curves

2010-02-19 Thread Utkarsh Ayachit
It's not available in 3.6.2, but it has been available in the CVS version for quite some time now and will be included with 3.8. There's a new filter named "Plot On Intersection Curves". Utkarsh 2010/2/19 Josef Dubský : > Hi, > > I’d need to do X-Y plot along curves in ParaView. I’ve looked throu

[Paraview] name blocks or sets and export them in X3D files

2010-02-19 Thread Pierre JUILLARD
Dear ParaView users, I would like to know if it is possible to give names to blocks of data? For instance, I created a box and a cone using the adequate sources.I used then the "GroupDatasets" filters. With the obtained multiblock dataset, may I keep distinction between the box and the cone in Pa

[Paraview] Using data in Calculator from multiple sources

2010-02-19 Thread Matthew Cragun
I have two separate meshes that are similar, but have slight differences. They have the same number of points. I would like to use the calculator to create an array of the distances between corresponding point ID's in the two meshes. How can I access the coordinate values from each mesh using cal

Re: [Paraview] Using data in Calculator from multiple sources

2010-02-19 Thread David E DeMarle
The calculator will not accept multiple inputs, so if you want to use it you will have to append the data first, which makes it hard to compare side by side. You should consider using the python programmable filter instead. It will accept multiple inputs (there was a post earlier this week on the

Re: [Paraview] Using data in Calculator from multiple sources

2010-02-19 Thread Berk Geveci
In the next release, this will be very easy to do with the Python Calculator. It will look like: inputs[0].PointData['some_array'] - inputs[1].PointData['some_array'] -berk On Fri, Feb 19, 2010 at 1:32 PM, David E DeMarle wrote: > The calculator will not accept multiple inputs, so if you want t

[Paraview] Enabling dataset visibility wiggles camera

2010-02-19 Thread David Doria
I have two vtp files opened, A and B. I have A visible and B invisible (the eye in the pipeline browser). When I make B visible to see them both at the same time, the camera moves slightly (things in data set A move probably 50 pixels). When I make B invisible again, the camera moves back to where

[Paraview] File format for primatives

2010-02-19 Thread Stephen Sintay
I am looking for a file format that will support input of primitives such as sphere. The VRMl2 (*.wrl) format appears to support this, but this format is superceeded by X3D and I am having difficulty finding documentation for the old format. Their does not appear to be a paraview reader for X3D

[Paraview] Qt 4.6 Cocoa Strangeness with ParaView 3.6.2

2010-02-19 Thread Michael Jackson
I'll state up front that I know 3.6.2 only officially supports Qt 4.3.x but I'll go ahead with my bug report/question any ways. So I built Qt 4.6.1 with Cocoa (OS X) and then compiled ParaView 3.6.2 from source using shared libraries. Everything compiles fine. ParaView then launches fine.

[Paraview] ensigth reader, simetric tensor error

2010-02-19 Thread Ricardo Reis
I've checked the Ensight Gold format and against the reader of paraview and come to notice there's an error in the reader. The ordering of values in the Ensight Gold format for a simmetric tensor is: SXX, SYY, SZZ, SXY, SXZ, SYZ but paraview seems to be reading: SXX, SYY, SZZ, SXY, S

Re: [Paraview] Qt 4.6 Cocoa Strangeness with ParaView 3.6.2

2010-02-19 Thread Utkarsh Ayachit
We've started supporting Cocoa only with ParaView CVS (and in future with 3.8). Can you see if you can reproduce the issue with CVS? There have been several fixes to CVS to work with Cocoa. Utkarsh On Fri, Feb 19, 2010 at 4:37 PM, Michael Jackson wrote: > I'll state up front that I know 3.6.2 on

[Paraview] Saving AMR data in parallel

2010-02-19 Thread Moreland, Kenneth
Is there a way to save AMR (aka hierarchical box) data when running a parallel server? I can save using the VTK hierarchical box files when running in serial, but this writer fails in parallel. -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** ***

Re: [Paraview] ensigth reader, simetric tensor error

2010-02-19 Thread Zhanping Liu
Ricardo: Thanks and I will check it. -Zhanping On Fri, Feb 19, 2010 at 4:42 PM, Ricardo Reis wrote: > > I've checked the Ensight Gold format and against the reader of paraview > and come to notice there's an error in the reader. > > The ordering of values in the Ensight Gold format f

Re: [Paraview] Moving slice with particle

2010-02-19 Thread Berk Geveci
To make sure that I understand, vtkCutter does not work, right? Why? Are you trying to extract a cut/slice or a subset with constant i, j or k from an image data? -berk On Fri, Feb 19, 2010 at 10:12 AM, Thorsten Hater wrote: > Thanks for this! But contrary to my earlier optimism it seems not s

Re: [Paraview] plotting allong curves

2010-02-19 Thread Berk Geveci
Actually, it is "Plot on Sorted Lines" if you already have the curves. 2010/2/19 Utkarsh Ayachit > It's not available in 3.6.2, but it has been available in the CVS > version for quite some time now and will be included with 3.8. There's > a new filter named "Plot On Intersection Curves". > > Ut

Re: [Paraview] name blocks or sets and export them in X3D files

2010-02-19 Thread Berk Geveci
You cannot name blocks with a filter but you can name them if the reader supports this feature. I believe a few readers support this feature - the EnSight reader for example. I don't think the X3D exporter knows anything about blocks though. It exports the scene directly and the geometry from the b

Re: [Paraview] Enabling dataset visibility wiggles camera

2010-02-19 Thread Berk Geveci
Can you send instructions to reproduce with sources maybe? Or send two files? On Fri, Feb 19, 2010 at 3:20 PM, David Doria wrote: > I have two vtp files opened, A and B. I have A visible and B invisible (the > eye in the pipeline browser). When I make B visible to see them both at the > same tim

Re: [Paraview] File format for primatives

2010-02-19 Thread Berk Geveci
I am not sure I understand. Do you want to be able to define a scene in terms of primitives or do you want to be able to load primitives defined as a collection of polygons? ParaView does not really support the concept of a primitive bigger than a cell - polygons, tets, hexes etc etc. So even if th

Re: [Paraview] Saving AMR data in parallel

2010-02-19 Thread Berk Geveci
Hrmpf. I ran into this same bug today with multi-block data. Would you mind submitting a bug report? I suggest that we fix this for 3.8. Also, we should investigate doing this with Xdmf. -berk On Fri, Feb 19, 2010 at 5:14 PM, Moreland, Kenneth wrote: > Is there a way to save AMR (aka hierarchic

Re: [Paraview] Enabling dataset visibility wiggles camera

2010-02-19 Thread David Doria
On Fri, Feb 19, 2010 at 8:48 PM, Berk Geveci wrote: > Can you send instructions to reproduce with sources maybe? Or send two > files? > > It is working properly at home... I'll send instructions/files when I get to the lab on Monday. Thanks, David ___