------------------------------------------------------------------------------
| 83 | |
| 84 | //------------------------------------------------------------------------------ |
| 85 | void vtkInteractorStyleUser::OnKeyPress() |
| 86 | { |
| 87 | if (this->HasObserver(vtkCommand::KeyPressEvent)) |
| 88 | { |
| 89 | this->ShiftKey = this->Interactor->GetShiftKey(); |
| 90 | this->CtrlKey = this->Interactor->GetControlKey(); |
| 91 | this->KeySym = this->Interactor->GetKeySym(); |
| 92 | this->Char = this->Interactor->GetKeyCode(); |
| 93 | this->InvokeEvent(vtkCommand::KeyPressEvent, nullptr); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | //------------------------------------------------------------------------------ |
| 98 | void vtkInteractorStyleUser::OnKeyRelease() |
nothing calls this directly
no test coverage detected