MCPcopy Create free account
hub / github.com/Kitware/VTK / GetDeviceHandleForDevice

Method GetDeviceHandleForDevice

Rendering/VR/vtkVRRenderWindow.cxx:186–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186uint32_t vtkVRRenderWindow::GetDeviceHandleForDevice(vtkEventDataDevice idx, uint32_t index)
187{
188 for (auto& deviceData : this->DeviceHandleToDeviceDataMap)
189 {
190 if (deviceData.second.Device == idx && deviceData.second.Index == index)
191 {
192 return deviceData.first;
193 }
194 }
195 return InvalidDeviceIndex;
196}
197
198uint32_t vtkVRRenderWindow::GetNumberOfDeviceHandlesForDevice(vtkEventDataDevice dev)
199{

Callers 4

GetModelForDeviceMethod · 0.95
InitControlPositionMethod · 0.80
GetOpenVRPoseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected