[Paraview] picking/widgets, events, ImageData -> plots
Randy Heiland
heiland at indiana.edu
Mon Nov 1 16:46:11 EDT 2010
Utkarsh,
I've updated that page (http://mypage.iu.edu/~heiland/pv-stuff/) with my latest playing around. Basically, I discovered the "Plot Over Line" filter which does sort of what I want - ability to plot a row in an ImageData. However, I have a few questions:
1) why doesn't the plot dynamically update as I move (or as I move and then release the picked line source)? It almost seems to update at random. Does this have something to do with my PV Settings? I do have "Auto Accept" on.
2) is there some way to constrain the line source to take on only integer Y values? Basically, I only want to plot the exact values within the ImageData, no interpolation.
3) Instead of the Plot Over Line, I tried to use a VOI filter on the ImageData, thinking I might be able to extract just the row I wanted to plot, but saw that I am not allowed to specify a 1-D VOI.
thanks, Randy
On Oct 27, 2010, at 2:02 PM, Utkarsh Ayachit wrote:
> So what are you plotting in the plot view? Directly the data that's
> being selected or are you applying some other filter and then that's
> shown in the plot view?
>
> Can you create your pipeline/view setup in ParaView itself and send me
> the screenshot. That will clarify the pipelines you're using.
>
> Utkarsh
>
> On Wed, Oct 27, 2010 at 11:59 AM, Randy Heiland <heiland at indiana.edu> wrote:
>> Time frame? I'm an academic. And you're offering free, open source software. :) Let's just say +1 to a request list.
>>
>> But beyond the selection functionality, is there some way to (dynamically) connect the selection to update a 2-D plot? I can (sort of) already select a row in my ImageData, if I use a 3D view (http://mypage.iu.edu/~heiland/pv-stuff/). But is there some magic to connect that selection to a port, that triggers an update to a plot window, etc?
>>
>> -Randy
>>
>> On Oct 27, 2010, at 12:26 PM, Utkarsh Ayachit wrote:
>>
>>> Randy,
>>>
>>> The 2D view by default uses a texture-based mapper for rendering the
>>> image slice. We haven't implemented the selection capability yet for
>>> this mapper (the same is true if you use slice representation in the
>>> 3D view). What is your time frame for this application? Maybe we can
>>> fast track adding support for selecting on image slices. An
>>> alternative is to create a frustum selection and that should work even
>>> in 2D view with slices.
>>>
>>> Utkarsh
>>>
>>> On Tue, Oct 26, 2010 at 2:08 PM, Randy Heiland <heiland at indiana.edu> wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to evaluate ParaView (3.8.1) as a possible framework/app for a tool we're trying to build (standalone, not client/server). Our tool will primarily vis only static 2D ImageData. We would like the ability to select a region of the ImageData, e.g. select an entire row, and have an X-Y plot be displayed in another window. So, in this use case, one window (ImageData) remains static, but as a new row is selected, another window (plot/chart) is dynamically updated. I'd welcome pointers to docs/examples and suggestions.
>>>>
>>>> I did see this thread on widgets:
>>>> http://paraview.markmail.org/search/?q=mouse+event#query:mouse%20event+page:1+mid:iqhyx3k4ik6sk5ue+state:results
>>>>
>>>> and I was also playing around with the Selection Inspector. However it seems that this only works with a 3D window(?) which is actually something I'd like to avoid, in terms of the freedom to rotate the ImageData about X or Y.
>>>>
>>>> thanks, Randy
>>>> _______________________________________________
>>>> 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