| 164 | } |
| 165 | |
| 166 | void ViewerWidget::deleteCameraPath(int id) { |
| 167 | if(camera()->keyFrameInterpolator(id)) { |
| 168 | disconnect(camera()->keyFrameInterpolator(id), SIGNAL(interpolated()), this, SLOT(update())); |
| 169 | disconnect(camera()->keyFrameInterpolator(id), SIGNAL(interpolated()), this, SLOT(cameraPathInterpolated())); |
| 170 | disconnect(camera()->keyFrameInterpolator(id), SIGNAL(endReached()), this, SLOT(cameraPathFinished())); |
| 171 | camera()->deletePath(id); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | void ViewerWidget::appendToCameraPath(int id, const octomath::Pose6D& pose) { |
| 176 | qglviewer::Vec position(pose.trans().x(), pose.trans().y(), pose.trans().z()); |
nothing calls this directly
no test coverage detected