MCPcopy Create free account
hub / github.com/OctoMap/octomap / addToCameraPath

Method addToCameraPath

octovis/src/CameraFollowMode.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void CameraFollowMode::addToCameraPath() {
113 emit addCurrentToCameraPath(CAMERA_PATH_ID, m_current_cam_frame-1);
114 m_number_cam_frames++;
115 if(m_number_cam_frames == 1) m_current_cam_frame = 1;
116 else m_current_cam_frame++;
117 emit frameChanged(m_current_cam_frame);
118 emit changeNumberOfFrames(m_number_cam_frames);
119}
120
121void CameraFollowMode::removeFromCameraPath() {
122 if(m_number_cam_frames>0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected