[Paraview] Can you use bands in colour maps?

2012-11-06 Thread Joe Borġ
Hi All, By default, all the colour maps in ParaView are continuous between points. I'd like to have only one colour in between points I set in the XML map, is this possible? Regards, Joseph David Borġ http://www.jdborg.com ___ Powered by

[Paraview] I can't read a binary 'raw' data image file

2012-11-06 Thread Robert.Atwood
Dear List I hope it's some silly 'newbie' issue, but I find myself completely unable to read a raw binary data file using the raw binary data file reader. I have saved a data file as 'raw data' from ImageJ to try, and loaded that same file in ImageJ to verify that data is present. I have saved

Re: [Paraview] I can't read a binary 'raw' data image file

2012-11-06 Thread Cory Quammen
Hi Robert, On Tue, Nov 6, 2012 at 8:37 AM, robert.atw...@diamond.ac.uk wrote: Dear List I hope it's some silly 'newbie' issue, but I find myself completely unable to read a raw binary data file using the raw binary data file reader. I have saved a data file as 'raw data' from ImageJ to

Re: [Paraview] I can't read a binary 'raw' data image file

2012-11-06 Thread Moreland, Kenneth
This is a bit off the question you asked, but you might consider making a NRRD header file, which is a simple text file that provides the information you normally have to enter by hand in the raw file reader (http://teem.sourceforge.net/nrrd/). I like using NRRD headers so that I don't have to

[Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Hi, Hope you can help. I have some code running in parallel, that by other means I have constructed nprocs worth of vtkRectilinearGrids, one per process. Each of which is a valid nprocs-worth of the whole serial mesh, I've check this and I am happy with that i.e. it's partitioned properly and

Re: [Paraview] I can't read a binary 'raw' data image file

2012-11-06 Thread Robert.Atwood
Thanks, that NRRD is good to know about as a workaround, though I also used MHD in the past. But correctly interpreting the zero-indexed array dimension is a start, I can see some snail shell now Ideally, the best case would be to have the HDF5 reader to read the HDF5 files that we propose

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Moreland, Kenneth
I believe vtkDistributedDataFilter will always return with global point ids (a mapping from local point ids to global point ids), although it might pass them if they already exist. So dd-GetOutput()-GetPointData()-GetGlobalIds() should return the array that gives this mapping. Ghost cells are

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Many thanks for this. So I need to rethink my design such that I extend from a filter so I can obtain the ghost cells? There is no way to obtain them just from dd? I can't do dd-GetGhostCells(processorNumber)? or rgrid-AddGhostCells(dd)? I know I can't do these last two, but that's kind of the

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Another question which I'd forgotten, how do I get to a vtkUnstructuredGrid per processor from the vtkDistributedDataFilter. For instance, dd-GetOutput()-GetPointData()-GetGlobalIds() doesn't work as it's a vtkDataObject Stupid question I'm sure but the doxy notes say this type returns an

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Moreland, Kenneth
You might try something like dd-GetExecutive()-GetOutputInformation(0)-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(), 1) before calling Update (but maybe after calling UpdateInformation). This might work, but I'm not sure if the value you set will be overridden by the

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Moreland, Kenneth
You should be able to do a vtkUnstructuredGrid::SafeDownCast() to the data to get the unstructured mesh (and access to the point data). -Ken From: Andrew Parker andy.john.par...@googlemail.commailto:andy.john.par...@googlemail.com Date: Tuesday, November 6, 2012 9:32 AM To: Kenneth Moreland

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Thanks on both accounts. Any thoughts why the downcast called after dd-Update() on distributedDataFilter is a null pointer? As in, dd is working perfectly properly, but I don't seem to be able to extract a valid unstructuredgrid. For a follow up question I assume getPointData()-GetGlobalIds()

[Paraview] properties and display panels in 3.98.0-RC1

2012-11-06 Thread Felipe Bordeu
Hi, I'm working with ParaView 3.98.0-RC1 and I will like to recover the 3.14 properties and display panel. I think is confusing. The properties panel is unique for each filter but the display panel can be different, if 2 views are used. Also normaly I put all the panel in one screen and the

[Paraview] Converting an XML colour scale to a list for RGBPoints in batch

2012-11-06 Thread Joe Borġ
In the GUI, this is easy, you just click Edit color map - Choose preset - Import, select the xml file and you're away. I can't seem to be able to do this in batch though. Is there any way I can? Regards, Joseph David Borġ http://www.jdborg.com ___

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Moreland, Kenneth
Perhaps it is outputting a composite data set of some type? Try running GetClassName() to see what type of data object it really is. -Ken From: Andrew Parker andy.john.par...@googlemail.commailto:andy.john.par...@googlemail.com Date: Tuesday, November 6, 2012 9:50 AM To: Kenneth Moreland

Re: [Paraview] Can you use bands in colour maps?

2012-11-06 Thread David Thompson
Hi Joe, By default, all the colour maps in ParaView are continuous between points. I'd like to have only one colour in between points I set in the XML map, is this possible? In the current release of ParaView, you can click on the Edit color map button in the toolbar and turn on Use

[Paraview] multicore cpu burn

2012-11-06 Thread ross hennessy
Hi, I'm using paraview version 3.14.1 64-bit on Windows 7. I have an issue that whenever I set Use Multi-Core to on and restart, I get four instances of pvserver, which burn my CPU's (eg. I haven't even started doing anything with paraview yet, and it doesn't seem to matter how long I wait it