------------------------------------------------------------------------------
| 150 | } |
| 151 | //------------------------------------------------------------------------------ |
| 152 | void vtkInteractorStyleUser::OnRightButtonUp() |
| 153 | { |
| 154 | if (this->HasObserver(vtkCommand::RightButtonReleaseEvent)) |
| 155 | { |
| 156 | int x = this->Interactor->GetEventPosition()[0]; |
| 157 | int y = this->Interactor->GetEventPosition()[1]; |
| 158 | this->CtrlKey = this->Interactor->GetControlKey(); |
| 159 | this->ShiftKey = this->Interactor->GetShiftKey(); |
| 160 | this->LastPos[0] = x; |
| 161 | this->LastPos[1] = y; |
| 162 | this->InvokeEvent(vtkCommand::RightButtonReleaseEvent, nullptr); |
| 163 | this->OldPos[0] = x; |
| 164 | this->OldPos[1] = y; |
| 165 | } |
| 166 | else |
| 167 | { |
| 168 | this->vtkInteractorStyle::OnRightButtonUp(); |
| 169 | } |
| 170 | |
| 171 | if (this->Button == 3) |
| 172 | { |
| 173 | this->Button = 0; |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | //------------------------------------------------------------------------------ |
| 178 | void vtkInteractorStyleUser::OnMouseWheelForward() |
nothing calls this directly
no test coverage detected