------------------------------------------------------------------------------ Interaction methods ------------------------------------------------------------------------------
| 666 | // Interaction methods |
| 667 | //------------------------------------------------------------------------------ |
| 668 | void vtkVRInteractorStyle::ProbeData(vtkEventDataDevice controller) |
| 669 | { |
| 670 | // Invoke start pick method if defined |
| 671 | this->InvokeEvent(vtkCommand::StartPickEvent, nullptr); |
| 672 | |
| 673 | if (!this->HardwareSelect(controller, false)) |
| 674 | { |
| 675 | return; |
| 676 | } |
| 677 | |
| 678 | // Invoke end pick method if defined |
| 679 | if (this->HandleObservers && this->HasObserver(vtkCommand::EndPickEvent)) |
| 680 | { |
| 681 | this->InvokeEvent(vtkCommand::EndPickEvent, this->HardwarePicker->GetSelection()); |
| 682 | } |
| 683 | else |
| 684 | { |
| 685 | this->EndPickCallback(this->HardwarePicker->GetSelection()); |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | //------------------------------------------------------------------------------ |
| 690 | void vtkVRInteractorStyle::PositionProp(vtkEventData* ed, double* lwpos, double* lwori) |
no test coverage detected