[Paraview] Import a four-dimensional array and "slice" one dimension to plot in 3D

Frederic Perez fredericperez1 at gmail.com
Fri Feb 17 12:31:33 EST 2017


Thank you for this suggestion.

I have been looking at programmable sources, and although they are new
to me, I think I have found a few issues for my objective:
- I seem unable to import a few python packages that I know I can
import in a usual python command.
- I can't find a way to have this programmable source saved as a file,
so that other people can use it.
- If people want to have more flexibility using my programmable
source, they need to get their hands in the code, which is precisely
what I am trying to avoid.

Are there solutions to these issues? Or should I simply go make a
plugin, instead of a programmable source?

Cheers
Fred



2017-02-16 15:09 GMT+01:00 Cory Quammen <cory.quammen at kitware.com>:
> Hi Fred,
>
> Nothing built-in comes to mind to handle 4D data this way, but you
> could potentially write a Programmable Source to read the file and do
> the slicing. This would be similar to writing an external program to
> extract a 3D hyperplane, but you could at least refine the hyperplane
> definition within the Programmable Source and update the results
> "live" in ParaView.
>
> HTH,
> Cory
>
> On Wed, Feb 15, 2017 at 5:10 PM, Frederic Perez
> <fredericperez1 at gmail.com> wrote:
>> Hi all,
>>
>> Is there a way to import (any format) a 4D array in paraview, then to
>> slice one of the dimensions (i.e. use only one 3D hyperplane), and
>> plot the remaining 3D array with paraview's volume rendering?
>>
>> I know I could manipulate the data to make it 3D before using it in
>> Paraview, but I was looking for a way to do this directly.
>>
>> Cheers
>> Fred
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.


More information about the ParaView mailing list