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

Method SetModelForDeviceHandle

Rendering/VR/vtkVRRenderWindow.cxx:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void 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
154vtkVRModel* vtkVRRenderWindow::GetModelForDevice(vtkEventDataDevice idx)
155{

Callers 2

RenderModelsMethod · 0.80
RenderModelsMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected