VTKFIG  0.20.20181114
Easy VTK based in situ visualization
virtual void vtkfig::internals::MyInteractorStyle::OnLeftButtonDown ( )
inlinevirtual

Overwrite left button down.

If edit mode is active, catch mouse position, otherwisw pass to base class

Definition at line 300 of file vtkfigMainThread.cxx.

301  {
302 
303 
306  if (this->edit_mode)
307  {
308  this->left_button_down=true;
309  lastx=this->Interactor->GetEventPosition()[0];
310  lasty=this->Interactor->GetEventPosition()[1];
311  }
312  else
313  vtkInteractorStyleTrackballCamera::OnLeftButtonDown();
314  }