------------------------------------------------------------------------------
| 110 | |
| 111 | //------------------------------------------------------------------------------ |
| 112 | void vtkInteractorStyleUser::OnChar() |
| 113 | { |
| 114 | // otherwise pass the OnChar to the vtkInteractorStyle. |
| 115 | if (this->HasObserver(vtkCommand::CharEvent)) |
| 116 | { |
| 117 | this->ShiftKey = this->Interactor->GetShiftKey(); |
| 118 | this->CtrlKey = this->Interactor->GetControlKey(); |
| 119 | this->Char = this->Interactor->GetKeyCode(); |
| 120 | |
| 121 | this->InvokeEvent(vtkCommand::CharEvent, nullptr); |
| 122 | } |
| 123 | else |
| 124 | { |
| 125 | this->vtkInteractorStyle::OnChar(); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | //------------------------------------------------------------------------------ |
| 130 | void vtkInteractorStyleUser::OnRightButtonDown() |
nothing calls this directly
no test coverage detected