| 141 | } |
| 142 | |
| 143 | void vtkVRRenderWindow::SetModelForDeviceHandle(uint32_t handle, vtkVRModel* model) |
| 144 | { |
| 145 | auto found = this->DeviceHandleToDeviceDataMap.find(handle); |
| 146 | if (found == this->DeviceHandleToDeviceDataMap.end()) |
| 147 | { |
| 148 | this->DeviceHandleToDeviceDataMap[handle] = {}; |
| 149 | found = this->DeviceHandleToDeviceDataMap.find(handle); |
| 150 | } |
| 151 | found->second.Model = model; |
| 152 | } |
| 153 | |
| 154 | vtkVRModel* vtkVRRenderWindow::GetModelForDevice(vtkEventDataDevice idx) |
| 155 | { |
no test coverage detected