[Paraview] Question about writing custom reader for paraview

2009-03-19 Thread shenyanwen
Hi, I am writing a custom reader for paraview to read my own data file which paraview hasn't have. I have known that the most important method is RequestInformation and RequestData, and I just want to write a reader that can output the data type of StructuredPoints with Scalar and some vectors.I ha

[Paraview] plot point over time - how to use it?

2009-03-19 Thread Pei-Ying Hsieh
Dear PV experts: I loaded a transient dataset into paraview (3.4.0).  This is 3D unstrucutred mesh.  Is there any tutorial that shows how to "select a point using a mouse"?  Then, plot that point over time? I know how to select a whole bunch of cells ("select cell through selection"), but, n

Re: [Paraview] plot point over time - how to use it?

2009-03-19 Thread Moreland, Kenneth
All of the select mechanisms work the same with the plot over time filter. Simply do a "select points on" selection (the toolbar icon has a triangle with red points surrounded by a dotted box and a mouse cursor on it) and apply it to the plot filter in the same way you used the other selection.

Re: [Paraview] "Select Points on" and nearest point ...

2009-03-19 Thread David E DeMarle
Select points find vertices, select cells find cells, I believe you are trying to find data at a specific location within a cell, which is not necessarily on a vertex. Try the probe location filter. Activate it, then press p with the mouse on the point you are interested in, then click accept. Thi

[Paraview] How to construct "Standard" 2d contour plots

2009-03-19 Thread Steven Janzou
How can I construct a "simple" contour plot scaled nicely (like the bar and line plots in Paraview) similar to http://qwt.sourceforge.net/spectrogramscreenshots.html ? I have simple rectilinear data - 3 columns 24x365 (x,y) and a third column of data to provide the contours. I have imported data

Re: [Paraview] [newbie] Animating time-series MFIX data

2009-03-19 Thread Berk Geveci
Hi Mark, This is now fixed on CVS head. Note that the time step slider is gone. You have to use the global time settings. Loading an MFIX file and hitting play should work. -berk On Thu, Feb 12, 2009 at 6:24 AM, Mark S. Bentley wrote: > Hi all, > > Please excuse my "newbie" question - I'm a ne

[Paraview] Set color of inner and outer side of a cell

2009-03-19 Thread Hector Diez
Hi, I have a VTK application where I would like to color differently both sides of a triangular cell, in order to check whether all of them are correctly oriented, and to ensure there is no tangling. Do you know how can I achieve this easily? Thanks you very much, Hector.

[Paraview] vtkRenderWindowInteractor

2009-03-19 Thread Camilo Marin
Hi, How can i obtain or access the interactor which moves the camera or the object in the paraview render window? I want to be able to access it so i can use vrpn and move the object. I have tried earlier retrieving the render window and creating a vtkrenderWindowInteractor (plus adding a trackbal

Re: [Paraview] plot point over time - how to use it?

2009-03-19 Thread Pei-Ying Hsieh
Hi, Ken, Thanks for the reply.  Now I can select the point.  But, I then select "plot selection over time" filter, I did not get any plot.  The spread sheet view showed that there is no point in the "plot selection over time" row.  I am not sure why that is.  Also, PV did not ask why field vari

Re: [Paraview] plot point over time - how to use it?

2009-03-19 Thread Pei-Ying Hsieh
Hi, Ken, Now I am able to plot selection over time, but, only if I select "cell", not point.  Thanks! Pei From: Pei-Ying Hsieh To: "Moreland, Kenneth" Cc: paraview Sent: Thursday, March 19, 2009 10:57:17 AM Subject: Re: [Paraview] plot point over time -

Re: [Paraview] plot point over time - how to use it?

2009-03-19 Thread David E DeMarle
Is the data associated with the points or the cells? It may be the case that your data is cell centered, so when you plot a point over time there is nothing to plot. Look at the arrays on the information tab of the object inspector. A cube icon means the array is associated with the cells, a circl

[Paraview] load several vtk files - transient dataset.

2009-03-19 Thread Pei-Ying Hsieh
Dear PV experts: Sorry to bother you guys about this. I have a list of vtk files, something like: a_0.vtk a_60.vtk a_360.vtk a_660.vtk a_960.vtk The numbers about is in seconds from OpenFOAM simulation.  I load the files into paraview-3.4.0.  I am able to to animation and plot transient data. 

Re: [Paraview] vtkRenderWindowInteractor

2009-03-19 Thread Moreland, Kenneth
Maybe I'm being dense, but if you already retrieved the render window, why not just call GetInteractor()? -Ken On 3/19/09 8:51 AM, "Camilo Marin" wrote: Hi, How can i obtain or access the interactor which moves the camera or the object in the paraview render window? I want to be able to acc

Re: [Paraview] Question about writing custom reader for paraview

2009-03-19 Thread Moreland, Kenneth
What you are using is not quite right. First, it sounds like you really want to create a vtkImageData. This data holds a 1D, 2D, or 3D grid of points with origin and uniform spacing on each axis. Thus, you would inherit from vtkImageAlgorithm and cast your output to vtkImageData. Second, the

Re: [Paraview] Set color of inner and outer side of a cell

2009-03-19 Thread Moreland, Kenneth
Unfortunately, that feature is not implemented in ParaView yet. It is something that I am planning to add before ParaView 3.6. Attached is a plugin that defines a new view that allows you to color front and back faces differently. I'm not sure if it compiles against Paraview 3.4 but it defin

[Paraview] open .hdr file in paraview

2009-03-19 Thread shiwen
Hi Guys, I am new to paraview. I want to open a .hdr image file in paraview. It seems that paraview doesn't support this format since when i opened it, there is a dialog asking me to select the responsive of the file. I can't find the hdr format in the dialog. How to properly open the .hdr image

[Paraview] Standalone vs client-server mandelbrot source

2009-03-19 Thread Patricia Fasel
Hi all, I have written a custom paraview reader which populates a 3D vtkImageData and one of my users tried it with a 3D problem where the second dimension was of size = 1. When I tried this with standalone ParaView_3.4.0 it seemed to work correctly by making a 2D image in the lower win

Re: [Paraview] open .hdr file in paraview

2009-03-19 Thread Renato Elias
First of all, what is a .hdr format? Is it related to HDF5? If so, HDF5 is not natively supported by ParaView. But you can write a small piece of Xdmf file describing and pointing to the data in your (supposed) HDF5 file. Renato. 2009/3/19 shiwen > Hi Guys, > > I am new to paraview. > I want t

Re: [Paraview] open .hdr file in paraview

2009-03-19 Thread Zhanping Liu
I am not sure if HDR here refers to High Dynamic Range. There is such an emerging high-fidelity image file format (*.HDR) used to store / encode original image data (e.g., in 'double' format to record ray tracing or radiosity results without quantization) whose range (max / min, usually over 10^7 o

Re: [Paraview] "Select Points on" and nearest point ...

2009-03-19 Thread Stefan Melber
Hi David, tried this way: theoretically it works, but its a bit laborious: -) Activate the filter -) "p" + mouse -) Apply -) Spreadsheet + select source And: i found no possibility to select a new point with the current filter - so i have to start a new one. Further on, i clicking apply i hav