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

Method GetDeviceToPhysicalMatrixForDeviceHandle

Rendering/VR/vtkVRRenderWindow.cxx:176–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176vtkMatrix4x4* vtkVRRenderWindow::GetDeviceToPhysicalMatrixForDeviceHandle(uint32_t handle)
177{
178 auto found = this->DeviceHandleToDeviceDataMap.find(handle);
179 if (found == this->DeviceHandleToDeviceDataMap.end())
180 {
181 return nullptr;
182 }
183 return found->second.DeviceToPhysicalMatrix;
184}
185
186uint32_t vtkVRRenderWindow::GetDeviceHandleForDevice(vtkEventDataDevice idx, uint32_t index)
187{

Callers 7

UpdateHMDMatrixPoseMethod · 0.80
RenderModelsMethod · 0.80
RenderModelsMethod · 0.80
UpdateHMDMatrixPoseMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected