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

Function handleLoadCamera

Rendering/OpenVR/vtkOpenVRDefaultOverlay.cxx:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void handleLoadCamera(vtkObject* caller, unsigned long eid, void* clientdata, void* /* calldata */)
116{
117 if (eid == vtkCommand::LeftButtonReleaseEvent)
118 {
119 vtkOpenVRDefaultOverlay* ovl = static_cast<vtkOpenVRDefaultOverlay*>(caller);
120 // ovl->ReadCameraPoses();
121 int option = *(reinterpret_cast<int*>(&clientdata));
122 ovl->LoadCameraPose(option);
123 }
124}
125
126void handleShowFloor(vtkObject* caller, unsigned long eid, void* clientdata, void* calldata)
127{

Callers

nothing calls this directly

Calls 1

LoadCameraPoseMethod · 0.80

Tested by

no test coverage detected