[vtk-developers] 3D widget changes

Will Schroeder will.schroeder at kitware.com
Fri Sep 6 07:38:55 EDT 2002


Hi Dean-

One thing that you might want to try. Ken added a vtkScalarBarWidget that 
lets you grab, move, and resize a scalar bar. It automatically senses where 
it is in the window and flips from vertical to horizontal. One very nice 
feature that Ken added was that the cursor changes shape (e.g., from the 
usual mouse arrow to x-y translation arrows, etc.) to indicate to the user 
what can be done at that point. You might try adding this in to your image 
plane widget....it would let users know when the margins are entered, etc. 
I suppose that it would require some continuous picking on mouse move but 
the picking is probably fast enough (if you pick from a pick list) to 
support this.

Will

At 03:55 PM 9/5/2002 -0400, dean.inglis at on.aibn.com wrote:
>Hi,
>
>this is welcome news Will.  I have a spline
>widget with sphere handles where this would be most
>helpful.  As noted, vtkImagePlaneWidget doesn't have handles per se: the 
>margins are set at a fixed %ge of the size of the plane (5%).  In a multi-
>widget app, it may be useful to revert to size
>based on the renderer's diagonal...also, currently
>margins scale in size as the plane is scaled
>(ctrl+middle button or shift+middle button).  If
>anyone would like to see an absolute(?) fixed(?)
>margin size option I could work it out.




More information about the vtk-developers mailing list