[vtk-developers] vtkBoxWidget2 enable/disable interactions

Dean Inglis dean.inglis at sympatico.ca
Fri Dec 12 11:21:15 EST 2008


vtkBoxWidget2 has ivars:

  int TranslationEnabled;

  int ScalingEnabled;

  int RotationEnabled;

 

which I assume are meant to enable/disable

different forms of interaction, but currently

these ivars are not used.  In vtkBoxWidget2

there are SelectAction, TranslateAction

MoveAction and ScaleAction but no RotateAction:

rotation is decided at the representation level.

Would it be workable to have the representation

decide what forms of interaction are possible

by polling the parent widget within its 

ComputeInteractionState method?  If so, are

there any objections to implementing the use

of the above Enable ivars?

 

Dean

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20081212/af0dc430/attachment.html>


More information about the vtk-developers mailing list