void
NavigateAxisArray::StartMiddleButtonAction()
{
    shiftKeyDown = Interactor->GetShiftKey();
    controlKeyDown = Interactor->GetControlKey();

    StartDolly();
}
Example #2
0
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();
}
Example #4
0
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 ();
}
Example #5
0
void
NavigateCurve::StartMiddleButtonAction()
{
    StartDolly();
}