void Zoom3D::EndMiddleButtonAction() { EndZoom(); EndBoundingBox(); IssueViewCallback(); }
void Zoom3D::AbortLeftButtonAction() { if (ctrlOrShiftPushed) { EndBoundingBox(); EndPan(); } else { EndRubberBand(); EndZoom(); } }
void Zoom3D::AbortLeftButtonAction() { if (shiftPressed) { EndBoundingBox(); EndPan(); shiftPressed = false; } else { EndRubberBand(); EndZoom(); } }
void FlyThrough::EndLeftButtonAction() { // // We must issue the proper end state for either pan or rotate depending // on whether the shift or ctrl button was pushed. // if (ctrlOrShiftPushed) { EndPan(); } else { EndRotate(); EnableSpinMode(); } EndBoundingBox(); IssueViewCallback(); }
void Zoom3D::EndLeftButtonAction() { // We must issue the proper end state for either pan or rotate // depending on whether the shift or ctrl button was pushed. The // shift left mouse pan action matches the Navigate2D/3D modes. if (shiftPressed) { EndBoundingBox(); EndPan(); shiftPressed = false; } else { EndRubberBand(); ZoomCamera(); EndZoom(); } EnableSpinMode(); IssueViewCallback(); }