[vtkusers] Disabling features of vtkPlaneWidget

Kevin Funk kevin.funk at kdab.com
Thu Feb 28 04:12:55 EST 2013


Hey there,

We're using vtkPlaneWidget to show manipulation handles of a data set slice. 
This works fine, however, the data set we are viewing does only allow 
orthogonal slices, that means sections only along either the X,Y or Z axis.

Hence, we do not want/need the ability to rotate or even spin the plane 
around. While it is rather easy to just hide the actors for the normal line 
(which makes it impossible to rotate the plane with the mouse), it is not 
easily possible to disallow spinning because this is triggered with keyboard 
interaction.

Does anyone have any tips in how to disable those features in vtkPlaneWidget?
I've looked at vtkPlaneWidget.cxx and it looks like this would require some 
additional code in there to achieve my intended behavior.

Any suggestions?

Greets

-- 
Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions



More information about the vtkusers mailing list