void NavigateAxisArray::StartMiddleButtonAction() { shiftKeyDown = Interactor->GetShiftKey(); controlKeyDown = Interactor->GetControlKey(); StartDolly(); }
void cv::viz::InteractorStyle::zoomOut() { FindPokedRenderer(Interactor->GetEventPosition()[0], Interactor->GetEventPosition()[1]); // Zoom out StartDolly(); double factor = 10.0 * -0.2 * .5; Dolly(std::pow(1.1, factor)); EndDolly(); }
void vtkInteractorStyleQuench::Notify() { if(IsRunning() == false) return; // Stop the timer Stop(); StartDolly(); }
void pcl::visualization::PCLVisualizerInteractorStyle::zoomOut () { FindPokedRenderer (Interactor->GetEventPosition ()[0], Interactor->GetEventPosition ()[1]); // Zoom out StartDolly (); double factor = 10.0 * -0.2 * .5; Dolly (pow (1.1, factor)); EndDolly (); }
void NavigateCurve::StartMiddleButtonAction() { StartDolly(); }