I would like to be able to move the vtkBoxWidget2 using the left mouse button instead of the middle mouse button. <br>The left mouse button should still reshape the widget if the mouse is on a handle.<br><br>Changing the code from<br>
<br>this-&gt;CallbackMapper-&gt;SetCallbackMethod(vtkCommand::MiddleButtonPressEvent,<br>                                          vtkWidgetEvent::Translate,<br>                                          this, vtkBoxWidget2::TranslateAction);<br>
  this-&gt;CallbackMapper-&gt;SetCallbackMethod(vtkCommand::MiddleButtonReleaseEvent,<br>                                          vtkWidgetEvent::EndTranslate,<br>                                          this, vtkBoxWidget2::EndSelectAction);<br>
To this<br><br>  this-&gt;CallbackMapper-&gt;SetCallbackMethod(vtkCommand::LeftButtonPressEvent,<br>                                          vtkWidgetEvent::Translate,<br>                                          this, vtkBoxWidget2::TranslateAction);<br>
  this-&gt;CallbackMapper-&gt;SetCallbackMethod(vtkCommand::LeftButtonReleaseEvent,<br>                                          vtkWidgetEvent::EndTranslate,<br>                                          this, vtkBoxWidget2::EndSelectAction);<br>
<br>Did not have the desired results. Basically the widget just highlights when I press the left mouse<br>button.<br><br>Clearly I am missing something.<br clear="all"><br>-- <br><a style="font-family: comic sans ms,sans-serif;" href="http://www.linkedin.com/in/imranhkhan" target="_blank">Imran</a><br>
<br>