[Neuroimaging] [Dipy] VTK animation of tractography

Paolo Avesani avesani at fbk.eu
Fri Mar 10 12:32:46 EST 2017


I need to prepare the animation for the end of next week.
I'm planning to work during this weekend, therefore I would proceed with an
older branch.
The timer callback seems to fit my goal.

Best
Paolo

On Thu, Mar 9, 2017 at 7:06 PM, Eleftherios Garyfallidis <elef at indiana.edu>
wrote:

> Hi Paolo,
>
> The new user interface allows that. You could have buttons that can hide
> objects or manipulate other objects.
> Also you can have a timer callback which can allow you to animate.
>
> How urgently you need this feature? We can either give you some older
> branches that show you how to animate
> or you can wait until all the UI components are in place. It all depends
> if you want a quick solution or a long term
> solution.
>
> Best regards,
> Eleftherios
>
>
>
>
>
> On Thu, Mar 9, 2017 at 12:58 PM Paolo Avesani <avesani at fbk.eu> wrote:
>
>> I need to prepare an animated visualization of tractography.
>> The main objective is to show sequentially some intermediate steps of
>> processing of tractography.
>>
>> For example a sequence of three scenes: (i) the visualization of the
>> whole tractogram, (ii) the visualization of a ROI, (iii) the visualization
>> of the streamlines selected by the ROI and the hide of the remaining ones.
>>
>> I had in mind to use the VTK support of Dipy. The issue I'm facing with
>> is that once rendered and showed the scene, it is no more possible to
>> incrementally revise the objects to be rendered. I need to "destroy" the
>> window before to build the next scene. It affects the perception of
>> "animation".
>>
>> Is there a "simple" way to visualize/hide objects in the window after the
>> "show" command?
>> Currently after the "show" command, the listener doesn't release the
>> prompt for new commands.
>>
>> Other solutions are equally welcome.
>> Paolo
>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging
>>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>


-- 
-------------------------------------------------------
Paolo Avesani
Fondazione Bruno Kessler
via Sommarive 18,
38050 Povo (TN) - I
phone:   +39 0461 314336
fax:        +39 0461 302040
email:     avesani at fbk.eu
web:       avesani.fbk.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20170310/38b95287/attachment.html>


More information about the Neuroimaging mailing list