Re: [Paraview] Paraview input data format: CELL_DATA vs POINT_DATA

2015-02-19 Thread Moreland, Kenneth
Point data are samples of a continuous field. ParaView will interpolate the point data inside cells to estimate this continuous field. Cell data are a field integrated over the volume of each cell. These are discrete values for each cell. Many filters such as streamlines require a continuous

[Paraview] Paraview input data format: CELL_DATA vs POINT_DATA

2015-02-19 Thread Canis Major
I have a structured grid data, that is why I specify 'DATASET STRUCTURED_GRID' type at the output file. I have velocity and pressure as cell attribute, as a result I write CELL_DATA. But when I visualize the data in Paraview I cannot perform for example glyphs or streamlines filters. What is the d

Re: [Paraview] Cumulative Distribution Function

2015-02-19 Thread Moreland, Kenneth
LD, I don't think there is any built in function in ParaView, but you can convert a histogram to a cumulative distribution by applying the Python Programmable Filter with the following script: import numpy inarray = inputs[0].RowData['bin_values'] cumdist = numpy.cumsum(inarray) output.RowD

[Paraview] Cumulative Distribution Function

2015-02-19 Thread Sandeep Jella
Hello, Is it possible to plot a cumulative distribution function for the histogram data in Paraview? Am trying to generate an 'S' Curve and superimpose on top of the histogram data. Thanks, LD ___ Powered by www.kitware.com Visit other Kitw

Re: [Paraview] Interpolate nc file

2015-02-19 Thread Moreland, Kenneth
I don't remember every possible netCDF convention, but I believe many of them read field data as cell data, which ParaView interprets as constant throughout the cell. That is probably how your data is read. Try adding the Cell Data to Point Data filter. That will estimate the field value on the

[Paraview] Interpolate nc file

2015-02-19 Thread Madalena S. Malhadas
Dear all,I read a nc file to perform a 3D image generating a script. My results are ploted over coarse mesh and i want to interpolate the nc file data (cohesive sediments). How I add these feature in my script? Kind regardsMadalena ___

[Paraview] Error in Reader Example

2015-02-19 Thread James Furness
Hi, I am attempting to write a reader and have been following the example at: http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader for reference. However it seems not to work. I have copy-pasted the contents into the various files and run ccmake in the directory to produce a make file. Atte

Re: [Paraview] [Paraview-developers] min and max range mapping data in color map editor

2015-02-19 Thread Moreland, Kenneth
I'm still confused about the question, but based on your screenshot it looks like your data has an RGB vector that is supposed to represent colors. However, ParaView by default assumes that all data are some physical quantity (like, for example, velocity). The default representation of a vector is

Re: [Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Casey Goodlett
Stefan, To help get you started the builds linked by this blog post contain a compiled version of the plugin. http://www.kitware.com/blog/home/post/650 On Thu, Feb 19, 2015 at 9:48 AM, Stefan Otte wrote: > I'd evaluate the combination of ParaView&PCL more before I actually > invest a lot of ti

Re: [Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Stefan Otte
I'd evaluate the combination of ParaView&PCL more before I actually invest a lot of time. However, if it actually works as well as it seems then yes, I could contribute patches. Beste Grüße, Stefan On Thu, Feb 19, 2015 at 3:37 PM, Casey Goodlett wrote: >> >> Are there any plans to incorporat

Re: [Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Casey Goodlett
> > > Are there any plans to incorporate the PCL plugin into ParaView by default? > > I would love to see this happen. Currently the main challenge is making sure all the PCL dependencies (boost, eigen, flann, etc.) are built across all the needed platforms. Would you be able to help with dashboa

Re: [Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Stefan Otte
Hey Casey, thanks for the quick reply. Looking forward for the changes! Are there any plans to incorporate the PCL plugin into ParaView by default? Cheers, Stefan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www

Re: [Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Casey Goodlett
Hi Stefan, Thanks for your interest. I have used the plugin with newer versions of PCL and ParaView, although there are a few fixes needed. Its been on my TODO list for a while to get these made publicly available. I'll get back to you with where you can find those latest changes. On Thu, Feb

[Paraview] Interpolate nc file

2015-02-19 Thread Madalena S. Malhadas
Dear all,I read a nc file to perform a 3D image generating a script. My results are ploted over coarse mesh and i want to interpolate the nc file data (cohesive sediments). How I add these feature in my script? Kind regardsMadalena _

[Paraview] PCL plugin status and and support of newer PCL versions

2015-02-19 Thread Stefan Otte
Hey, I just stumbled upon the PCL plugin [1,2] for ParaView and it looks amazing! I normally develop my perception modules for robots directly with PCL and ParaView & PCL plugin seem to be a promising way to speed up my process. However, I was wondering if there is any active development of the PC

[Paraview] Precise clipping/slicing

2015-02-19 Thread Lester Anderson
Hello, I have got a global dataset matrix and projected this into spherical coordinates so I could overlay a coastline file for interpretation. I can tweak the clipping by manual dragging but I was wondering what the best way is to do precise clips/slices e.g. a clip at 125 degrees east or an obl