[vtkusers] new and improved vtkImagePlaneWidget

Dean Inglis dean.inglis at on.aibn.com
Fri Aug 16 14:50:40 EDT 2002


Hi,

for those of you interested in this widget, it now has the ability to do
arbitrary oblique slicing of 3D image data. Changes to mouse use are:

1) left button does cross-hair cursoring: the cross-hairs snap to slice
plane pixel centres.  The code to do this is substantially different from
what was there before: it seems to work for most oblique slice orientations
I have tried.  If anyone can show me a better (more accurate) way to do this
I would be grateful.

2) middle mouse button does pushing, spinning and rotating.  There are now
invisible 'margins' on the slice plane: currently 5% of the in-plane x and y
dimensions.  Picking on the left or right margin rotates the plane around
the local y prime axis.  Similarly, picking on the top or bottom margin
rotates the plane around the local x prime axis.  Picking one of the four
corners of the plane spins the plane around it's normal.  Picking inside of
the margins does a standard push along the current plane normal.

3) right button does window/level.

Any thoughts or criticisms are always welcome ... enjoy!

Dean

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Inglis, Ph.D.
Clinical Research Unit
25 Charlton Avenue East, Unit 610
Hamilton, ONT, L8N 1Y2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the vtkusers mailing list