| 309 | } |
| 310 | |
| 311 | void MultiViewBase::captureView(const std::string & subviewName, const std::string & path, const std::string & filename) |
| 312 | { |
| 313 | if (_subViews.count(subviewName)) { |
| 314 | captureView(_subViews[subviewName], path, filename); |
| 315 | } |
| 316 | else if (_ibrSubViews.count(subviewName)) { |
| 317 | captureView(_ibrSubViews[subviewName], path, filename); |
| 318 | } |
| 319 | else { |
| 320 | SIBR_WRG << "No View in the MultiViewManager with " << subviewName << " as a name!" << std::endl; |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | void MultiViewBase::captureView(const SubView & view, const std::string& path, const std::string & filename) { |
| 325 | |