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

Method GetModelForDeviceHandle

Rendering/VR/vtkVRRenderWindow.cxx:160–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160vtkVRModel* vtkVRRenderWindow::GetModelForDeviceHandle(uint32_t handle)
161{
162 auto found = this->DeviceHandleToDeviceDataMap.find(handle);
163 if (found == this->DeviceHandleToDeviceDataMap.end())
164 {
165 return nullptr;
166 }
167 return found->second.Model;
168}
169
170vtkMatrix4x4* vtkVRRenderWindow::GetDeviceToPhysicalMatrixForDevice(vtkEventDataDevice idx)
171{

Callers 3

GetModelForDeviceMethod · 0.95
RenderModelsMethod · 0.80
RenderModelsMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected