[Paraview] Automating slicing in Paraview

Berk Geveci berk.geveci at kitware.com
Tue Jan 12 07:01:21 EST 2010


One possibility is to write a Python script that create n filters, one
for each slice. You can then use the visibility setting to move
between slices. Another one is to setup an animation that has n frames
and set the right offset value for each frame. You can then use the
animation controls to move back and forth between slices.

-berk

On Fri, Jan 8, 2010 at 4:58 PM, Lester Anderson
<lester_anderson1963 at hotmail.com> wrote:
> Hi David
>
> Thanks for the information. I have just applied the filter and set the
> offsets giving a view of several slices through the volume. However, there
> is no way to move through the slices applied: the slice section of the
> display option is not selectable. What I need is to be able to scroll
> through the slices I want and go to the spreadsheet view and output the data
> as a CSV file. Althought the view has multiple slices visbile, I was
> expecting to see indiviual slices selectable somehow. Have I missed a step
> here?
>
> Regards
>
> Lester
>
>> From: dave.demarle at kitware.com
>> Date: Fri, 8 Jan 2010 12:11:25 -0500
>> Subject: Re: [Paraview] Automating slicing in Paraview
>> To: lester_anderson1963 at hotmail.com
>> CC: paraview at paraview.org
>>
>> That is what the slice offset values control is for. Apply the slice
>> filter and fill that with as many offsets as you want.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-371-3971 x109
>>
>>
>>
>> On Fri, Jan 8, 2010 at 12:02 PM, Lester Anderson
>> <lester_anderson1963 at hotmail.com> wrote:
>> > Hello all
>> >
>> > A quick question. Is it possible to generate a series of slices through
>> > a 3D
>> > volume at different levels automatically? I have a dataset which has
>> > data
>> > from -40km to -400 km, and I would like to take slices at say 50km,
>> > 100km,
>> > 150km etc to 400km (Z).
>> >
>> > At the moment it appears I have to do this one layer at a time.
>> >
>> > Using Paraview 3.6.1 (Windows version)
>> >
>> > Lester
>> >
>> > ________________________________
>> > Do you have a story that started on Hotmail? Tell us now
>> > _______________________________________________
>> > 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
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
> ________________________________
> We want to hear all your funny, exciting and crazy Hotmail stories. Tell us
> now
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list