[Insight-users] Re: Fltk sliceview KEYUP problem -- solved.
Julien Jomier
jjomier@cs.unc.edu
Fri, 31 Jan 2003 12:30:38 -0500
Feng,
I just checked in your new feature.
You can control the values using:
SetFastMoveValue(int val);
SetSetFastMoveThresh(int val);
Default values are MoveValue = 1 and ThresValue = 10;
Note that this is working with FLTK 1.1.2 on windows only.
We'll have to wait for the next (1.1.3 or 1.1.4) FLTK release for this
to work on linux.
I just received an email from the FLTK folks:
" > Is there a way to include a fix in the next release ?
I don't know if it will go into 1.1.3; if not, 1.1.4 for sure.
> Do you know (approximately) when the new release is expected ?
I have been preparing the 1.1.3 release for about a week now; it
should be out soon. "
Thanks again for your contribution !
Julien
> -----Original Message-----
> From: insight-users-admin@public.kitware.com
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of
> Stephen R. Aylward
> Sent: Thursday, January 30, 2003 11:47 PM
> To: Feng Ma
> Cc: insight-users@public.kitware.com
> Subject: [Insight-users] Re: Fltk sliceview KEYUP problem -- solved.
>
>
> Hi,
>
> That is great that you have it working!
>
> I think we better not make it part of itk until it can be
> used without
> modifying FLTK - it could be confusing to others.
>
> Once FLTK 2.0 becomes the official version of fltk, we'd really
> appreciate your code.
>
> Thanks,
> Stephen
>
> Feng Ma wrote:
> > Hi, Aylward:
> >
> > I hacked fltk 1.1 referencing fltk 2.0 and solve the KEYUP
> problem in
> > fltk. I got the correct KEYUP event in SliceViewer. So, I
> added in the
> > "fast moving" feature I mentioned a couple of days ago:
> when ">" or "<"
> > key is pressed for some time, the image will scroll faster
> than 1 slice
> > each time. If the key is released, the moving pace will
> restore to 1.
> > The reason for that change is: if you hold the key down for
> a long time,
> > mostly probably you are browing images. So you don't have
> to view every
> > image. When you found something interesting, release the
> key, then you
> > can view images more carefully (one slice each key stroke).
> >
> > If you or anyone like to have that, I will email you the
> code changes
> > I
> > made. Thanks.
> >
> > -Feng
> >
> >
> > _________________________________________________________________
> > The new MSN 8: smart spam protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
>
>
> --
> ===============================================
> Dr. Stephen R. Aylward
> Assistant Professor of Radiology
> Adjunct Assistant Professor of Computer Science
http://caddlab.rad.unc.edu aylward@unc.edu
(919) 966-9695
_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users